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
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?