stacksmashing / pico-serprog

Flashrom/serprog compatible firmware for the Raspberry Pi Pico
GNU General Public License v3.0
179 stars 40 forks source link

query: 1v8 flash support/speed #9

Open hanetzer opened 10 months ago

hanetzer commented 10 months ago

Hello. Assuming this is 3v3 by default. I'm currently working on a ryzen pc, and have to flash fairly often. ryzen's use a 1v8 flash chip (as often as I've seen, at least), and I'm currently using a ch341a with one of those 1v8 stepdown addons. Would I be able to use this with the addon for my use case?

Also, how fast can this write, generally speaking? the ch341a is ok if its just an iteration of an existing coreboot build, but if I'm going back to stock or from stock to coreboot it takes quite a while.

nezza commented 10 months ago

I've used it before with a level-shifter, but don't know the specific add-on to comment on compat

ceres-c commented 5 months ago

Using it right now with a run of the mill aliexpress level shifter for SPI flashes (the addon you mention @hanetzer): works just fine It reads a 16MB flash (MX25U12873F) in 33'', writes coreboot on top of stock bios in 2' 50''.

--Edit-- I have just finished modifying a Pico to let it run at 1v8 natively and this also works

Desoldered the rp2040 chip to cut traces and connect as per rp2040 datasheet § 2.9.7.3, changed the flash to a GD25LQ16EEIGR (any uson8 25-series nor flash will do, I assume) and supplied the gpio rail with an external 1v8.