Flash ROM from the X16

Chat about anything CX16 related that doesn't fit elsewhere
BruceMcF
Posts: 1336
Joined: Fri Jul 03, 2020 4:27 am

Flash ROM from the X16

Post 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.

Wavicle
Posts: 285
Joined: Sun Feb 21, 2021 2:40 am

Flash ROM from the X16

Post 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.

Wavicle
Posts: 285
Joined: Sun Feb 21, 2021 2:40 am

Flash ROM from the X16

Post 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).

Post Reply