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.

MSP432E401Y: Required Linker script to build a binary for BSL scripter

Part Number: MSP432E401Y


Hello,

This may be and easy question we are failing to solve.

We have a custom bootloader using the BSL scripter. It is working and we can upload the blink examples provided in the BSL-Scripter package.

However, those blink demo apps do not come with source code. We fail to build a new application that works with the BSL-Scriper. We have defined the new application to be at address 0x00004000, but the vectors remain defined at address 0x00000000.

Anyone has access to the source code of the BSL-Scripter blink apps? Or how we have to change the linker script of an application to be compatible with BSL-Scripter?

Thanks,

  • Hi,

    You can import any example from the SDK that is nearest to your end application (e.g. blinky example) and then update the Linker File (.cmd) to reflect the Flash location from where the blinky application will run. As an example if the Bootloader is taking up the first sector, then the blinky application's .cmd file will need to be updated as below:

    FLASH (RX) : origin = 0x00004000, length = 0x000FC000
  • Hello,

    Thanks for the quick answer.

    That change along with adjusting the vecs did the trick

    .intvecs:   > 0x00004000

    Thanks,