Other Parts Discussed in Thread: C2000WARE
Hello!
I have an app image in the internal flash of CPU1. This image begins at address 0x90000 (not the default reset address). To the reset address I download a program that does (almost) nothing except jump to address 0x90000 using asm(" LB #90000h"). When I run the program at the reset address from debugger the app (just a modification of the blinky example) works fine. If I boot from flash there is a reset and the app doesn't start.
Do you have any idea what is the difference? Is it possible that the flash is somehow in secure mode? I read in some other thread for another C2000 that there could be an issue with including RTS. Does that even make sense? It does work from debugger.
The things that are done before jumping:
Disable WD, copy functions including wait_us to ram. I tried other versions also like servicing the WD right before and after the jump, jumping directly to _c_int00 of the app image without passing through the LB in 0x90000 and many other combinations.
Thank you for your help!
Rachel