Discussion Forum

Run in debug mode, but fail after burn into Flash

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

DetailsMessage
Read-Only
Author
Software Engineer
Posted
1-Jun-2009 16:12 GMT
Toolset
ARM
New! Run in debug mode, but fail after burn into Flash

I'm using ARM MDK to develop TMS470 applications.

Everything works in debug mode with ULINK2.
I burn the image into internal flash. But it just can't work.

Anyone has exp on such case?

Read-Only
Author
Code Minkey
Posted
1-Jun-2009 16:24 GMT
Toolset
ARM
New! Anyone has exp on such case?

No,

I just type in the code and let other people test it.

Minkey.

Read-Only
Author
Tamir Michael
Posted
1-Jun-2009 16:41 GMT
Toolset
ARM
New! RE: Run in debug mode, but fail after burn into Flash

I burn the image into internal flash. But it just can't work.

How do you know that?

Read-Only
Author
Software Engineer
Posted
1-Jun-2009 16:43 GMT
Toolset
ARM
New! RE: Run in debug mode, but fail after burn into Flash

I have leds turned on to show the function present

Read-Only
Author
Software Engineer
Posted
9-Jun-2009 21:38 GMT
Toolset
ARM
New! RE: Run in debug mode, but fail after burn into Flash

this issue fixed.

the problem is from startup code.

To make it run standalone, we have to init the RW, ZI with the right memory map. Usually, it is done by the runtime lib __main. But our project have to be done by ourselves.

I guess in debug run. The host/debugger init the RW, ZI regions even without the keil runtime init __main. That's why we can run without right startup.

Read-Only
Author
Hans-Bernhard Broeker
Posted
9-Jun-2009 22:27 GMT
Toolset
ARM
New! RE: Run in debug mode, but fail after burn into Flash

But our project have to be done by ourselves.

Huh? What kind of argument is that supposed to be? What does you doing your own project have to do with letting the compiler do its job?

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