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

Forum Post: RE: [FAQ] TMS570LC4357: How to execute a code in Flash Bank-7

$
0
0
Use below two codes to execute the code in bank7 of the flash. e2e.ti.com/.../2211.LED_5F00_Blinky_5F00_Project_5F00_at0x20020_5F00_Launchpad_5F00_LC4357.zip e2e.ti.com/.../6835.UART_5F00_Bootloader_5F00_LC4357_5F00_New.zip Here i modified LED blinky application file linker file to store application in bank7. Follow below steps in CCS to run the application in bank7. 1. First import and build the application project (i.e. LED Blinky project in this case). 2. Once you build the application project now load it into the flash using below option: Now browse project: click on OK to load the project into the flash. 3. Once you load the application using above process, now make sure to configure "Necessary sectors only" for erase options of bootloader project. This is important because, we should not erase the already programmed application, right? 4. Once you did that now you can directly debug the bootloader project. 5. Here i modified bootloader to call the application present in the 0xF0200000. So, once you run this bootloader it will call the application directly and will execute it. 6. You can see the PC value; it is showing that execution is happening in bank 7. And also, i observed LED blinking without any issues.

Viewing all articles
Browse latest Browse all 224311

Trending Articles