完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
与18LF1320一起工作,用ICD-3编程,我一直在尝试从ICD-3提供的各种VDD电压。我注意到一些偶然的验证失败。我怀疑问题是用VDD=+4.5V编程,然后试图在VDD=+2.875 V下擦除。我在VDD=+4.5V编程,然后在VDD=+2.85 V上进行了明确的闪存擦除,然后读取和查看程序存储器。绝对没有被抹去。每一点都和编程之后一样。然后我将VDD提升到+3.25,并重复擦除。这一次,事实上,一切都被抹去了。看起来,如果每个程序在一个更高的VDD上,你可能无法重新编程它在一个较低的VDD,除非你首先擦除它在同一个更高的VDD。
以上来自于百度翻译 以下为原文 Working with a 18LF1320, programming with an ICD-3, I have been trying various Vdd voltages supplied from the ICD-3. I noticed some occasional verify failures. I suspected the problem is programming with Vdd=+4.5v and then trying to erase at Vdd=+2.875v. I verified this is true. I programmed at Vdd=+4.5v, then did an explicit Flash erase at Vdd=+2.85v, then a Read and View Program Memory. Absolutely nothing was erased. Every bit was exactly as it was after the programming. Then I raised Vdd to +3.25 and repeated the erase. This time everything was in fact erased. It looks like if you every program a device at a higher Vdd, you may not be able to re-program it at a lower Vdd unless you first erase it at that same higher Vdd. |
|
相关推荐
4个回答
|
|
你怎么做擦除?数据表表示,您可以将行擦除降至2V,但批量擦除仅工作到4.5V。
以上来自于百度翻译 以下为原文 How are you doing the erase? The data sheet says you can do row erase down to 2V, but bulk erase only works down to 4.5V. |
|
|
|
当你点击程序员工具栏上的擦除闪存设备图标时,擦除就是iCD-3。假设在程序设置中选择程序选项之前擦除了所有的编程操作的一部分,这是相同的擦除。但最终我会把蓝牙RN48芯片放在那里,不应该看到超过3.6伏。因此,当我用一个完全填充的板做ICSP时,我将无法使用高于此的电压。如果我们不能重新编程一个小于4.5伏特的芯片,那么应该如何开发固件呢?
以上来自于百度翻译 以下为原文 The erase is whatever the ICD-3 when you click on the Erase Flash Device icon in the Programmer tool bar. I assume it is the same erase that happens as part of the programming operation when you have the Erase all before program option selected in Programmer settings. Right now I only have the board minimally populated. But eventually I will put a Bluetooth RN4871 chip on there that is not supposed to see more than 3.6 volts. So I will be unable to use voltages higher than that when I do ICSP with a fully populated board. How else is one supposed to be able to develop firmware if we cannot re-program a chip at less than 4.5 volts? |
|
|
|
我假设它正在进行大容量擦除。现在,我通常通过肖特基二极管为PIC供电,如果它与其他设备共享电源,那么程序员就可以在没有任何其他电源的情况下为它供电。
以上来自于百度翻译 以下为原文 I'd assume it's doing bulk erase. Nowadays I usually power the PIC via a schottky diode if it's sharing power with other devices, so the programmer can power it without powering anything else. |
|
|
|
在大多数PIC18S(包括你的PIC18S)上,可以在没有大容量擦除的情况下编程所有的东西,但是速度会慢一些。我不知道ICD3是否能做到这一点。唯一的问题是代码保护。如果你的代码保护该设备,你需要4.5V来提升保护。它可以工作在较低的电压,但这是不规范的。
以上来自于百度翻译 以下为原文 On most PIC18s (including yours), it is possible to program everything without bulk erase, but it will be slower. I don't know if ICD3 can do this. The only problem is code protection. If you code-protect the device, you'll need 4.5V to lift the protection. It may work at lower voltages, but this is out of specs. |
|
|
|
只有小组成员才能发言,加入小组>>
5161 浏览 9 评论
1999 浏览 8 评论
1928 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3171 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2226 浏览 5 评论
731浏览 1评论
613浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
503浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
629浏览 0评论
527浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 21:07 , Processed in 1.193149 second(s), Total 82, Slave 65 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号