It’s a breadboard with an extender for a Raspberry Pi’s pins flipped upside down, a Raspberry Pi Pico, jumper wires, and a clip that came with a CH341A that suffers from the issue of being 5V.

The issue I think would be length of the wires.

Any thoughts? I’d consider soldering something together but I don’t have a soldering iron that would be great for something so small and I’m working with what I have on hand.

I also have a Raspberry Pi 4 and the CH341A that has the voltage issue if anyone has a better idea that might work.

  • NeoNachtwaechter@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 hours ago

    Take care of a good power supply to the Pi and to that flasher device.

    From my experience, it often fails if you simply use power from USB. Then I connect a real power supply directly to the small device and it all works.

  • pastermil@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    5 hours ago

    You should check whether Pi Pico is supported by flashrom.

    If it’s supported, then you can flash. At the end of the day, your BIOS doesn’t care how it get in there.

    • CorrodedOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      Could errors during the flashing process be dangerous though or would it just mean trying again until it works?

      • Dave.@aussie.zone
        link
        fedilink
        arrow-up
        1
        ·
        2 hours ago

        You are flashing the chip directly so apart from inadvertent short circuits and such if it doesn’t work you can just keep trying until it does.

        As for wire length it all depends on how fast they clock the SPI bus when flashing. You’ll probably be able to get away with 20cm or so without difficulty , I’ve driven SPI displays with that kind of wire length before.

        • CorrodedOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          5 hours ago

          Because it can be very finicky and I don’t know what the ramifications would be if the wire length did cause issues flashing the firmware.

          I would follow the installation steps and make a backup and check that back up but I don’t know how badly errors during the flashing process would effect the laptop.

          Plenty of people also seem to use the CH341A unmodified without issue but I don’t know if the 5V issue may cause problems in rare situations or if it’s a complete gamble of whether or not it could brick your device. If it’s only an issue if you do something like jostle the clip while it’s doing something than it would be a lot easier for me to just go that route

          • Possibly linux@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 hours ago

            Chances are it is fine. I don’t believe the flasher goes terribly fast. Also isn’t there some sort of checksumming? I’ve never owned one of these devices but they are pretty popular so chances are if there was a serious danger a quick search would show it

  • Sanctus@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 hours ago

    My thoughts are you should just try it. If the wire length is your biggest concern just try to minimize the distance between everything as much as possible. I assume the thinkpad can be positioned closer.

    • CorrodedOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 hours ago

      I’m guessing it’s either an issue with the latency or internal resistance of the wires (as someone else mentioned) so unless I’m cutting and splicing the wires I don’t think that will matter

      • TheyCallMeHacked@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        57 minutes ago

        The length of the wire is actually more an issue of capacitance and interferences. But these issues are easily mitigated by reducing the spi speed

    • CorrodedOP
      link
      fedilink
      English
      arrow-up
      6
      ·
      5 hours ago

      Correct but it can be used to flash Libreboot on devices like the ThinkPad I mentioned in the title.

      I’m asking if this configuration would be effective considering I’ve heard of people having issues with longer wires causing problems. Adding jumpers and a breadboard is just adding to that length.

      • BCsven@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        4 hours ago

        Is the wire length problem some sort of latency issue or a resistance issue?

      • CorrodedOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 hours ago

        I think they were under the impression I want to install Libreboot on the Raspberry Pi. Maybe they didn’t get a good look at the photo or how it was cropped confused them