Hello,
I am using FET-Pro430 software with MSP-FET430UIF programmer (via JTAG) to program a MSP430F2418 micro-controller. My program didn't flash properly in the below scenario.
I have two codes in TI-TXT format (code1 and code2). Both the codes are flashing and working perfectly. I want to combine the two codes and flash it. Their address spaces do not intersect with each other except in the interrupt vector space (Address range 0xFFC0 - 0xFFFF). What I want to do for the interrupt vector space is that,
Use 0xFFC0 - 0xFFFD range interrupt vector data from code2
Use 0xFFFE - 0xFFFF (which is the reset address) data from code1.
So my combined code has the following components
1. Code data from code1 except interrupt vector data
2. Code data from code2 except interrupt vector data
3. Reset address from code1
4. All other interrupt vector data from code2
When I tried to flash this combined code, writing was completed successfully but when I read back interrupt vector data (0xFFC0 - 0xFFFF) was not written.
If I am elaborating more, these are things I did,
1. Opened the combined code file written in TI-TXT format - It was read properly by FET-PRO430
2. Erasing and blank checking was done successfully
3. Writing and verifying (PSA for verification) was completed successfully
4. Read back and the compared with original data. But interrupt vector data (0xFFC0 - 0xFFFF) was not matching.
In order to verify weather there is an issue with the combination I flashed these combinations also
Combination1
1. Code data from code1 except interrupt vector data
2. Code data from code2 except interrupt vector data
3. Interrupt vector data from code2
Combination2
1. Code data from code1 except interrupt vector data
2. Code data from code2 except interrupt vector data
3. Interrupt vector data from code1
Both of the above combinations flashed and worked and perfectly.
Any ideas about the issue ?
Details of my tools are
FET-Pro430 software version - 3.4-0
MSP-FET430UIF firmware version - 3.05.01.001
MSP-FET430UIF hardware version - 1.4a
Thanks in advance