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.

TMS320F28P650DH: If change one line, will change ProgrammEntry's address, how to fixed ProgrammEntry address?

Part Number: TMS320F28P650DH


Tool/software:

Hi Team,

I let customer generate a min-project which can recurrent this issue, you can try to comment/uncomment the red box code, you can see the ProgrammEntry address change in map file.

Can you help to how to fixed  ProgrammEntry address? Thanks!

Please download project below:

https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/171/DX50D_5F00_BOOT_5F00_test.7z

Best Regards,

Zane

  • Hello Zane,

    This is due to these lines of code. You need to assign ProgrammEntry to it's own separate section in the linker command file that is not sharing a memory section with BootCom, BootloaderEntry, and MainEntry. You can do this by splitting up BOOTLOADER_BANK into sub-sections.

    When you delete code (which is taking up memory space) from BootloaderEntry, that changes amount of space taken up in the BOOTBANK section. That's why the ProgrammEntry address changes.

    Best,

    Matt