Hi,
I'm trying to flash lpc2146 which has been a rollercoaster for me with no success, the first problem I came across it that I had to add lpc2146 from database under file since it doesnt show up in new project window as an option cause there's no pulldown window for legacy parts.
And now I'm stuck with this missing sarm.dll file trying to flash my device by using ULINK2, I also tried to follow this guide http://www.keil.com/support/docs/3192.htm with no luck. Please help.
First, close out of all uVision projects.
Then, try downloading legacy support for ARM7's: www2.keil.com/.../legacy After launching the executable, install it at the same location as MDK (default: C:\Keil_v5\)
This brings in support for LPC2146 and the missing file. Just create a new project. Once the legacy device database is installed, the selection of it in the dropdown list is enabled.
I've tried this on several computer with same problem, no pulldown for legacy devices.
The files I installed were MDKCM521.exe and MDK79521.exe under same folder "c:\Keil v5"
What I got working so far is with Keil Uvision 474 but when I try to flash my unit it firmware updates my Ulink2 device and makes it not recognizeable with the software, error msg says no jtag devices found.
I've also tried to erase the firmware from Ulink2 but itll just reupdate itself when I try to flash.
Any help would be appriciated, thanks.
The firmware update depends on the latest installed version of the tools. This guarantees the version of uVision will use the latest firmware version. You control the firmware version through which version of MDK is installed. Only erase the debug adapter's firmware to use earlier firmware version. First, uninstall new version of MDK, install an earlier version of MDK, then connect ULINK2 to use earlier firmware version.
Have you tried creating a new project? There should be a drop-down list in MDKv5in the "Selecting device..." dialog between "Software packs" and "Legacy Device Database", when legacy support is successfully installed.
For connection issues, there can be a few causes. Refer to the following KB article that discusses some ways to recover these types of devices: http://www.keil.com/support/docs/2993.htm Alternatively, if the board allows, you may try connecting over serial wire interface and changing connect and reset options.