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?
- 302 All Categories
- 104 Announcements & News
- 50 Product News - New Product/Product Change Notice/ End-of-life
- 184 Welcome Developers!
- 50 Unboxing & Project Sharing
- 24 Tech Updates
- 476 UP Products
- UP Element i12 Edge
- 1 UP Squared V2
- 2 UP 4000
- 23 UP Xtreme i11
- 30 UP Squared 6000
- 42 UP Squared Pro
- 137 UP Xtreme
- 805 UP Squared
- 1.4K UP Board
- 87 UP Core Plus
- 219 UP Core
- 3 UP Xtreme Lite
- 43 UP AI Edge
- 215 Starter Kits & Peripheral