Other Parts Discussed in Thread: MSP430-FLASHER,
Tool/software:
Dear Support Team,
I am writing to seek your guidance regarding an issue with the MSP430-FLASHER tool when programming the MSP430F249 microcontroller. Below are the details of the situation:
Overview:
When programming the MSP430F249 using the MSP430-FLASHER tool with a HEX file created in Code Composer Studio (CCS), the data in Segment B of the flash memory (address range 0x1080–0x10BF) is unexpectedly erased, resulting in all data being set to 0xFF. Segment B contains preloaded data that should not be modified during programming. However, this erasure behavior does not occur when writing the same program directly using CCS.
Details:
- Programming Tool: MSP430-FLASHER.
- Programming Method: JTAG interface.
- HEX File: Created using CCS and expected to write only to the ROM region.
- Behavior Observed:
- When using MSP430-FLASHER, Segment B's contents are erased (set to 0xFF).
- When programming via CCS, Segment B's contents remain intact.
Questions:
- Does the MSP430-FLASHER tool perform a Mass Erase operation by default before writing the HEX file, which could include Segment B?
- Are there any specific settings or configurations within MSP430-FLASHER that can be used to prevent Segment B from being erased?
- Could this behavior be related to write protection settings or other memory-specific configurations for Segment B?
- What steps can be taken to ensure the preloaded data in Segment B is preserved during programming with MSP430-FLASHER?
Additional Information:
- Segment B is being used to store critical preloaded data, so maintaining its integrity during programming is essential.
- The HEX file being programmed does not include any addresses corresponding to Segment B.
We would appreciate your insights into the potential cause of this issue and any recommendations to resolve it. Please let us know if additional information or logs are required for further investigation.
Thanks,
Conor