Save checkpoint every 64k.
Verify that block is correctly errased.
Verify that chunk is correctly written.
Force app cfg flush after writing checkpoint.
Display error code when download fails.
Get rid of 4/8KB erase commands since they only work within the first or
last 128KB sections of xflash.
Add additional erase and program error checking to xflash functions.