I had a project which I could successfully programto my NXP uC
using a J-link. When I upgraded my Keil version I could not upload it
anymore (erase failed error). I tried downgrading Keil version to
5.12 (which worked previously) and I keep getting the error.
I'm able to program the same project using other computer so the
problem should be in some config file. I tried uninstalling it and
installing it again deleting all files left in AppData and keil_v5
folders and also the what I could find in Windows key registry and
still didn't get it working.
Is there something else I need to remove to completely uninstall
Yes, I'm the same. I decided to open a new because I got to
program it on another computer with the same project settings. So I
suspect is something wrong in Keil installation and I cannot solve it
uninstalling and installing it again.
LPC1820 does not have internal flash, but I'm using external flash
connected through SPIFI. I could succesfully program the same uC
before with my computer and that's what makes me mad.
that's hard to say. When you reinstall an older version of uVision,
all MDK files get replaced. A newer J-Link driver might have updated
the firmware of J-Link. As far as I know, you have another PC which
can still program the LPC1820. You can try the same J-Link to see if
the firmware makes a difference.
Are you using a 'Init File' for flash programming (Options for Target
- Utilities - Init File) if if yes, is it the same one?
I've already solved the problem. The corrupted file was the algo
file located in Keil_v5/ARM/Flash/LPC18xx43xx_S25FL032.FLM. Many
thanks for your help and your time.
Hi Miguel, I have a similar problem. What did you do with that file?