完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,
我计划生成我的Hex文件的CRC计算,我想将CRC保存在生成的hex文件的最终内存位置, SPCstudio中是否有任何选项可以使用CRC,这样当IDE生成hex文件时,它可以计算CRC并将其保存在生成的Hex文件的结束位置, 在闪存到电路板时,我们可以删除CRC字节并闪存hex文件, 请告诉我在SPCstdio中是否有任何启用选项。 提前致谢, --- 谢谢&问候, Mujeeb #crc#spc5 以上来自于谷歌翻译 以下为原文 Hi All, I am planning to have CRC calculation for my Hex file generated and i want to keep that CRC at the end memory location of hex file generated , Is there any option in SPCstudio to enbale CRC so that when IDE is generating hex file it can calculate the CRC and keep it at the end location of the generated Hex file, while flashing to the board we can remove that CRC bytes and flash the hex file, Please let me know is there any option to enable in SPCstdio. Thanks in advance, --- Thanks & Regards, Mujeeb #crc #spc5 |
|
相关推荐
3个回答
|
|
你好Mujeeb,
抱歉,我们在SPC5Studio中没有测试应用程序,它会生成hex文件的校验和。 我会使用srecord。 https://mcuoneclipse.com/2015/04/26/crc-checksum-generation-with-srecord-tools-for-gnu-and-eclipse/ http://www.avrfreaks.net/forum/tutgccadding-crc-and-app-length-hex-files 最好的祝福 二万 以上来自于谷歌翻译 以下为原文 Hello Mujeeb , Sorry, we have not a test application in SPC5Studio which generates the checksum of the hex file. i would use srecord for that. https://mcuoneclipse.com/2015/04/26/crc-checksum-generation-with-srecord-tools-for-gnu-and-eclipse/ http://www.avrfreaks.net/forum/tutgccadding-crc-and-app-length-hex-files Best regards Erwan |
|
|
|
嗨二湾,
感谢您的答复, 根据我的理解,Srecord是单独的实用程序,如何将此实用程序添加到SPCstdio,如果无法添加我们如何使用srecord standalone, 在链接中提供的任何内容( /external-link.jspa?url=https%3A%2F%2Fmcuoneclipse.com%2F2015%2F04%2F26%2Fcrc-checksum-generation-with-srecord-tools-for-gnu-and-eclipse%2F )是针对Kinetis Design Studio(MCU是基于ARM的)但是在我的情况下SPC560B不是基于ARM的,所以如何使用Srecord for SPC560B系列不是基于ARM的,请你在这方面帮助我,这对我来说真的很有帮助我。 提前致谢, 谢谢&问候, Mujeeb。 注意:原始帖子包含大量线程对话,只能迁移到第9级 以上来自于谷歌翻译 以下为原文 Hi Erwan, Thanks for your response, As per my understanding Srecord is separate utility,How to add this utility to SPCstdio,if it is not possible to add how we can use srecord standalone, In link whatever provided by you ( /external-link.jspa?url=https%3A%2F%2Fmcuoneclipse.com%2F2015%2F04%2F26%2Fcrc-checksum-generation-with-srecord-tools-for-gnu-and-eclipse%2F )is for Kinetis Design Studio(MCU is ARM based) but in my case SPC560B is not ARM based so how to use Srecord for SPC560B family which is not ARM based can you please help me in this regards,it will be really very helpful to me. Thanks in advance, Thanks & Regards, Mujeeb. Note: the original post contained a large number of threaded conversations and was only able to be migrated to the 9th level |
|
|
|
你好Mujeeb,
对于此任务,您需要一个单独的实用程序来计算校验和,并通过在链接过程中更新makefile来将其重新集成到elf中。 它与MPC56的精神相同 https://community.nxp.com/docs/DOC-329541 在二进制目录(freevle-gcc插件)中,您可以使用所有工具。 (使用objcopy) http://stackoverflow.com/questions/24150030/storing-crc-into-an-axf-elf-file 最好的祝福 二万 以上来自于谷歌翻译 以下为原文 Hello Mujeeb , For this task , you need a separate utility to calculate a checksum and to reintegrate it in the elf by updating your makefile during link procedure. it is the same spirit for MPC56 https://community.nxp.com/docs/DOC-329541 in the binary directory (freevle-gcc plugins) you have all the tools to do that. (use objcopy) http://stackoverflow.com/questions/24150030/storing-crc-into-an-axf-elf-file Best Regards Erwan |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2632 浏览 1 评论
3208 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1783 浏览 1 评论
3607 浏览 6 评论
5987 浏览 21 评论
939浏览 4评论
1315浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
582浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1302浏览 3评论
1357浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 06:03 , Processed in 1.031690 second(s), Total 81, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号