Hi.
I'm developing an update system similar to MSPBoot but using 3 images (current application, downloaded image and backup image).
Due to my code size (little over 100 kB) and due to a TI library I'm using I need to use large code model. I'm using IAR.
I don't need any peripheral interface, my download image is downloaded in my current application and stored in download area. After validation I should reset the MSP430 and the main memory bootloader should copy the downloaded image to application area.
I already went through MSPBoot app note and code. But it's only working for low flash memory address and I need to use low/high flash memory address. After reading some forum threads it seems TI was supposed to launch an update to MSPBoot to devices using large code model. I saw it was release one for FRAM devices and CCS.
Is it going to be released an update to MSPBoot for FLASH parts and IAR?
According to what I read my main problem should be generating the linker file (in MSPBoot there were scripts that only work for small code model). Can anyone help me with it?
I'm planning to use the following memory distribution:
| Start | End | Start | End | Size | 512 B sectors | |
| App area | 0x0C000 | 0x0EFFF | 0x10000 | 0x0373FF | 0x2A400 | 338 |
| Boot area | 0x0F000 | 0x0FFFF | 0x01000 | 8 | ||
| Download area | 0x37400 | 0x617FF | 0x2A400 | 338 | ||
| Backup area | 0x61800 | 0x8BBFF | 0x2A400 | 338 | ||
| Unused | 0x8BC00 | 0x8BFFF | 0x00400 | 2 | ||
| Total | 0x80000 | 1024 | ||||
Also I'm thinking of using the following location for the application interrupt vector:
| Start | End | Size | |
| App reset | 0x0EFFE | 0x0EFFF | 0x00002 |
| App proxy vector | 0x0EF80 | 0x0EFFD | 0x0007E |
| Total | 0x00080 |
Is my memory distribution correct?
Also, because MSP430F6x has vector redirect to RAM, at startup I can copy my proxy vector table to RAM and set the vector redirect to RAM instead of using the proxy table. Is this correct?
Regards,
Jorge Cunha