RedIntelHex:
Filter:
Classes (extension) | Red > redTools

RedIntelHex : Object
ExtensionExtension

read and decode intel hex files

Description

See http://en.wikipedia.org/wiki/Intel_HEX and http://www.sbprojects.com/knowledge/fileformats/intelhex.php

Class Methods

RedIntelHex.read(path)

Instantiate, read and decode a .hex file.

Arguments:

path

Path to file as a String.

Inherited class methods

Instance Methods

.read(path)

Read and decode a .hex file.

Arguments:

path

Path to file as a String.

.data

After a successful read, this returns the raw data.

Returns:

An Array with raw data - no addresses.

.addressData

After a successful read, this contains the data with addresses.

NOTE: Addresses are normally not needed. Use the -data method instead.

Returns:

An Array of arrays in the format of [address, [data]].

.hexFormatString

Mainly for display.

Returns:

A long String with the address and data as hexadecimal numbers.

Inherited instance methods

Examples