Turn from "http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/168292"
Here are the information on the header:
The header information for data files uses the following syntax:
MagicNumber Format startingaddress pagenum Length
Magicnumber:fixed at 1651.
Format:a number from 1 through 4, indicating the format of the samples in the file. This number represents a data format:hexadecimal, integer, long, or float.
Startingaddress:the starting address of the block that is saved.
Pagenum:the Page Number The block was taken from.
Length:the number of samples in the block.
All header values is assumed to is ti-style hexadecimal values.
The following is an example of a Code Composer Studio data file:
1651 1 800) 1 10
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
Format of the. dat file in "DSP" CCS