Attached a TI-TXT file (MSP430FR59xx) that fails to be parsed correctly because the last block is at address above 64k boundary.
Failure is in ParseTiTxt() where the addresses array elements are parsed from the TI-TXT file. In the attached file, the 20-bit address of the 4th block @123EE is not converted correctly.
firmware.txt