MacOS: R|W Programmers like CH341x BINs..?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TrumanHW
    TrumanHW
    • Jun 2021
    • 52
    • United States

    #1

    MacOS: R|W Programmers like CH341x BINs..?

    For years I tried figuring out how to R|W BINs from my CH341x programmer.
    From FTDI's pkg, Apps specifically claiming they work, I failed for ~8 years.

    I'd expect many here figured it out (easily), but in case not ...
    It's one of the few forms of "how-to" remuneration I can GIVE BACK.

    This group is both GENEROUS & literally BRILLIANT / GENIUS!!!


    This may be the easiest means to copy-paste:

    Code:
    SERIAL -to- USB - CH341 ROM (MacOS):
    
    
    Install xcode:				xcode-select --install
    Relocate xcode:				sudo xcode-select --switch /Library/Developer/CommandLineTools
    Install HomeBrew:			/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    Install cask:				brew install cask
    Install Ruby:				brew install ruby
    Install flashROM:			brew install flashrom
    List Programmers:			sudo flashrom --help
    Verify reader:				sudo flashrom -p ch341a_spi
    ROM Read:				sudo flashrom -p ch341a_spi -r  <name.bin> (defaults location ~ )
    ROM Write:				sudo flashrom -p ch341a_spi -w  <name.bin> (defaults location ~ )

    READ+WRITE to SERIAL to USB (eg: CH341's) BIN to MacOS:

    Skip commands you already installed.
    To check if a cmd is already, use: "which ____"
    Bash replies with the installed version. (see attachments)


    Install xcode xcode-select --install
    Relocate xcode sudo xcode-select --switch /Library/Developer/CommandLineTools

    Install HomeBrew /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

    Install cask brew install cask
    Install Ruby brew install ruby
    Install flashROM: brew install flashrom

    List Programmers: sudo flashrom --help
    *flashrom --help shows the syntax for available devices at the bottom.*


    *The references to ch341a_spi refers to the programmer I'M USING*
    Verify reader: sudo flashrom -p ch341a_spi
    ROM Read: sudo flashrom -p ch341a_spi -r <~/name.bin>
    ROM Write: sudo flashrom -p ch341a_spi -w <~/name.bin>


    I believe the T203 reader uses the CH341a Protocol ...


    And also showing screenshots of this working.



    That said, everyone seems to dislike the CH341 ... and while I have other windows options (RT809F, etc) ... are any of the compatible devices preferable? Thanks.
    Last edited by SMDFlea; 04-08-2022, 08:16 PM.
  • TrumanHW
    TrumanHW
    • Jun 2021
    • 52
    • United States

    #2
    Re: MacOS: R|W Programmers like CH341x BINs..?

    PS, reading the T203 ROM command was:

    sudo flashrom -p ch341a_spi -r 2018MBP.BIN

    In which the file was READ to ~/2018MBP.BIN
    And to WRITE the file use:

    sudo flashrom -p ch341a_spi -w 2018MBP.BIN

    I'm sure people have already discussed this utility here, but, just in case...

    Comment

    Related Topics

    Collapse

    • japlytic
      DRIVER_PNP_WATCHDOG error re. old drivers in Windows 11 install image
      by japlytic
      In a Beelink GTR mini PC, mine has an Intel AX200NGW WLAN module.

      Tried (only with keyboard/mouse connected):
      • BIOS + database update
      • Using latest Windows 11 image built with official image creation tool
      • Previous setup version for Windows 11 installer
      • Replacing SSD without a slow block (the previous SSD had a slow block with access time > 500 mS)
      • TPM reset (worked to the point where DRIVER_PNP_WATCHDOG error message is displayed briefly after the point of stalling)
      • Disabling power to WLAN and LAN modules in BIOS (Advanced > AMD PBS > PCI Express Configuration)
      ...
      06-19-2025, 04:59 PM
    • fac_franky
      [REQUEST] Help to remove BIOS PowerOn Password from HP Zbook Studio G3
      by fac_franky
      Hi Guys i have a HP Zbook Studio G3 with PowerOn BIOS Password and cannot remove it that have a BIOS CHIP 25q128fvsq i use a ch341a to read the chip and take a Backup of that with ch341A Programmer 1.29 (Selection_999(773).png image), read the content OK but if use the Verify button send a message that Don't Match

      With with ch341A Programmer 1.30 the same message, of mismatch in the verify (Selection_999(776).png image)

      The Full MB data are: HP ZBook Studio G3 Mobile Workstation LA-C401P APW5U Rev: 1A


      That is a normal situation or in effect...
      07-13-2020, 11:45 PM
    • re-atari
      Anycubic Photon 5.5 3D printer 25Q32 flashrom dump needed
      by re-atari
      Hello all, as the title says, I'm very much in need of a valid firmware dump of a Anycubic Photon 5.5 3D resin printer. It's stored in a Winbond 25Q32, so it's 4Mbyte.

      Here's a little background for my request. A few weeks ago I bought this 3D printer from a guy who had moved on to a PLA printer. I got it at a vey reasonable price, as it was in a defective state. The seller told me that he had experienced a power failure during a firmware upgrade, after which the printer appeared to be dead. He thought the firmware was corrupted in such a way that the printer was now bricked. As he...
      02-03-2025, 06:49 PM
    • 24gsm
      MacBook Pro A1708 install macos fail
      by 24gsm
      hi to all
      i have MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)
      after enter to recovery and format hdd 1to .
      after try to install macos online . its frezz at loading install in boot and i waiting few hour but nothing i ty install by boot using flash disk but same issu

      can help please
      MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)
      Serial Number: FVFXP0U0HV2J
      Config Code: HV2J
      Find My Mac: OFF
      ​...
      04-16-2025, 03:57 AM
    • badcappo
      Access to flashrom archive on eletronicabr.com (?)
      by badcappo
      Hi there, looking for the flashrom-extension that is presented by a user called "Jack O'Neo" over on eletronicabr.com -> First post on Link: https://eletronicabr.com/forums/topi...s-para-windows

      The archive seems super useful to add more chip support to flashrom so that it becomes possible to read flash content from additional ECs e.g. ENE KB9022 which are used on many boards. However, the forum seems to have a tedious credit farming process to get to the download link . Maybe someone with access...
      04-12-2025, 04:42 AM
    • Loading...
    • No more items.
    Working...