完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我正面临着PIC12F1572的问题。我创建了我的程序并运行在PIC中,所有的都看起来不错。当我关机后,PIC又失去了程序,需要重新编程。我想它是在EEPROM的程序。我怎么能编程EEPROM,因为我不松动我的程序当我关掉和打开PIC?非常感谢你。
以上来自于百度翻译 以下为原文 Hi, I am facing an issue with PIC12F1572. I created my program and run in PIC and all seems me ok. When I turn off and after turn on again the PIC lose the program and it is needed to program again. I think the program it is in EEPROM. How can I program the EEPROM for I don't loose my program when I turn off and turn on the PIC? Thank you a lot |
|
相关推荐
6个回答
|
|
|
|
|
|
该程序是在Flash中,而不是EEPROM。这是唯一的地方它可以在你的照片。我认为vloki是正确的,你正在编程芯片调试模式。我们只能猜测,你没有提到你使用的是哪一个MPLAB(MPLAB8/MLabx),哪个程序员(PK3,ICD3,真正的ICE),或者你运行程序的精确性。
以上来自于百度翻译 以下为原文 The program is in FLASH, not EEPROM. That is the only place it can be in your PIC. I think vloki is right, you are programming the chip in debug mode. We can only guess, you did not mention which MPLAB you are using (MPLAB8/MLABX), which programmer (PK3, ICD3, Real-Ice), or how exactly you are running your program. |
|
|
|
嗨,我正在使用MPLAB X IDE V3.40选择器IT3i解决两件事:A)“运行程序”B)“调试模式”我如何才能把程序发送到PIC12F1572,以便把我的程序存储在PIC中,而不在我关机和PIC上电源时被删除?非常感谢。
以上来自于百度翻译 以下为原文 Hi, I am using MPLAB X IDE v3.40 PICK it3 I tryed two things: a) "Run the program" b) "Debug mode" How can I send the program to PIC12F1572 in order to put my program and be storage in PIC without be deleted when I power off and power on the PIC? Thank you a lot **************************************************** Connecting to MPLAB PICkit 3... Currently loaded firmware on PICkit 3 Firmware Suite Version.....01.44.26 Firmware type..............Enhanced Midrange Programmer to target power is enabled - VDD = 3.250000 volts. Target device PIC12F1572 found. Device ID Revision = 2000 Device Erased... Programming... The following memory area(s) will be programmed: program memory: start address = 0x0, end address = 0x1bf configuration memory Programming/Verify complete |
|
|
|
程序总是存储在闪存中,它一直存在,直到它被新的编程序列删除。根本不可能把程序放在任何其他地方。问题可能是你在调试模式下编程。然后程序需要调试器工具启动。制作设备和其他设备?
以上来自于百度翻译 以下为原文 The program is always stored in the FLASH memory. It stays there until it gets deleted by a new programming sequence. It is not possible at all to put the program anywhere else. The problem might be that you programmed in debug mode. Then the Program requires the debugger tool to get started. Do you use Make and Program Device or something else? |
|
|
|
尝试“制作和编程设备主项目”(没有调试,没有运行…).
以上来自于百度翻译 以下为原文 Try 'Make and program device main project' (no debugging, no run ... ). |
|
|
|
那太好了。这是我的问题的解决方案,非常感谢。
以上来自于百度翻译 以下为原文 That was nice. That is the solution to my issue. Thank you a lot |
|
|
|
只有小组成员才能发言,加入小组>>
5231 浏览 9 评论
2026 浏览 8 评论
1950 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3200 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2253 浏览 5 评论
770浏览 1评论
658浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
587浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
668浏览 0评论
570浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-18 21:18 , Processed in 1.543813 second(s), Total 89, Slave 72 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号