完善资料让更多小伙伴认识你,还能领取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的所有资料。 |
|
|
|
|
只有小组成员才能发言,加入小组>>
606 浏览 0 评论
1659 浏览 0 评论
2102 浏览 0 评论
为啥BQ7693003DBTR芯片在和BQ769X0盒子通讯时收不到信号?
1550 浏览 0 评论
DSP 28027F 开发板 XDS100v2调试探针诊断日志显示了 Error -150 (SC_ERR_FTDI_FAIL)如何解决
1393 浏览 0 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
1800浏览 29评论
2827浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
1753浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
1671浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
1686浏览 13评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-17 19:59 , Processed in 0.729861 second(s), Total 76, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2738