Discussion Forum

Luminary LM3S5B91

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

DetailsMessage
Read-Only
Author
Steffen Rose
Posted
24-Jun-2010 12:28 GMT
Toolset
ARM
New! Luminary LM3S5B91

I have problems to flash my program.
Small programs (~400Byte) works, but my current program (~12k) I cannot flash correctly.

I'm using Keil v4.11 and Ulink2. Erase complete and erase partly works. On programming I get the error 'Flash Timeout'. I'm using a quartz of 8MHz. JTAG Clock max is 500k. The Flash algorithm ist LM3SXX.

Ideas?

Read-Only
Author
Steffen Rose
Posted
24-Jun-2010 13:18 GMT
Toolset
ARM
New! RE: Luminary LM3S5B91

It's a problem like:

http://www.keil.com/forum/docs/thread17058.asp

and

http://www.keil.com/forum/docs/thread16541.asp

But note, that erase is working and it seems, the maximum working size is 1k. I have a customer hardware and I think, I cannot use a other Flash tool. It use the uart, doesn't it?
But also I did not find the LMI Flash tool to check it.

ULINK-ME has the same problem.

Read-Only
Author
Steffen Rose
Posted
24-Jun-2010 13:26 GMT
Toolset
ARM
New! RE: Luminary LM3S5B91

After changing the Flash Algorithm described in the second Thread, I have the same problem described in the first link (Cannot load Flash Programming Algorithm).

Read-Only
Author
Steffen Rose
Posted
24-Jun-2010 13:34 GMT
Toolset
ARM
New! RE: Luminary LM3S5B91

Output of the compiling of the Flash algorithm:

Build target 'LM3S_256'
compiling FlashPrg.c...
compiling FlashDev.c...
linking...
.\Target.lin(12): warning: L6314W: No section matches pattern *(RW).
.\Target.lin(12): warning: L6314W: No section matches pattern *(ZI).
Program Size: Code=184 RO-data=4256 RW-data=0 ZI-data=0
.\Target.lin: Finished: 0 information, 2 warning and 0 error messages.
User command #1: cmd.exe /C copy Out\LM3S_256.axf ..\LM3S_256.FLM 1 Datei(en) kopiert.
".\Out\LM3S_256.axf" - 0 Error(s), 2 Warning(s).

Read-Only
Author
Mike H
Posted
28-Jun-2010 10:11 GMT
Toolset
ARM
New! RE: Luminary LM3S5B91

With an Eval-Version you are not able to create a *.FLM-File! This is the reason why you get the error-message

Read-Only
Author
Steffen Rose
Posted
8-Jul-2010 07:57 GMT
Toolset
ARM
New! RE: Luminary LM3S5B91

Better would be a compile error...

Keil v4.12 solved the Flashing error.
Thanks to the TI and Keil support.

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