完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我已经从刷电子设备获得SD卡引导加载程序。作为一个旁注,他是一个令人敬畏的家伙,愿意帮助打嗝一路上。我正在使用24EP256GP206芯片运行在140MHz。我正试图让SD卡引导加载程序在这个芯片上工作,但是遇到了困难。与其他24系列芯片相比,EP芯片具有不同的寻呼和写入。我使用XC16作为编译器。问题是,当用引导加载程序编写时,它似乎正在擦除重置向量,而不能正确地替换它们。我们已经解决了一些问题,我们覆盖了很多东西,并没有结束任何类似于它应该做的事情。现在Bootloader正在保持机智,它将PGM代码放置到它应该的正确位置。它将引导加载程序从0x800放置到0x3fff。PGM被放置在上面,我的代码中有一个yxorg,是0x400,0x47,为引导程序腾出空间。也许能比我解释得更好。但是有人在24EP设备上有Bootloader的经验吗?我认为这一点很简单,但到目前为止,刷已经能够帮助我,但是我们现在被卡住了。所以只是看看有没有我们可能错过的信息。我知道这里可能没有足够的信息继续下去,但我真的需要把它放在床上。谢谢你们大家的帮助。
以上来自于百度翻译 以下为原文 I have gotten the SD card bootloader from Brush Electronics. As a side note he is an awesome guy willing to help out with hiccups along the way. I am using a 24EP256GP206 chip running at 140MHz. I am trying to get the SD card bootloader working on this chip but running into difficulties. The EP chips have different paging and writing compared to other 24 series chips. I am using XC16 as the compiler. The issue is that it seems to be erasing the reset vectors and not replacing them properly when writing with the boot loader. We have worked through some issues where we were overwriting a lot of stuff and not ending up with anything that resembles what its supposed to . Right now the bootloader is staying in tact and it is placing the PGM code into the correct places that it should. It is placing the bootloader from 0x800 to 0x3FFF. The PGM is being placed above that i have an #org in my code that is 0x400,0x47FF to make room for the bootloader. If Brush is around he may be able to better explain than I have. But has anyone had experience with bootloader on 24EP devices? I think its something simple at this point but Brush has been able to help me so far but we are stuck right now. So just looking to see if there is any tidbits we may be missing. I know there is probably not enough info here to go on but I really need to put this to bed. Thank you as always for all your guys help. |
|
相关推荐
2个回答
|
|
我应该添加我只是试图加载一个非常简单的LED闪烁没有中断在这一点上。引导加载程序在XC16中,但主程序代码是CCS。
以上来自于百度翻译 以下为原文 I should add I am just trying to load a very simple led blink with no interrupts at this point. The Bootloader is in XC16 but the main program code is CCS. |
|
|
|
嗨,你有没有检查微芯片EZBL是如何操作的:HTTP://www. MicroPC.COM/EZBL?我猜你首先应该试着用XC16编译器来制造闪闪发光的东西。一旦工作完成,你就可以继续使用CCS。你是否在执行Bootloader之后,将程序内存转储到闪存中去看什么?当做
以上来自于百度翻译 以下为原文 Hi, Did you examine how Microchip EZBL operates : http://www.microchip.com/EZBL ? I guess first you should try to make the blinky with XC16 compiler. Once this works you can continue with CCS. Have you dumped the program memory to see what is in the flash memory after executing the bootloader ? Regards |
|
|
|
只有小组成员才能发言,加入小组>>
4840 浏览 9 评论
1842 浏览 8 评论
1757 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
2968 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2072 浏览 5 评论
467浏览 1评论
1120浏览 1评论
305浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
373浏览 0评论
268浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-5-7 05:28 , Processed in 0.889516 second(s), Total 76, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号