Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 227514

Forum Post: TMS570LS3134: Jump to address 0x00000000 from application

$
0
0
Part Number: TMS570LS3134 Hello, I have a bootloader situated at the address 0x00000000. My application is starting from 0x00008000. I want to jump from my application to the bootloader resetVector. I don't want to use the warm reset (system reset) because I need to keep the output GIO at the same state when the application decides to jump to bootloader. I tried this: void (*pBootloaderResetHandler)(void); pBootloaderResetHandler = (void(*)(void))(0x00000000); /* start the bootloader program */ pBootloaderResetHandler(); but it always falls in _prefetch. Is it possible to disable prefetch and program flow prediction? Is it possible to jump to the bootloader without changing the state of GIO? Thanks for your help

Viewing all articles
Browse latest Browse all 227514

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>