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.

MSP430F5659: Custom Bootloader Implementation

Part Number: MSP430F5659


Tool/software:

Hello TI Community,

I'm developing a custom bootloader for the MSP430F5659 microcontroller. I've set up my project as follows:

Current Implementation:

  • Created two separate projects: one for the bootloader and one for the application
  • Modified the bootloader's linker script to:
    • Start address: 0x8000
    • Size: 4KB
  • Modified the application's linker script to:
    • Size: 28KB
  • Basic functionality: The bootloader blinks an LED rapidly 3 times, then jumps to the application code start address

Questions I'm struggling with:

  1. Reset Vector Configuration: What modifications are needed for the reset vector when implementing this dual-image architecture? Since I have both a bootloader and application code, I'm unsure how to properly handle the reset vector to ensure correct system initialization.
  2. Proper Flashing Procedure: What is the correct procedure for flashing both projects onto the device? Should I flash them separately or combine them into a single image? Are there specific considerations for preserving the bootloader when updating the application code?

Has anyone implemented a similar setup with the MSP430F5659? Any examples, code snippets, or documentation references would be greatly appreciated.

I've also added Memory Organization of MSP430F5659 below.

**Attention** This is a public forum