Microchip
直播中

康桃花

8年用户 1003经验值
私信 关注
[问答]

请问有什么办法可以通过编程方式删除PIC24F上的所有程序闪存?

我想知道是否有一种方法可以通过编程方式删除PIC24F上的所有程序闪存?甚至可能吗?我认为NVMCON寄存器看起来是有希望的,但是我一直无法得到任何工作。现在,我不确定它是否有用户错误,或者我是否完全误读了数据表。基本上,我只需要有人帮我指明正确的方向,这样我就知道应该把注意力集中在哪里,以及浏览网页。谢谢。:)

以上来自于百度翻译


      以下为原文

    I am wondering if there is a way to erase all the program flash on a PIC24F programmatically? Is it even possible? I thought that the NVMCON register looked promising according to the datasheet, but I've been unable to get anything to work. Right now I'm just not sure if its user error or if I'm completely misreading the datasheet.

Basically, I just need someone to help point me in the right direction so I know where to focus my reading and googling efforts. Thanks. :)

回帖(1)

王峥

2019-7-23 15:57:40
谢谢你的答复。具体来说,我想删除PIC24F32KA304通用段上的所有程序闪存并删除我的固件。这是我希望在PIC上运行的最后一个命令。好的,我认为NVMCON能够在阅读数据表的基础上做到这一点。我必须不正确地执行。谢谢。

以上来自于百度翻译


      以下为原文

    Thanks for the response.
 
Specifically, I want to  erase ALL the program flash on the general segment of a PIC24F32KA304 and kill my firmware. This is the last command I wish to run on the PIC. Ok, I thought that the NVMCON was able to do that based on reading the datasheet. I must just be implementing incorrectly. Thanks.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分