Skip to content

Flash sector update

Christopher Steven Cosby requested to merge flashSectorUpdate into master

The new production of AMC13s has a different flash chip, with a different sector size for it's sector erase command. This merge makes the software check which type of chip is in use, and increment differently through the sectors when erasing (during flash programming).

Separately (but possibly related), a strange feature emerged, where the command line tool options to program the different regions of the flash separately (i.e. programming just the spartan, etc.) would cause the AMC13 to fail to boot from flash on power cycling. Fortunately, the AMC13ToolFlash.exe tool has a command line option that still works: "-f pa" to program all the regions at once. To avoid the new AMC13s memory being damaged when they are reprogrammed, this merge includes the removal of all options to reprogram the flash, except for the one that works, while we investigate this bug.

Merge request reports