完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我有一个使用i.mx6运行Linux和PIC16F18324进行板内管理的设计。我可以使用USB升级现场处理器,也希望能够在现场编程PIC FW。有没有i.mx6(或类似的处理器)中现场编程PIC的代码和HW示例?运行Linux?谢尔杰
以上来自于百度翻译 以下为原文 I have a design using i.mx6 running Linux and a PIC16F18324 for some housekeeping on the board. I can use USB to upgrade processor in the field and would also like to be able to program PIC FW in the field. Are there any code and HW examples of programming PIC in field from i.mx6 (or similar processor running Linux)? Thanks J |
|
相关推荐
4个回答
|
|
这不是常见的情况。我几乎肯定你自己必须为PIC编程编写代码。我推荐LVP编程模式输入模式。有关编程细节,请参阅PIC16(L)F183XX内存编程手册。
以上来自于百度翻译 以下为原文 It's not quite common case. I'm almost sure you have to write the code for PIC programming yourself. I'd recommend LVP programming mode entry mode. Check the PIC16(L)F183XX Memory Programming manual for programming details. |
|
|
|
你可以使用PIC16F188XX系列。编程算法只是简单的SPI——在Linux上要比PIC16F18324容易得多。
以上来自于百度翻译 以下为原文 You can use PIC16F188xx series. The programming algorithm is just plain SPI - much easier on Linux than PIC16F18324. Or, perhaps, lose Linux and do everything on PIC16F18324 :) |
|
|
|
IMHO,与Pootloader相比,PIC的LVP(低电压编程)能力是巨大的。LVP允许重新配置整个芯片的配置和校准字。您将能够从任何固件bug恢复PIC。相反,引导加载程序无法编程配置词。由于无法重新编程配置字,启动时钟设置、看门狗设置等不能通过引导加载程序自写过程设置。此外,您还需要一些方法来输入引导加载模式。使用LVP,您绝对可以停止芯片并一直进入编程模式,因为启用了MEMCLR(复位)管脚。如果正在使用引导加载程序并且禁用MCLR,那么如果编程引脚被不正确的固件过度驱动为输出,则进入引导加载程序模式可能会有问题。
以上来自于百度翻译 以下为原文 IMHO, the ability to LVP (low voltage programming) of the PIC is great thing in comparison with a bootloader. The LVP allows to reprogram whole chip with configuration and calibration words. You will be able to recover the PIC from any firmware bug. In contrast, the bootloader can't program configuration words. Not all of startup clock settings, watchdog settings, etc may be set by bootloader self-write procedures due to inability to reprogram configuration words. Also you need some method to enter bootloader mode. With LVP you definitely can stop the chip and enter the programming mode all the way because the MEMCLR (reset) pin is enabled. If you're using a bootloader and MCLR is disabled, there may be a problems to enter the bootloader mode if programming pins are overdriven as outputs by incorrect firmware. |
|
|
|
您好,不知道i.mx6,但是PICkit 2的完整硬件、固件和软件是由Microchip发布的。PICkit 2本质上是一个PIC18F编程的任何其他PIC处理器。而且PICkit 3的相同代码的移植也是可用的。源包应该在下载存档的某个地方还有编译器和其他工具的背面问题:http://www..hip.com/mplab/compilers每个PIC设备的编程规范可与来自产品网页的每个PIC设备类型的数据表一起获得,正如您已经发现的。
以上来自于百度翻译 以下为原文 Hi, Don't know about i.mx6, but complete hardware, firmware and software for PICkit 2 is published by Microchip. PICkit 2 is essentially a PIC18F programming any other PIC processor. Also the porting of the same codes for PICkit 3 is available. Source package should be somewhere in Downloads Archive together with back issues of compilers and other tools: http://www.microchip.com/mplab/compilers Programming specification for each PIC device is available together with datasheet from product webpage for each PIC device type, as you have found already. Regards, Mysil |
|
|
|
只有小组成员才能发言,加入小组>>
5160 浏览 9 评论
1998 浏览 8 评论
1927 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3170 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2225 浏览 5 评论
727浏览 1评论
612浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
501浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
626浏览 0评论
524浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 07:41 , Processed in 1.181530 second(s), Total 84, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号