File site/docs/install/spi.md changed (mode: 100644) (index e8b9f54..a6b8e09) |
... |
... |
Higher speeds might work nicely, on Pico 2. |
214 |
214 |
Do not buy CH341A! |
Do not buy CH341A! |
215 |
215 |
------------------ |
------------------ |
216 |
216 |
|
|
217 |
|
This section was heavily expanded, on 19 January 2025, because we see many |
|
218 |
|
people online still talking about the CH341a. Therefore, the hatred has been |
|
219 |
|
amplified. Please read this section carefully, to know why we advise against |
|
220 |
|
use of this particular programmer. |
|
221 |
|
|
|
222 |
217 |
NOR flashes on libreboot systems run on 3.3V DC or 1.8V DC, and this includes |
NOR flashes on libreboot systems run on 3.3V DC or 1.8V DC, and this includes |
223 |
218 |
data lines. CH341A can have 5V logic levels on data lines, which can damage your |
data lines. CH341A can have 5V logic levels on data lines, which can damage your |
224 |
219 |
SPI flash and also the southbridge that it's connected to, plus anything else |
SPI flash and also the southbridge that it's connected to, plus anything else |
|
... |
... |
resistors) performed, on the black CH341A:\ |
278 |
273 |
<img tabindex=1 src="https://av.libreboot.org/ch341a/0001_th.jpg" /><span class="f"><img src="https://av.libreboot.org/ch341a/0001.jpg" /></span> |
<img tabindex=1 src="https://av.libreboot.org/ch341a/0001_th.jpg" /><span class="f"><img src="https://av.libreboot.org/ch341a/0001.jpg" /></span> |
279 |
274 |
|
|
280 |
275 |
The green version (not shown above) may come with 3.3v logic already wired, but |
The green version (not shown above) may come with 3.3v logic already wired, but |
281 |
|
still needs to have pull-up resistors placed for WP/HOLD. |
|
|
276 |
|
still needs to have pull-up resistors placed for WP/HOLD. Some of them may have |
|
277 |
|
switchable voltage instead, via a physical toggle on the board. |
282 |
278 |
|
|
283 |
279 |
Disclaimer: A few (not many, but wily) people have criticised this section of the |
Disclaimer: A few (not many, but wily) people have criticised this section of the |
284 |
280 |
documentation, due to a misconception about what it really means and also because |
documentation, due to a misconception about what it really means and also because |
|
... |
... |
chip selects at once; it's just better, in every way. And the Raspberry Pi is |
317 |
313 |
completely reprogrammable, so you can use it for something else when you're |
completely reprogrammable, so you can use it for something else when you're |
318 |
314 |
done, e.g. UART dongle, or if you're wily enough, [PlayStation 1 Optical Disc |
done, e.g. UART dongle, or if you're wily enough, [PlayStation 1 Optical Disc |
319 |
315 |
Emulator](https://github.com/paulocode/picostation) - the Pico is simply a |
Emulator](https://github.com/paulocode/picostation) - the Pico is simply a |
320 |
|
highly versatile tool, much better value for money than the piece of junk |
|
321 |
|
CH341a. |
|
|
316 |
|
highly versatile tool, much better value for money. |
322 |
317 |
|
|
323 |
318 |
There is only one instance where the CH341a is *good*, and that is when you're |
There is only one instance where the CH341a is *good*, and that is when you're |
324 |
319 |
actually flashing a loose (not soldered) chip, in the ZIF socket on the CH341a |
actually flashing a loose (not soldered) chip, in the ZIF socket on the CH341a |
|
... |
... |
also newer models that have a voltage switch and logic level shifter already |
337 |
332 |
on the board, which can be very useful. *Clip-based* flashing (ISP / in-system |
on the board, which can be very useful. *Clip-based* flashing (ISP / in-system |
338 |
333 |
programming) is, specifically, what we advise against using the CH341a for. |
programming) is, specifically, what we advise against using the CH341a for. |
339 |
334 |
|
|
340 |
|
Even if you *are* doing socket-based flashing, we still suggest buying the Pico |
|
341 |
|
instead, though the Pico doesn't come with a ZIF socket; you can wire the Pico |
|
342 |
|
to a breadboard instead, if you want to use a socket for flashing. Then you |
|
343 |
|
will also have a good ISP device, and the overall cost covering both use-case |
|
344 |
|
scenarios is *lower* (cheaper part cost) than buying a CH341a *and* Pico; and |
|
345 |
|
the Pico can also emulate the PlayStation Optical Disc Drive in your |
|
346 |
|
playstation to boot from SD card instead of your dead CD drive, or could even |
|
347 |
|
be a [JTAG adapter](https://hackaday.com/2022/04/11/need-a-jtag-adapter-use-your-pico/) - |
|
348 |
|
again, the Pico is a reprogrammable device! Whereas, the CH341a is a fixed-function |
|
349 |
|
device (and performs poorly). |
|
350 |
|
|
|
351 |
335 |
Why pay $10 for a CH341a when you can pay $10 for a Raspberry Pi Pico which is |
Why pay $10 for a CH341a when you can pay $10 for a Raspberry Pi Pico which is |
352 |
336 |
electrically and functionally superior in every way? And the Pico is completely |
electrically and functionally superior in every way? And the Pico is completely |
353 |
337 |
open source, right down to the boot rom. |
open source, right down to the boot rom. |