Cannot erase or flash on LPC54102

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Cannot erase or flash on LPC54102

跳至解决方案
414 次查看
John-Madison
Contributor II

Hello everyone, 

I have been working with a board without any issue for a few weeks, but now I have the problem that I cannot erase or reprogram the microcontroller's internal flash. I always get the same error:

Failed to erase flash: Ef(49): Flash driver operation gave error.

EraseChip (0x0, 0x0, 0x0) status 0x1 - driver reported driver error - ONCHIP driver rc 11 - Flash programming hardware interface is busy

I have tried shorting the ISP pin and resetting to eliminate my firmware being the issue, but the problem is the same whether my firmware or the ISP bootloader is running. 

Is there something else I can try in order to recover my board?

Thanks,

John

 

0 项奖励
回复
1 解答
394 次查看
John-Madison
Contributor II

Somehow I cleared this up. I booted into ISP mode and I ran the mass erase script (LPC5410xMassErase.scp) in redlinkserv as a command line program line by line, and now it is working again as usual.

在原帖中查看解决方案

0 项奖励
回复
1 回复
395 次查看
John-Madison
Contributor II

Somehow I cleared this up. I booted into ISP mode and I ran the mass erase script (LPC5410xMassErase.scp) in redlinkserv as a command line program line by line, and now it is working again as usual.

0 项奖励
回复