External Flashing: Difference between revisions
Created page with "== SOIC-8 and DIP-8 Pinout == frameless|400x400px == Example == frameless|600x600px" |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== SOIC-8 and DIP-8 | External flashing is required when switching from the original OEM firmware to coreboot firmware. Once a system is running coreboot, it can be updated internally using flashrom. | ||
== SOIC-8 and DIP-8 Flash Chips == | |||
[[File:SOIC8 and DIP8 Pinout.png|frameless|400x400px]] | [[File:SOIC8 and DIP8 Pinout.png|frameless|400x400px]] | ||
== | |||
[[File: | The orientation the flash chip can be determined by identifying the circle near pin 1 (SOIC-8, soldered) or the semicircle at the top of the chip (DIP-8, socketed). Before removing DIP-8 flash chips, be sure to note the original orientation on the motherboard to ensure correct reinstallation. | ||
== CH341a == | |||
[[File:DIP8 Flashing Labeled.png|frameless|600x600px]] | |||
DIP-8 flash chips can be inserted into the CH341a for flashing, as depicted above. | |||
[[File:H8SCM Flashing.png|frameless|600x600px]] | |||
SOIC-8 flash chips can be attached to the CH341a using a clip. In the above image, the line for pin 1 is colored red to facilitate quick orientation of the flash clip onto the motherboard. | |||
=== Flashrom Support === | |||
The CH341a is supported by flashrom. | |||
<nowiki> | |||
# read the flash chip | |||
flashrom -p ch341a_spi -r image.rom | |||
# write to the flash chip | |||
flashrom -p ch341a_spi -w image.rom | |||
</nowiki> | |||
=== Voltage Verification === | |||
[[File:CH341a Testing.png|frameless|600x600px]] | |||
Many different USB flashers are sold as "CH341a", often without any specific product identifiers in the name besides "CH341a". Some flash tools using the CH341a supply the incorrect voltage, often 5.0V, to the data lines (pins 1, 2, 3, 5, 6, and 7) instead of 3.3V. A voltmeter can be used to test your specific CH341a variant. To measure the voltage at each pin, hold the voltmeter's ground to pin 4 (GND) and touch the probe to each of the other pins on the CH341a. In the image above, the red probe is connected to pin 8 (VCC) and the black probe is connected to pin 4 (GND). If they all ready ~3.3V, your CH341a was designed correctly. It is possible to fix a faulty CH341a, but this requires soldering. | |||
=== Voltage Verified CH341a Programmers === | |||
{| class="wikitable" | |||
|+ | |||
!Product URL | |||
!Remarks | |||
!Tested By | |||
|- | |||
|https://www.aliexpress.us/item/2255800921201231.html | |||
|The 7 pins used for DIP-8 and SOIC-8 chips all measured 3.3V. A clip adapter for SOIC-8 chips is not included in this product. | |||
|[[User:Mrothfuss|mrothfuss]] | |||
|} |
Latest revision as of 14:44, 28 February 2025
External flashing is required when switching from the original OEM firmware to coreboot firmware. Once a system is running coreboot, it can be updated internally using flashrom.
SOIC-8 and DIP-8 Flash Chips
The orientation the flash chip can be determined by identifying the circle near pin 1 (SOIC-8, soldered) or the semicircle at the top of the chip (DIP-8, socketed). Before removing DIP-8 flash chips, be sure to note the original orientation on the motherboard to ensure correct reinstallation.
CH341a
DIP-8 flash chips can be inserted into the CH341a for flashing, as depicted above.
SOIC-8 flash chips can be attached to the CH341a using a clip. In the above image, the line for pin 1 is colored red to facilitate quick orientation of the flash clip onto the motherboard.
Flashrom Support
The CH341a is supported by flashrom.
# read the flash chip flashrom -p ch341a_spi -r image.rom # write to the flash chip flashrom -p ch341a_spi -w image.rom
Voltage Verification
Many different USB flashers are sold as "CH341a", often without any specific product identifiers in the name besides "CH341a". Some flash tools using the CH341a supply the incorrect voltage, often 5.0V, to the data lines (pins 1, 2, 3, 5, 6, and 7) instead of 3.3V. A voltmeter can be used to test your specific CH341a variant. To measure the voltage at each pin, hold the voltmeter's ground to pin 4 (GND) and touch the probe to each of the other pins on the CH341a. In the image above, the red probe is connected to pin 8 (VCC) and the black probe is connected to pin 4 (GND). If they all ready ~3.3V, your CH341a was designed correctly. It is possible to fix a faulty CH341a, but this requires soldering.
Voltage Verified CH341a Programmers
Product URL | Remarks | Tested By |
---|---|---|
https://www.aliexpress.us/item/2255800921201231.html | The 7 pins used for DIP-8 and SOIC-8 chips all measured 3.3V. A clip adapter for SOIC-8 chips is not included in this product. | mrothfuss |