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 Main Memory Bootloader

Other Parts Discussed in Thread: MSP430F1132

Hello,

I have a requirement to design a Main Memory based Boot-loader for MSP430, for this i have followed to the below document  

http://www.ti.com/lit/an/slaa600a/slaa600a.pdf

The document is found to be pretty similar to my application and i understood the following things to proceed

1. Need to identify the Boot-loader memory and Application memory

2. Protect the Boot-loader memory for being accessible from Application memory

3. Need to have a proxy interrupt vector table or vector redirection for ISR to be handled by the application.

Now i have a question, the document speaks of handling the interrupts from Application using vector redirection. But if i need to handle the interrupts both in Boot-loader code and application code separately how to i proceed? 

  • I’m not familiar with ‘Vector Redirection’ for this kind of MCU but will try to assist.

    You don’t say which MCU are you using. Do you use an MCU which has the possibility to redirect the vectors to RAM? If yes this would be preferable over proxy.

    But in both cases you define the content of the vector tables. This can be any address as long it is an 16-bit address, and in my opinion also to Boot-loader code.
  • BSL is usually not needed in a lot of MSP430 applications and most MSP430 variants already have a BSL. Which MSP430 are you going to use? Does it have a BSL ROM or BSL Flash? Why do you need to use it?

  • Hi Leo,

    Thanks for your reply.

    I am using MSP430F1132 MCU, i dont have any possibility to use to redirect vectors to RAM, hence i chose to use proxy vector table in flash itself.

    Due to restriction in my hardware i will be not be able to use inbuilt BSL in ROM also, Hence i developing a flash based Boot-loader.

    I have query here that, In Interrupt vector table i will have a proxy address to route an Interrupt to ISR. But this proxy address will be in application memory area and its fine for application to have an ISR there.

    But if i use an interrupt in Boot-loader, already interrupt vector address has an proxy address to application ISR, then how to serve an interrupt in Boot-loader?
  • Hi old_cow_yellow,

    Thanks for your reply.

    I am using MSP430F1132 MCU.

    Due to restriction in my hardware i will be not be able to use inbuilt BSL in ROM also, Hence i developing a flash based Boot-loader.
  • Hi Nikhil,

    I am also trying the same....did you successfully implemented the main memory boot-loader.

**Attention** This is a public forum