Tool/software: Code Composer Studio
Hello,
I am writing a bootloader project using the development kit for TMS570LC43x microcontroller. The dev kit is LAUNCHXL2-570LC43.
I need to write code in specific sections of the flash memory. The microcontroller has 4 MB flash memory.
There are 2 main problems:
1. How should I configure the code composer studio or HALCoGen to write the code in specific areas of the flash memory? currently when I write the code, it is written from the base address of 0x00000000. I need to write the code in specific sections of the flash, not the default case that starts from 0x00000000.
2. Then I need to write a bootloder code that starts from the default section of flash (0x00000000) and if the user presses a button, the program jumps to the code written in specific section of memory and executes it.
Please advise....
Thanks for your assistance,
Regards,
Farough