Issue programing FLASH piecemeal
Mysterious bug found during AMC13 production testing; not much investigation yet. After implementing code to make the FlashErase function increment different depending on what Flash chip was detected, I found that AMC13s would fail to boot correctly from flash in any case where and specific part of the flash was programmed (e.g. $ AMCToolFlash.exe -c X -f ps
, programming only the Spartan flash).
However, there was no issue when using the "pa" option of that tool to program all sectors simultaneously. Since new AMC13s have recently been shipped out, which require the flash sector update, I've temporarily disabled all functions to program the Flash memory, save for this "pa" option. This is necessary, as users will attempt to program their AMC13s when they receive them, and if the Flash is damaged (via the process described above), their module will become un-useable and must be reprogrammed over JTAG.