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: Regarding linker file

Part Number: MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Dear TI,

We are working on CAN bootloader but we are facing some flash related issue:

In ST we usable change the linker file for for initialize the different flash address, but when we trying to do the same with TI we able to change the flash address inside the linker but as we build the the project , flash address get back init with default address, Can you please tell us how we can change the linker file with change after build.

for more todo for is that , we want to flash our app code on the different memory address of flash.

Best regards,

  • Hi Karan,

    If you're using a SysConfig enabled project you will need to disable the linker in SysConfig and edit it separately. Here are the steps I generally do.

    1. Build the project and go to generated source -> device_linker.cmd
      1. Copy the file contents
    2. Right click project -> Add new file -> create a new .cmd file
      1. Paste the contents into here
    3. Go into sysconfig under "Project Configuration", uncheck linker file generation
    4. Build project, it will now use your new .cmd file that you created in step 2.

    You can now edit the .cmd file how you need for your application.

    Regards,
    Luke