你好!谢谢你的回答!OASASION拉低PGM引脚没有帮助。正如我所见,高电压编程模式总是可用的,不管LVP位的状态如何,通过将VIHH应用到MCLR引脚(DS30569C页102)。LVP配置位是由工厂默认设置为PGM函数,所以这是默认设置。但我有这么奇怪的情况。如果我读了失败的编程后的PM,我可以看到只有两个或三个第一次写正确。只有第一个0x70地址被删除为PIC16F876!同样的情况PIC16F870,但对于只有0x6FADIDES,而试图使用16F870在高压编程模式。我试图使用VDD到PGM引脚使用LVP模式。在16F876的这种情况下,第一个地址不被写入,但是下一个0x424地址被成功写入。程序内存范围设置为全范围编程,但16F870已成功编程为LVP模式中的所有内存范围!所以我认为16F876的一个样本被破坏了。下一个星期我会测试其他的。我想在LPP模式下,PICTIT3必须与旧MCU一起使用,而编程时可以选择“来自于工具的电源目标电路”。所以,为什么我不能用高压编程来从PICTIT3供电16FXXX?如果有人决定怎么做,我会感激他的!谢谢,谢尔盖。
以上来自于百度翻译
以下为原文
Hi! Thanks for your answer! Ocasionally pulling down the PGM pin doesn't help.
And as I see, the High Voltage Programming mode is always available, regardless of the state of the LVP bit, by applying VIHH to the MCLR pin (DS30569C-page 102).
What do you mean about the default ICSP mode? LVP configuration bit is set by the factory default to the PGM function, so this is the default setting. But I have so strange situation. If I read the PM after the failed programming, I can see that only two or three first adresses written correctly. And only the first 0x70 addresses are erased for PIC16F876! The same situation for PIC16F870, but for only 0x6F adresses while trying to use 16f870 in high voltage programming mode. I tried to use the LVP mode by applying the VDD to the PGM pin. In such a situation for the 16f876 the first address is not written, but the next 0x424 addresses are written succesfully. Program memory range is set to full range programming.
But the 16f870 has been programmed succesfully for all memory range in LVP mode!
So I guess that the one sample of 16f876 is damaged. The other ones I'll test next Monday.
And I guess that PICkit3 has to be used with old MCUs in LVP mode while programming with the option "Power Target Circuit from Tool".
So, why I can't use the high voltage programming when powering the 16fxxx from the PICkit3?
If anyone has a decision how to do it I would appreciate him!
Thanks.
Regards,
Sergey.
你好!谢谢你的回答!OASASION拉低PGM引脚没有帮助。正如我所见,高电压编程模式总是可用的,不管LVP位的状态如何,通过将VIHH应用到MCLR引脚(DS30569C页102)。LVP配置位是由工厂默认设置为PGM函数,所以这是默认设置。但我有这么奇怪的情况。如果我读了失败的编程后的PM,我可以看到只有两个或三个第一次写正确。只有第一个0x70地址被删除为PIC16F876!同样的情况PIC16F870,但对于只有0x6FADIDES,而试图使用16F870在高压编程模式。我试图使用VDD到PGM引脚使用LVP模式。在16F876的这种情况下,第一个地址不被写入,但是下一个0x424地址被成功写入。程序内存范围设置为全范围编程,但16F870已成功编程为LVP模式中的所有内存范围!所以我认为16F876的一个样本被破坏了。下一个星期我会测试其他的。我想在LPP模式下,PICTIT3必须与旧MCU一起使用,而编程时可以选择“来自于工具的电源目标电路”。所以,为什么我不能用高压编程来从PICTIT3供电16FXXX?如果有人决定怎么做,我会感激他的!谢谢,谢尔盖。
以上来自于百度翻译
以下为原文
Hi! Thanks for your answer! Ocasionally pulling down the PGM pin doesn't help.
And as I see, the High Voltage Programming mode is always available, regardless of the state of the LVP bit, by applying VIHH to the MCLR pin (DS30569C-page 102).
What do you mean about the default ICSP mode? LVP configuration bit is set by the factory default to the PGM function, so this is the default setting. But I have so strange situation. If I read the PM after the failed programming, I can see that only two or three first adresses written correctly. And only the first 0x70 addresses are erased for PIC16F876! The same situation for PIC16F870, but for only 0x6F adresses while trying to use 16f870 in high voltage programming mode. I tried to use the LVP mode by applying the VDD to the PGM pin. In such a situation for the 16f876 the first address is not written, but the next 0x424 addresses are written succesfully. Program memory range is set to full range programming.
But the 16f870 has been programmed succesfully for all memory range in LVP mode!
So I guess that the one sample of 16f876 is damaged. The other ones I'll test next Monday.
And I guess that PICkit3 has to be used with old MCUs in LVP mode while programming with the option "Power Target Circuit from Tool".
So, why I can't use the high voltage programming when powering the 16fxxx from the PICkit3?
If anyone has a decision how to do it I would appreciate him!
Thanks.
Regards,
Sergey.
举报