Discussion Forum

LM3S9B96 Flash Download Problem

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Mike Herberich
Posted
16-Jun-2010 11:19 GMT
Toolset
ARM
New! LM3S9B96 Flash Download Problem

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

Read-Only
Author
Thorsten de Buhr
Posted
17-Jun-2010 08:15 GMT
Toolset
ARM
New! RE: LM3S9B96 Flash Download Problem

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.

Read-Only
Author
Mike Herberich
Posted
17-Jun-2010 08:36 GMT
Toolset
ARM
New! RE: LM3S9B96 Flash Download Problem

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

Read-Only
Author
Dan Mccarroll
Posted
8-Jul-2010 06:33 GMT
Toolset
ARM
New! RE: LM3S9B96 Flash Download Problem

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.

Read-Only
Author
Steffen Rose
Posted
8-Jul-2010 07:45 GMT
Toolset
ARM
New! RE: LM3S9B96 Flash Download Problem

In version v4.12 there is an update of the Flash algorithm. In my case (LM3S5B91) it did help.

Next Thread | Thread List | Previous Thread Start a Thread | Settings