转自“http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/168292”
Here is 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 to 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 was saved.
PageNum: The page number the block was taken from.
Length: The number of samples in the block.
All header values are assumed to be 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