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: Calling BOOTLOADER from TI-RTOS

Part Number: MSP432E401Y

Hi,

I have a custom board and TI-RTOS based code that currently launches 3 main threads that reads ADC ports, send values via ethernet and controlls LEDs. The code works perfectly fine but I also want to add capability to update the code over ethernet. I used bootloader examples given and achieved to send examples with no problem and were able to update the code. When I try to send my own code for the first time I can do it with no problem, Bootloader and the application code works just fine. However, when I try to resend the same application code again bootloader writes it to address 0x0 instead of 0x4000. What might be the cause of this problem?

I've tried to explain it with a flowchart as well.

  • Hello Yagizalp,

    So from what I understand, the issue is then with the boot loader writing the program to the wrong address? That would make me think that either the APP_START_ADDRESS or the starting addressing for your target program in the linker file isn't set to 0x4000.

    Best Regards,

    Ralph Jacobi

  • Thanks for the reply. I found the issue it was not with the linker file but with a missing project description. In Properties>Build>ARM Compiler>Predefined Symbols I've added USE_FLASH_BOOT_LOADER. Since this was missing the code would jump to ROM bootloader instead of flash.