This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dat file format in CCS Version 5.4.0.00091

I generated a dat file. It had these lines at the start of the file:

1651 9 88675cac 0 c278 c
00
00
00
00
[...]


CCS help tells me that:

The header information for data files uses this 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: (1) hexadecimal, (2) integer, (3) long, or (4) float.

  • StartingAddress—starting address of the block that was saved.

  • PageNum—page number the block was taken from.

  • Length—number of samples in the block.

Neither the format value of  "9" is documented

nor the trailing "c" is anything that should be there at all

if help was correct and complete.

it seems the TI dat file format header got updated recently. but what do these new values and even fields mean?

  • Hello Alexander,

    The the format did indeed change to support additional data formats/types. Once I find the actual details, I'll let you know.

    Thanks

    ki

  • Don't forget to verify answers ;-)

  • Sorry for the delay and thanks for the reminder.

    You are correct, there as been a recent change in the format. Basically here is a cut & paste from the engineer who provided details:

    "We wanted to get consistency in the formats available to be viewed in the memory browser and the formats available with load/save functions. The memory browser formats are slightly different for each target and support more formats than those available via load/save. The old load/save header was based on a fixed set of data formats, so it needed to be extended. [We] decided to add an additional format FIO_ALL_SUPPORTED_TYPES( all the formats available for this target ) which maps to 9 ( what the user is seeing ) . The last extra parameter is the actual format chosen from all the supported formats for the target .  This approach was taken to maintain backwards compatibility. So, we will still be able to load all the existing files. However, going forward we would not generate any files using the format ( 2, 3, 4, 5 ); these are all subset of the data formats available via FIO_ALL_SUPPORTED_TYPES."

    A bug was filed to correct the documentation. Tracking ID: SDSCM00047732

    Thanks

    ki

  • it seems to me that this is still not updated in the most recent release of CCS 5.5 as installed a few days ago.

    PS: the only google hit for FIO_ALL_SUPPORTED_TYPES is this forum entry. ;-)

  • The update is planned for CCSv6

    Thanks

    ki