Other Parts Discussed in Thread: CCSTUDIO, , MSP430WARE
I have a couple PCBs where the MCU is a MSP430FR5949 instead of _5849. We have a loader piece of firmware that we put on using CCStudio. This loader in turn will load a hex file of the 'real' firmware allowing users to update in the field. It works fine on the _5849 and I modified it to run on the _5948 (48K).
It seems like it should work on the _5949 without any changes since both are 64K. After loading firmware I am having an issue with memory segmentation. It crashes during erase that specifies memory start/end. Since both MCUs are 64K and in same family, it seems they should be laid out the same.
In the firmware definitions I see
#define USERSTART 0x5200 //end of Loader reserved FRAM - on 5949 use 5000, 5849 use 5200
#define USEREND 0x13FFF //end of physical FRAM MSP430FR58x9 63K
#define USER_CK_END_L 0xFF7F //applies to checksum also don't erase our vectors
#define USER_CK_START_H 0x10000 //Erase and checksum
#define USER_CK_END_H 0x13FFF //Erase and checksum
Note the comment on using different end of reserved memory for 5949 vs 5849. I have tried changing USERSTART to 5000 as suggested, and moving USER_CK_END_L back by 200 as well. I have poked around in the documentation and can't find anything to sort this out. Would appreciate any insight someone could offer.
regards
Jim