Dediprog SPI flashing yields an unbootable system for every version except 5.2 which came with it
I bought a UP Squared board, which came with BIOS 5.2.
When I follow the instructions on using a Dediprog SF600Plus (rather than SF100) + a chip clip (rather than custom cable) + Dediprog's own SPI flashing software, I was able to successfully dump the v5.2 BIOS as a 16MB backup file. However, when I attempt to write BIOS v1.8 or or v3.3 (thanks for that @camillus) or v4.0 to the flash chip, the SPI programmer says everything verifies (meaning it read back the content and confirmed it was the same as the file I wanted written), but the UP Squared didn't boot (as evidenced by no HDMI output.)
When I use the same setup to write the v5.2 backup SPI dump back to the board, it once again boots fine and shows HDMI output. Unfortunately I didn't realize I needed a custom serial cable connection so I didn't get one, and I don't particularly want to pay $30+ for shipping a single cable, so I can't really debug where, if anywhere, boot is failing.
Any thoughts on why writing files like UPA1AM40.bin to the device fails to boot, but writing my backup back to it boots fine?
As an alternative I had tried using the GO.nsh approach by booting v5.2 into a UEFI shell and then running GO.nsh. There was one warning
"Not all of the file data will be written to flash because the file is longer than the flash area to be written to:
File Length: 16777216
Write Length: 16773120"
However, everything seemed to succeed after that based on the output messages. However when it was done, it would not boot. I dumped the flash with the Dediprog, and found that the shell method had correctly laid down exactly what was in the file and there were no diffs.
So it's largely the same question: is there any reason why I shouldn't be able to put 4.0 onto a system that already has 5.2 on it? Is there some anti-downgrade protection in place? Or is there maybe some super long-running initialization I need to wait for after reflashing a device?
- All Categories
- 105 Announcements & News
- 57 Product News - New Product/Product Change Notice/ End-of-life
- 186 Welcome Developers!
- 55 Unboxing & Project Sharing
- 50 Tech Updates
- 693 UP Products
- 11 UP 7000
- 1 UP Squared i12
- 10 UP Xtreme i12
- 11 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 19 UP Squared V2
- 59 UP 4000
- 24 UP Xtreme i11
- 35 UP Squared 6000
- 60 UP Squared Pro
- 143 UP Xtreme
- 837 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 222 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 216 Starter Kits & Peripheral