We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am trying to flash my LM3S9B96 Device with ULINK2. But it fails with the following message "ULINK - Cortex-M Error: Flash Timeout. Reset the Target and try again" I tried to fix this problem as described here: http://www.keil.com/forum/docs/thread16541.asp because the behavior is exact the same. But when I try to program my device with the new LM3S_256.FLM-File I get this error: "Cannot Load Flash Programming Algorithm". Any ideas? Thanks. Regards Mike
Hi,
sounds like a typical Core-Locked-Up - Problem.
Go to http://www.luminarymicro.com , and download the LMI Flash Tool.
One of the 'Pages' of this tool allows to unlock a core, this runs via the FTDI USB-JTAG Brisge on the Dev board. That typically happens "randomly". In most cases this tool can help.
Try to unlock and erase the Chip with this tool, then try ULINK again.
. BR, /th.
Thank you for your reply. But I don't think that this is the problem. Because with the original FLM-file I can erase my device. And I also noticed that I can program the device in small pieces but not en bloc. So it really seams as if it would be exact the same problem as described in the thread I mentioned above. But when I try the suggested solution from "Dan Nakoneczny" I get the error message "Cannot Load Flash Programming Algorithm" Regards, Mike
I had the same problem and fixed it by setting the flash program wait time to 500mSec. as opposed to the 300mSec. factory setting. You can test to see if this is your problem by disabling flash erase and then doing a load program. If each try it progresses 1K further that is your fix.
In version v4.12 there is an update of the Flash algorithm. In my case (LM3S5B91) it did help.