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.

MSP430 Bootloader with out using BSL

Other Parts Discussed in Thread: MSP430F5419A

Hi ,

I am  using MSP430f5419A .I would like to keep two application in Flash( one for Backup) and boot loader code . I am using IAR . 

is there any  Documents or Example for creating a bootloader without using BSL and how to write Linker Script also .?

Thanks ,

  • I don't know about any documentation to point you directly to, but I do this on some products.

    In IAR, setup a workspace. You need to create two separate projects within the workspace. These each get compiled separately and have their own linker .xcl files.

    You will need to manually modify the linker files to allocate the flash regions between the bootloader and application. You will also need to establish a fixed entry point for the application so the bootloader knows where to jump to to start the application.

    Also, since the bootloader will likely occupy the region around the vector table, you may need to do some work on vector redirection (we use shared RAM vector table, and when app starts it overwrites the table with it's own vectors).

    Hope that helps get you started.

  • Dear brain ,

    I have created to 3 separate project Apllication1 and Application2and Boot loader code ( with separate linker script )  in single work space  .

      I am using IAR  workbench. How can I build all these projects together  and flash it into same microcontroller   (MSP430) ? 

**Attention** This is a public forum