antoszko / msp430programmer

Turn NUCLEO blue pill into MSP340 Programmer
0 stars 0 forks source link

Add support for Information Flash #2

Open antoszko opened 3 weeks ago

antoszko commented 3 weeks ago

Currently in jtag_programmer.c in verify_hexfile_and_return_program_linklist I only check if (address >= 0xF800 && address <= 0xFFFF) which is the main memory but MSP430G2231 also has 256 bytes information memory at 010FFh to 01000h which I should check as well. This is kinda wasted space if I don't use it.

antoszko commented 3 weeks ago

Looks like I support it in program_sequence() line 173-193. Also stop user from trying to erase segment A (configuration area).