完善资料让更多小伙伴认识你,还能领取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 |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1453 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1502 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3649 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
727浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
661浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
941浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 22:33 , Processed in 0.680219 second(s), Total 76, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
2031