Other Parts Discussed in Thread: MSP430F247
Hi,
Need advice please.
I need to create a boot loader for my application and hope to explain what I am trying to achieve. My main application will have a boot loader function (1)either to be used to load in the latest boot loader into the micro to a different address as my main application and then to reboot into the new boot loader program and to flash in the main application into the micro by erasing the old main app the writing the new main app. This option I have done before but now I would like to know if I could do the following and if it is possible?
(2) If I have created a main application and a boot loader application and I have configured the linker file that neither would like in the same flash address but the only problem is the reset vectors which will be required to be written over before rebooting the micro so that the chip will now where to start after reboot. (Bootlader)
Now option 2 I really would like to do but I am not at all sure how to do this? I am using the last IAR and the chip is the MSP430f247.
There are going to be few thousands of these products and they need to be updated via GSM. The new program will be stored on the on board memory before the Bootlader is enter too.
Maybe I don't understand the architecture 100% as option 1 I wrote the new programs each time to the micro where now I would like to two programs sitting in the flash and I would like to run either the main app or the Bootlader app and I am not sure what requires to be updated when jumping from the main app to the Bootlader app.
Please help.
Many thanks.