完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我需要一个基本的工作流程,如何使用所有这些工具。我读过这些文件,还没想到我会遇到麻烦。有人(也许每个人,但我)知道如何使用这些工具来获得东西。PIC16LF1829 MPLABS X IDE 5.0MPLABS IPE 5.0ICD3XC8 V2.0i基本上希望有一个安装程序,其中引导装载程序被编程到设备(PIC16LF1829),以及配置位正确设置,并且我可以在任何提姆。E执行以下操作:将一个应用映像编程到设备(生产线)中,将调试应用程序编程到设备中,并使用IDE调试/单步执行问题:是否需要在您之前设置配置位:将引导加载程序放入设备-运行引导加载程序-运行应用程序或者在应用程序运行并设置它们之前,没有设置它们是可以的吗?在将应用程序编程到设备中时,我不想失去引导加载程序和/或配置位设置。现在,这就是当我使用IDE来编程设备时会发生的事情。谢谢,格伦
以上来自于百度翻译 以下为原文 I need a basic workflow of how to use all of these tools. I have read the docs and have not come up with this as I keep running into trouble. Someone (maybe everyone but me) knows how to use the tools to get things done. PIC16LF1829 MPLABS X IDE 5.0 MPLABS IPE 5.0 ICD3 XC8 v2.0 I basically want to have a setup where the bootloader is programmed into the device (PIC16LF1829), along with the configuration bits set correctly, and I can at any time do the following: - program an application image into the device (production line) - program a debug application into the device and use the IDE to debug/single-step Questions: Do the configuration bits need to be set before you: - program the bootloader into the device - run the bootloader - run the application or is it okay to not have them set until the application runs and sets them? I do not want to lose the bootloader and/or configuration bit settings when programming the application into the device. Right now, that is what happens when I use the IDE to program the device. Thanks, Glenn |
|
相关推荐
6个回答
|
|
1。不要使用IDE 5,使用V 4.10。或更好的MPLAB 8.92 -更快,更容易使用,稳定。2。当外部程序员编程时,配置位应该根据您的需要来设置,它们的值将另一种方式预定义(参见UC PDF)3。不能通过软件4修改配置位、ID和修订代码。您可以通过使用配置位来保护程序存储器(Bootloader /BIOS)的较低区域免受软件重写。5。您不能通过软件来操纵调试选项(ON/OFF);它是配置位之一。所有的内容都在PDF中详细描述。
以上来自于百度翻译 以下为原文 1. Do not use IDE 5.0, use v 4.10. Or better Mplab 8.92 - faster, easier to use, STABLE. 2. Configuration bits should be set according to your needs when programming by external programmer, another way their values will predefined (see uC PDF) 3. You can't modify configuration bits, ID and revision code by software 4. You can protect lower region of program memory (bootloader/BIOS) against overwriting by software using configuration bits. 5. You can't manipulare debug options (on/off) by software; it's one of configuration bits. Everything is detailed described in PDF. |
|
|
|
我强烈建议在尝试使用Bootloader之前,在PIC中设计一个简单的应用程序。一个PIC16(L)F1829是一个非常简单的设备,所以使用引导加载程序对整个工作流有很大的影响。如果你想使用XC8版本2,你不得不使用MPLABX.XC8版本1.xx在MPLA8xx和MPLABX 4.XXX上运行的最新版本不需要IPE,这只是标准。一个编程。正常调试和编程是从IDE(MPLABX或MPLAB8)内部完成的。
以上来自于百度翻译 以下为原文 I'd strongly recommend working out how to get a simple app working in your PIC before trying to use a bootloader! A PIC16(L)F1829 is a pretty simple device, so using a boot loader has a dramatic effect on the whole workflow. If you want to use XC8 version 2.0, you're forced to use the latest versions of MPLABX. XC8 version 1.xx runs fine on MPLAB8.xx and MPLABX 4.xx You don't need the IPE, that's just for standalone programming. Normal debugging and programming is done from inside the IDE (MPLABX or MPLAB8) |
|
|
|
谢谢AG70。我将获得MPLAB 8.92。我看到它允许从IDE中设置配置位,而后面的版本不允许。UC-PDF是什么,它位于哪里?我曾经读到PIC16无法从软件中写入配置位,这使得在黑暗中留下新成员,以处理以较新版本获取这些集合的方式,特别是因为您被指示使用配置器来选择设置,然后单击生成代码按钮。此外,文档将引导你认为你应该在软件中设置这些:从MPLABIDE中,在仪表板中,单击蓝色问号以获得具有超链接的页面:Microchip /XC8/V2.0/DOCS/XC8MeTrimeDeXX.HTM(& LT;-----)8位语言工具Read Mead和ReavigeCuffice设置参考- PIC10/12/16 MCU-HTML(& LT点击链接)(带一个页面,所有的设备,搜索PIC16LF1829和点击链接)V.MyFixMc/XC8/V2.0/DOCS/CHIPs/16LF1829HTML(& LT;-----本页)16LF1829支持信息格伦,PrimaMaqMaMatg配置用法,PrimaMaMatg配置& lt;设置& gt;=;
以上来自于百度翻译 以下为原文 Thanks ag70. I will get Mplab 8.92. I see that it allowed setting of the configuration bits from the IDE, whereas the later version does not. What is the uC pdf, and where is it located? I did read that the PIC16 was not able to write to the configuration bits from software, which leaves newcomers in the dark as to the way to handle getting these set with newer versions, especially since you are instructed to use the configurator to choose settings, then click the generate code button and place the #pragma lines into your source code. Also, the documentation leads you to think you are supposed to set these in software: from the MPLABS IDE, in the dashboard, click the blue question mark to get the page with hyperlinks: Microchip/xc8/v2.00/docs/XC8MasterIndex.htm (<-brings up this page) 8-Bit Language Tools Readme and Reference Configuration Settings Reference - PIC10/12/16 MCUs - HTML (<-click link) (brings up a page with all devices, search for PIC16LF1829 and click link) | | v Microchip/xc8/v2.00/docs/chips/16lf1829.html (<-brings up this page) 16LF1829 Support Information #pragma config Usage #pragma config etc. Thanks, Glenn |
|
|
|
我继承了一个正在生产中的现有项目。我正在尝试安装最新的工具,并将项目转换为更新的XC8 V2.0编译器。该项目有一个允许字段升级的引导加载程序。IPE允许我把Bootloader。HEX文件和程序编入到设备中。一旦完成,串行引导程序就被用来对应用程序(现有的工作流)进行编程。AN1310应用笔记回答了很多问题。我有过的礼物,谢谢,格伦
以上来自于百度翻译 以下为原文 qɥb, I inherited an existing project that is in production. I am trying get setup with the latest tools and have been converting the project over to the newer XC8 v2.0 compiler. The project has a bootloader that allows field upgrades. The IPE allows me to take the bootloader.hex file and program it into the device. Once that has been done, the serial bootloader app is used to program just the application (existing workflow). The AN1310 application note answered a lot of the questions that I had. Thanks, Glenn |
|
|
|
您可以使用HealMy将引导加载程序和应用程序HEX文件合并到一个文件中,以保存一个步骤。
以上来自于百度翻译 以下为原文 You can use hexmate to merge the bootloader and application hex files into one file to save a step. |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
5166 浏览 9 评论
2000 浏览 8 评论
1929 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3175 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2227 浏览 5 评论
736浏览 1评论
619浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
507浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
633浏览 0评论
530浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 05:13 , Processed in 1.398109 second(s), Total 89, Slave 72 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号