完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
我看到CCS的教程上讲通过设置断点,然后改变断点的action属性,选择“read data from file”,可以从主机文件向程序的buffer输入数据。我试了教程上的例子,的确可行。我的问题是,输入文件的格式是什么?我打开例子附带的文件,sine.dat,看到第一行有一串数字"1651 1 0 0 0",我想知道这些是什么意思。如果我自己要构造输入文件,应该怎么写。
|
|
相关推荐
3个回答
|
|
你好:
Code Composer data file A text file that contains one line of header information and stores the data as one sample per line. The memory data can be in any of these formats: Hexadecimal Integer Long Float 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. |
|
|
|
kingnet_52004 发表于 2018-6-21 19:08 谢谢!我找的就是这个。 |
|
|
|
恩,不用客气。在CCS的工具栏中点击help content,可以查看关于ccs的所有资料。 |
|
|
|
只有小组成员才能发言,加入小组>>
473 浏览 0 评论
普中科技F28335开发板每次上电复位后数码管都会显示,如何熄灭它?
335 浏览 1 评论
917 浏览 0 评论
TMS320F28377D:新做了以377d为芯片的板子,上电后芯片复位引脚出现方波请问如何解决?
2090 浏览 0 评论
TPS55340通电后输入端保险丝烧断,芯片输入和GND之间短路
3837 浏览 4 评论
CC3100BOOST使用CC3200lunchXL进行烧录
870浏览 2评论
107浏览 2评论
143浏览 2评论
122浏览 2评论
144浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-9-8 12:24 , Processed in 0.693787 second(s), Total 82, Slave 65 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号