Cannot erase or flash on LPC54102

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot erase or flash on LPC54102

Jump to solution
413 Views
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 Kudos
Reply
1 Solution
393 Views
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.

View solution in original post

0 Kudos
Reply
1 Reply
394 Views
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 Kudos
Reply