BIOS chip flashing on UP Squared

From UpWiki
Jump to: navigation, search
Warning Warning: The procedure described below is a risky operation reserved to people that know what they are doing. Do it only if you're really sure and you've tried every other method.

If the board becomes unusable due to a bad BIOS upgrade (e.g. if the wrong BIOS image was used, or if the flashing step was interrupted), and you cannot re-flash it with the regular bios update the BIOS chip can still be re-flashed with an EEPROM programmer with the correct image.

This document is a guide for a known working re-flashing procedure.


  • BIOS image file for the UP Squared (available from the [1])
    This image is exactly 8388608 bytes in size. In UP Squared BIOS update releases, it is a .bin file.
  • SPI programmer
    The Dediprog SF-100 is known to work, but any SPI programmer should do.
  • flashrom (version 0.9.9 or newer for Dediprog support)


  1. First, make sure you have made a custom cable to connect SF100 and UP Squared CN22 connector.
  2. BIOS cable.png

  3. Connect SF100 and UP Square.
  4. BIOS 1.PNG

  5. Execute the program “DediProg Engineering”.
  6. BIOS2.PNG

  7. Click Detect. Check the IC name and click ok.
  8. Bios3.PNG

  9. If Memory List is empty, please check the connectivity between UP Square and SF100.
  10. BIOS4.PNG

  11. Click File icon and click Find to select bin file.
  12. BIOS5.PNG

  13. Select target bin file and click Open.
  14. BIOS6.PNG

  15. Click OK.
  16. BIOS7.PNG

  17. You can see .bin file is loaded.Then click Batch.
  18. BIOS8.PNG

  19. After click will start flashing BIOS.
  20. BIOS9.PNG

  21. Flashing BIOS done.
  22. BIOS10.PNG