Page 4 of 4

Flash ROM from the X16

Posted: Tue Jun 01, 2021 3:27 am
by BruceMcF


10 hours ago, Scott Robison said:




Modern systems have in large part (I think) migrated to more complicated hardware schemes so that there is room for multiple BIOS/ROM images in a single chip, so that in the event of an incomplete update, there is still a failsafe/unmodified version sitting next to the failed update. In the early days of field updatable chips, this was not the case. If you were only able to partially update the chip due to a power failure or some such, you very much would brick the device because you would have half of one BIOS and half of another (perhaps).



So the simple version would be a jumper to an EOR that inverts the high bit of the Flash ROM segment address, and a backup copy of system critical segments in segment 16 going up, so if you "brick" an update/mod, you move the jumper and the system boots?

Indeed, the "safe" update is to overwrite the backup copy, run the verify program, then switch the jumper and update the original updates. And the "safe" mod is to write the backups and switch the jumper and just don't mod the originals.

And if you got greedy and used those blocks for other thing, "oops, people shouldn't be greedy"?

Note that this assumes less than 16 segments of system critical segments, which I do indeed assume.


Flash ROM from the X16

Posted: Wed Jun 02, 2021 2:34 am
by Wavicle


On 5/31/2021 at 6:06 AM, grommile said:




I am confident, as someone who wrote device drivers and continuous background testing software at a single board computer manufacturer, that getting fully safe in-field updates to Flash ROMs requires software, hardware, and wetware support ?



Good hardware and software design can mitigate, but not remove, the need for wetware support; as we all know, Nature is very good at producing better idiots.



Not so sure about wetware support. I worked in Microsoft Surface for several years and don't recall any of the flash firmware updates involving user interaction. If you have one of our devices, you've probably seen a few firmware updates go by without realizing it.


Flash ROM from the X16

Posted: Wed Jun 02, 2021 2:38 am
by Wavicle


On 5/31/2021 at 10:18 AM, Scott Robison said:




Modern systems have in large part (I think) migrated to more complicated hardware schemes so that there is room for multiple BIOS/ROM images in a single chip, so that in the event of an incomplete update, there is still a failsafe/unmodified version sitting next to the failed update. In the early days of field updatable chips, this was not the case. If you were only able to partially update the chip due to a power failure or some such, you very much would brick the device because you would have half of one BIOS and half of another (perhaps).



True, true, and true. I believe the part number on the X16 prototype shown in one of those recent videos was a 4Mb / 512KB component (SST NOR flash I think, but I may be misremembering).