We have successfully flashed a chip using the SPI interface. serprog: Programmer name is "frser-duino" Found Macronix flash chip "MX25L8005" (1024 kB, SPI) on serprog. The output should look like this: flashrom v0.9.9-91-g0bfa819 on Linux 4.10.0-28-generic (x86_64) flashrom is free software, get the source code at Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). To write the new BIOS to the chip we use the following command: sudo flashrom -p serprog:dev=/dev/ttyUSB0:2000000 -w If the previous command worked as expected we are now ready for our final step. Serprog: Programmer name is "frser-duino"įound Macronix flash chip "MX25L8005" (1024 kB, SPI) on serprog. Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). The output should look like this: flashrom v0.9.9-91-g0bfa819 on Linux 4.10.0-28-generic (x86_64)įlashrom is free software, get the source code at To verify that everything is working correctly we first run flashrom without any operations: sudo flashrom -p serprog:dev=/dev/ttyUSB0:2000000 This need to be brought down to 3.3v using a level shifter. The Arduino operates on 5V meaning its logic levels are also at 5V. The motherboard manual mentions a “MXIC 25L8005” and if we look at the board we see that the model is indeed a 25L8005 made by Macronix.Įmergency edit here: I know understand why people use resistors between the Arduino pins and the chip. Usually the writing on the chip is everything we need as it states the manufacturer and model number. The next step is to identify what brand and type of chip we are dealing with in order to find the datasheet. The following page provides instructions on how to locate the bios chip: In case the location is not documented we have to find it ourselves. In the manual we find a board layout that shows the location of the chip, to the right of pci slot 3. The manual of this board can be found on the ASUS website (a direct link can be found in the list of references). Prepare the Arduino and installing flashromĪs mentioned in the introduction we are using an ASUS P5B motherboard.Find pinout and operating voltages (important).Here is an outline of the steps (some of these steps are not strictly necessary but I figured they might help the uninitiated): We will be using a Arduino Duemilnove (uno, mega or clones do also work) and a ASUS P5B motherboard that no longer boots after a failed bios update. In this post I will explain how to flash bios chips with an Arduino.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |