Resolved! Checking if first time run since flashing
My program writes to flash but needs to know if it has been run before since the chip was re-programmed. I've set up a section in the flash memory that gets written to by the programFLASH2 (rx) : ORIGIN = 0x08100000, LENGTH = 1024K .option : ...