完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
问候语,有没有一种C语言X-MODEM引导加载程序已经为微芯片UCS开发?我知道微芯片AN1157应用笔记和引导加载器。我花了两个星期的时间玩它。我用一个串行端口和一个提供了Windows应用程序的微芯片在一个测试台上工作。我正在与一个安装在EnECyS微逆变器上的24FJ64 GA44 UC一起工作。EnECsS公司部署了其中的200000个,然后倒闭了。他们在AN1157中使用了引导加载程序,但没有用。这是因为在微芯片AN1157应用程序中有引导加载程序的问题。在过去的10年中,随着微芯片已经发布了对工具的更新,它经常导致引导加载程序不再运行。我猜想新的人们会出现在MPLAB工具上,而不知道HEX文件中的东西的历史,它们会破坏事物。例如,我浪费了两个星期来解决这个Bootloader,它被开发出来试图弄明白为什么它要完成99%,然后挂断。这是因为Bootloader甚至没有beta质量。它不使用像XMODEM那样的文件传输协议。请让我澄清一下。我刚刚完成了一个服务器端Windows应用程序启动加载程序的SLIABS /烬EM250 ZigBee。烬栈有一个很好的XMODEM引导加载程序。所以我用XMODEM文件传输制作了AsServer侧Windows应用程序。它工作得很好。当EM250引导装载器得到触发器时,你会得到一个类似于MSDOS的简单菜单。您只需选择上载,然后启动XMODEM。En烬使用一个名为EBL的文件格式,它代表Engor Bootloader。EM250C编译器和链接器默认生成EBL文件。好的,现在让我与我玩的Microchip Bootloader进行对比。当你把它和BooBooLoad进行比较时,它是垃圾。当你认为很多像EncSeS这样的公司花了几百万,用这个Bootloader制作小部件后,发现它不起作用。所以我想,为Pic24微控制器设计一个XMODEM引导加载器并不难。我想知道有没有人已经做过这件事?Microchip是否有任何处理器的XMODEM引导加载程序?如果没有什么大不了的,因为我可以简单地使用Engor Bootloader中的C代码用于XMODEM文件传输,但我唯一不确定的是如何处理微芯片HEX文件?精确地将微芯片HEX文件如何解析/处理并写入目标?这样做是否已经有C代码了?有美钞吗?如果有人知道一个XMODEM引导加载程序,FPOR微芯片已经使你从一个服务器端的应用程序转移HEXFILE,如果你能指导我的话,那就太棒了。在我看来,有人可能已经制造了类似于Boobe Bootloader WOR的东西。KS。简单地使用UART在115K波特,触发一个菜单与XMODEM上传选择。如果你有任何经验与BooLoad Microchip请联系我在这里,告诉我你记得什么。任何提示,建议和URL将赞赏丹恩AMBROSENECICS微逆变器固件重新工作PROJ。美国密苏里路易斯
以上来自于百度翻译 以下为原文 Greetings, Is there a C language x-modem boot loader already developed for microchip UCs ? I am aware of the Microchip AN1157 app note and boot loader. I have spent two weeks playing around with it. I have it working on a test bench with just a serial port and using the Microchip supplied windows application. I am working with a 24FJ64GA004 uc fitted into the Enecsys micro inverter. Enecsys deployed 200,000 of these and then went out of business. They used the boot loader in AN1157but it didn't work. This is because there were/are allot of problems with the bootloader in the Microchip AN1157 app. Over the past 10 years as microchip has released updates to the tools often it causes the bootloader not to function anymore. I surmise new people come along and work on the MPLAB tools without knowing the history of things in the hex files and they break things. For example, I wasted two weeks troubleshhoting this bootloader that was developed trying to figure out why it gets 99% done then hangs up. This is because the bootloader is not even of beta quality. It does not use an encoded protocol for file transfer like xmodem. Let me clarify. I just got done with a server side windows app boot loader for the Silabs/ ember EM250 zigbee. The ember stack has an nice xmodem bootloader built right in. So I made a server side windows application with an xmodem file transfer. It works very well. When the em250 bootloader gets triggers you get a MSDOS like simple menu. You simply choose upload and then start the xmodem. Ember uses a file format called EBL which stands for ember bootloader . The em250 C compiler and linker generates .EBL files by default. Ok so now let me contrast that with the microchip bootloader I played around with. When you compare it to the ember bootloader its crap. When you consider that a number of companies like enecsys spent millions making widgets with this bootloader only to later find out it doesn't work. So I was thinking that it should not be that hard to make an xmodem boot loader for this pic24 microchip controller. I'm wondering if somebody has already done this ? Does Microchip have an xmodem bootloader for any processor ? If not no big deal because I can simply use the C code from the ember bootloader for the xmodem file transfer But the only thing I'm not sure about is how to process the microchip hex file ? Precisely how does the microchip hex file get parsed/processed and written to the target ? Is there already C code for doing this ? Is there an ap note? And if anybody knows about an xmodem bootloader fpor microchip already made that you just transfer the hexfile from a server side application that would be great if you could direct me to it. It seems to me that somebody may have already made something that is similar to how the ember bootloader works. Simply uses the UART at 115k baud, triggers a menu with an xmodem upload choice. If you have any experience with bootloaders for microchip please reach out to me here and tell me what you recall. Any tips, suggestions and URLs would be appreciated Dan Ambrose Enecsys micro inverter firmware re-work project St Louis, Missouri USA |
|
相关推荐
3个回答
|
|
它并不完全是“微芯片六角”——它是“英特尔HEX”。一旦你完成了微芯片的细节(主要是映射到Flash),你就可以适应任何能够处理英特尔HEX的工具。Microchip引导加载程序旨在允许在没有专门工具的情况下重新编程,并具有尽可能小的内存占用。它不是用于“远程”重编程或类似的。虽然它可以被扩展以允许这样做。以增加内存占用为代价。WODE就是这样工作的:
以上来自于百度翻译 以下为原文 It's not exactly "Microchip Hex" - it's "Intel Hex". Once you've got over the Microchip specifics (mostly mapping to the flash), you can adapt any tool capable to handle Intel Hex. The Microchip boot loader is intended to allow reprogramming without a specialized tool and with the smallest-possible memory footprint. It is not intended for "remote" reprogramming or alike. Though it can be expanded to allow this. At the cost of an increased memory footprint. That's how the wold is working :) |
|
|
|
“Microchip”的HEX文件格式如下:http://MicroChIPDeavics.COM/IPE:QPT-HEX文件。但是如果你不想使用它,就没有理由使用它,只需要你的编译器发射一个二进制映像并使用它。编写一个引导加载程序并不困难。棘手的部分是如何正确地编译引导加载程序,以及如何正确编译由Bootloader下载的应用程序。我没有看过应用笔记,但它可以提供指导。
以上来自于百度翻译 以下为原文 The "Microchip" hex file format is here: http://microchipdeveloper.com/ipe:sqtp-hex-file-format I'm sure you can find all sorts of existing code to parse it. But there's no reason to use it if you don't want to; just have your compiler emit a binary image and use that. Writing a bootloader isn't very difficult. The tricky part is figuring out how to correctly compile the bootloader and how to correctly compile the application that will be downloaded by the bootloader. I haven't looked at the app note, but it might provide guidance. |
|
|
|
嗨,几年后使用的16位Bootloader是EZBL:HTTP://www. McCHIP.COM/EZBLATION
以上来自于百度翻译 以下为原文 Hi, the right bootloader to use for 16bits since several years is EZBL : http://www.microchip.com/EZBL Regards |
|
|
|
只有小组成员才能发言,加入小组>>
5006 浏览 9 评论
1923 浏览 8 评论
1853 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3067 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2143 浏览 5 评论
577浏览 1评论
432浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
476浏览 0评论
367浏览 0评论
IPECMD命令烧录AVR128DA48芯片,报找不到芯片错误
853浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-17 09:27 , Processed in 1.118806 second(s), Total 83, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191