beautypg.com

Dataman 40Pro User Manual

Page 77

background image

PG4UW

77

ASCII SPACE format
Very simple hex file format similar as ASCII HEX without checksum field, without start (STX)
and end (ETX) characters. Each data byte is represented as 2 hexadecimal characters, and
is separated by white space from all other data bytes. The address field is separated by white
space from data bytes. The address is set by using a sequence of 4-8 hex characters.

Here is an example of ASCII SPACE file. It contains the data "Hello, World" to be loaded at
address 0x1000:
0001000 48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 0A

Straight HEX format
Very simple hex file format similar as ASCII HEX without address and checksum fields,
without start (STX) and end (ETX) characters. Each data byte is represented as 2
hexadecimal characters, and is separated by white space from all other data bytes.

Here is an example of Straight HEX file. It contains the data "Hello, World":
48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 0A

Samsung HEX format
Samsung HEX file format is slight modification of Intel HEX format, therefore in the software
is recognized and indicated as Intel HEX file format.

Note for special x16 formats:
Intel HEXx16 is Intel Hex file format with 16 bits data word for TMS320F devices.
Motorola HEXx16 is Motorola file format with 16 bits data word for TMS320F devices.

Checking the check box Automatic file format recognition tells program to detect file format
automatically. When program can't detect file format from one of supported formats, the
binary file format is assumed.

When the check box Automatic file format recognition is unchecked program allows user
to manually select wished file format from list of available file formats on panel Selected file
format
. Default set is from Options / General options in panel Load file format at tab File
options
.

Attention: Program doesn't know recognize files in ASCII Hex format automatically, it
recognizes them as binary. So download files in ASCII Hex format with disabled option for
automatic file format recognition.

Panel Additional operation

Checking the check box Erase buffer before loading tells the program to erase all buffer
data using entered Erase value. Buffer erase is performed immediately before reading file
content to buffer and it is functional for binary and all HEX file formats. Using this one-shot
setting disables current setting of Erase buffer before loading option in menu Options /
General options
at tab Hex file options.

If the checkbox Swap bytes is displayed, the user can activate function of swapping bytes
within 16bit words (or 2-byte words) during reading of file. This feature is useful especially
when loading files with Motorola representation of byte order in file (big endian). Standard
load file is using little endian byte order.

This manual is related to the following products: