TI MSP430F2419 microcontroller.
I am writing a bootloader that reprograms the part and, when performing a block erase, the block that is erased is “off” by 256 bytes.
For instance, if I perform a dummy write to 0x2100 (start of FLASH) to start a block erase, the memory range from 0x2000 – 0x21FF is erased. The datasheet indicates that FLASH resides in the memory range of 0x2100 – 0x1FFFF, so I appear to be erasing 256 bytes of RAM and 256 bytes of FLASH when I do this erase. Also, 0x1FFFF – 120KB is 0x2000, not 0x2100. Is the datasheet incorrect or do the FLASH segments from an erasure standpoint need to start at 0x2000? If so, I assume that I should keep an eye on my RAM usage and stay out of the 0x2000 – 0x20FF range.