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
Our MDK installer contains all core files and Device Family Packs
are added on request into the same folder. Therefore, when you delete
the complete keil_v5 folder, all MDK files are gone. If you install
an older version into the same folder, all previous files will get
If you are using J-Link or ULINKpro, some USB device drivers are
copied into the Windows installation folder. We also provide an
uninstaller for MDK.
What problem do you see when you try to download your application
into flash? What device are you using?
Did you write this forum entry as well?
If yes, check if th LPC1820 can be programmed at all. This device
does not have an on-chip Flash.
I'm getting an erase fail error. I'm programming an LPC1820 with a
J-Link through SWD. I also deleted the J-Link drivers, but I may not
did it right because when I plug the J-Link again Windows
automatically install it again. I'm using Windows 7.
Thanks in advance.
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?