码迷,mamicode.com
首页 > 其他好文 > 详细

【DSP】CCS中.dat文件的格式

时间:2014-12-07 17:45:13      阅读:237      评论:0      收藏:0      [点我收藏+]

标签:style   http   io   ar   os   sp   for   on   文件   

转自“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

【DSP】CCS中.dat文件的格式

标签:style   http   io   ar   os   sp   for   on   文件   

原文地址:http://www.cnblogs.com/ykyimin/p/4149599.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!