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

RedIntelHex
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

.read

Instantiate, read and decode a .hex file.

Arguments:

path

Path to file as a String.

Instance Methods

.read

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.

Examples