Badcaps.net Forum
Go Back   Badcaps Forums > Troubleshooting Hardware & Devices and Electronics Theory > Troubleshooting Laptops, Tablets, and Mobile Devices > BIOS Requests ONLY!
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
Thread Tools Display Modes
Old 04-08-2022, 02:33 PM   #1
TrumanHW
TrumanHW
 
Join Date: Jun 2021
City & State: Los Angeles
My Country: United States
Line Voltage: 120VAC 60Hz
I'm a: Knowledge Seeker
Posts: 41
Default 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 at 08:16 PM..
TrumanHW is offline   Reply With Quote
Old 04-08-2022, 02:41 PM   #2
TrumanHW
TrumanHW
 
Join Date: Jun 2021
City & State: Los Angeles
My Country: United States
Line Voltage: 120VAC 60Hz
I'm a: Knowledge Seeker
Posts: 41
Default 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...
TrumanHW is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Badcaps.net Technical Forums 2003 - 2022
Powered by vBulletin ®
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
All times are GMT -6. The time now is 02:44 PM.
Did you find this forum helpful?