Updated debug messages to be stored in flash.