This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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?

Parents
  • 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.

Reply
  • 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.

Children