This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0G3507: Program starting address modification...

Part Number: MSPM0G3507
Other Parts Discussed in Thread: UNIFLASH,

Tool/software:

Hi,


I have been trying to modify/change the stating address of the MCU/PROGRAM. I have listed all the process whichever I did so far.

1. I have added/created the customized linker file and configured properly.


2. I have created the custom startup file to change the vector table initial address while during execution start..

After those steps, the program is being built properly. But it is not programmed by the flash programmer.

And I'm getting the error which is attached below.

Is anything need to changed/ configured other than that?

Kindly, give some ideas to complete my implementation. 

  • And I'm getting the error which is attached below.

    Try to run factory reset to recovery MSPM0.

    For CCS unlock MSPM0, please refer to https://www.ti.com/lit/pdf/slaaed1 7.1.4 Unlock Through CCS

    Also, you can run  factory reset in uniflash setting.

    Is anything need to changed/ configured other than that?

    Need to add a bootloader at the 0x0 address, set vector to your location, then jump to it, 0x8000.

    You can refer to this example as bootloader:

    C:\ti\mspm0_sdk_2_04_00_06\examples\nortos\LP_MSPM0G3507\boot_manager\boot_application

    Also, in app code start from 0x8000, also need to set int vector to 0x8000 in cmd file(linker file)

    Also, this is the example app project:

    C:\ti\mspm0_sdk_2_04_00_06\examples\nortos\LP_MSPM0G3507\boot_manager\bim_sample_image

    This example show you how to setup a app code start from not 0x0 address.