完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
HII是新的PIC24微控制器。我需要设计一个Pootloader PIC24FJ128GA110使用SPI。我迷路了,请建议从哪里开始。谢谢。
以上来自于百度翻译 以下为原文 Hi I am new to PIC24 Microcontrollers. I need to design a bootloader for PIC24FJ128GA110 using SPI. I am lost, Please suggest from where to start. Thanks |
|
相关推荐
6个回答
|
|
无论是AppNoTS还是HTTP://www. MyCHIP.COM/Primult/UnIFID-BooLoad都需要在SPL从属代码中添加。
以上来自于百度翻译 以下为原文 Either the appnotes or http://www.microchip.com/promo/unified-bootloaders You will need to then need to add in the spl slave code. |
|
|
|
如果您对PIC24 MCU是新的,那么我真的建议您在开始编写自己的Bootloader之前先熟悉它们,而且SPI接口不一定是用于此目的的“最佳”:Bootloader确实需要是“奴隶”,因此RE需要是一些(甚至是简单的)协议,它位于Bootloader中,以允许奴隶正确地回溯到主控器——一些与UART、I2C、USB和其他通信信道“免费”的东西。这很可能做,但增加了更复杂的Bootloader代码和“程序员”的一面。苏珊
以上来自于百度翻译 以下为原文 If you are new to the PIC24 MCUs then I really suggest that you become very familiar with them before starting out to write your own bootloader for one. Also the SPI interface is not necessarily the 'nicest' one to use for this purpose: the bootloader really needs to be the 'slave' and therefore there needs to be some (even simplistic) protocol that sits in the bootloader to allow the slave to properly talk back to the master - something that comes "for free" with UART, I2C, USB and other communication channels. It is quite possible to do but adds a bit more complexity to both the bootloader code and the 'programmer' side. Susan |
|
|
|
我的Bootloader是一个从SD卡或Flash读取十六进制记录的主机,必须升级它的应用程序。所以我需要同样的SPI接口。那我该跟着哪一个?
以上来自于百度翻译 以下为原文 My Bootloader works as a master which reads hex records from either SD Card or flash and has to upgrade its application. So I need SPI interface for the same. So which one I can follow? |
|
|
|
我不确定我理解了你所说的“我能遵循哪一个”的意思。MCU有3个SPI外设,你选择哪一个取决于你的设计。例如:如何触发引导加载程序:复位或一些外部信号?- SPI外围设备专用于引导加载程序,还是与主应用程序共享?苏珊
以上来自于百度翻译 以下为原文 I'm not sure I understand what you mean by "..which one I can follow". The MCU has 3 SPI peripherals and which one you select depends on your design. For example: - how are you triggering the bootloader: on reset or some external signal? - is the SPI peripheral dedicated to the bootloader or is it shared with the main application? Susan |
|
|
|
我不确定我理解了你所说的“我能遵循哪一个”的意思。MCU有3个SPI外设,你选择哪一个取决于你的设计。例如:如何触发引导加载程序:复位或一些外部信号?- SPI外围设备专用于引导加载程序,还是与主应用程序共享?SasaNi是否应该修改PZ24F设备的EasyBootloader或AN1157引导加载程序?
以上来自于百度翻译 以下为原文 I'm not sure I understand what you mean by "..which one I can follow". The MCU has 3 SPI peripherals and which one you select depends on your design. For example: - how are you triggering the bootloader: on reset or some external signal? - is the SPI peripheral dedicated to the bootloader or is it shared with the main application? Susan I mean should I modify eazy bootloader or AN1157 Bootloader for PIC24F devices? |
|
|
|
修改那些对你更好的读物。他们都做同样的事情。
以上来自于百度翻译 以下为原文 Modify which ever reads better to you. They both do the same thing. |
|
|
|
只有小组成员才能发言,加入小组>>
5160 浏览 9 评论
1998 浏览 8 评论
1927 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3170 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2225 浏览 5 评论
729浏览 1评论
613浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
503浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
628浏览 0评论
526浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 09:35 , Processed in 1.473786 second(s), Total 89, Slave 72 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号