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.

RTOS/MSP432E401Y: Request a Bootloader example

Part Number: MSP432E401Y


Tool/software: TI-RTOS

Hi

I want to implement a TI-RTOS program and a bootloader. The TI-RTOS program starting address is 0x4000. The bootloader starting address is 0x0.
In the bootloader, download and write the TI-RTOS program to 0x4000 through the serial port or CAN. The bootloader can jump to the TI-RTOS program.
I would like to ask:
How to compile TI-RTOS program ( how to write cmd file or ...)?
Can you provide examples of bootloader and TI-RTOS programs?

  • Hi Dawei,

    I would suggest checking out the boot loader examples in the SDK.

    You can download the latest SDK here: https://www.ti.com/tool/download/SIMPLELINK-MSP432E4-SDK

    and the examples can be found via this path: <SDK_INSTALL_DIR>\examples\nortos\MSP_EXP432E401Y\boot_loader

    Thanks,

    Alexis

  • Hello Dawei,

    You can use the bootloader provided in the SimpleLink MSP432E4 SDK.

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

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

    You will also need to update the Vector Table Register to look for the vector table at the new location (in this case 0x4000). For this you might have to add the following line to .cfg file in the TI-RTOS dependency file of the TI-RTOS application project. If you import any TI-RTOS project into CCS, a TI-RTOS dependency file (like tirtos_builds_MSP_EXP432E401Y_release_ccs) is generated. Open the relase.cfg file in this TI-RTOS dependency project and add the following line immediately after the variable m3Hwi is initialized.

    m3Hwi.resetVectorAddress = 0x00004000;

    Hope this helps!

    Regards,

    Sai

**Attention** This is a public forum