Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS Big Sur serial issue tracked down to USB controller: NOT CP2104 but CH9102 #47

Closed
ubidefeo opened this issue Nov 13, 2021 · 5 comments

Comments

@ubidefeo
Copy link

My unit sourced via BangGood came in a few weeks ago.
I finally had time to try it and since the serial port was listed as /dev/cu.usbmodemxxxx I just went on and tried to upload a Sketch.
I got a message cannot upload stub - write to RAM error 0107...

I could not really find an answer on Google so I took the unit apart.
At the back it clearly states CP2104 which is a Silicon Labs USB<>Serial controller working out of the box on many systems.
My unit has a CH9102 which is the poster child of the infamous CH340 so many have had issues with on Mac, Windows and Linux.

I looked that up and could basically not track down the driver from a manufacturer,
but ended up on this thread which bares no solution (yet still valuable information)
https://community.m5stack.com/topic/2175/new-m5stack-failed-to-write-to-target-ram-result-was-01070000/7

and later on this one
Xinyuan-LilyGO/LilyGo-T-Call-SIM800#139 (comment)

There's a link to download what might look like a sketchy driver but it does indeed work.
Requires authorising Mac OS to run it from the Privacy panel and has text in Chinese.

It does work, so if anyone ends up here and they're on Big Sur you can probably fix your issue like this.
Still not using the CP2104 and not giving hints about it is sketchier than the driver I installed today.

Please make amends on the README adding the chip and a possible driver download.
I was able to track down a possible page from the manufacturer but the driver for Mac does not seem to exist on their page (being it in Chinese I cannot find it myself) but the user in the issue linked above says they received it from the manufacturer

Peace ✌🏼

@markus-seidl
Copy link

:(

@ubidefeo
Copy link
Author

Update:
The drivers available for CH9102 return an error on install syses didFinishWithResult (null)
https://docs.m5stack.com/en/core/m5paper_v1.1

@kotelnikov
Copy link

@ubidefeo Hi, friend!!! Try this driver https://github.com/WCHSoftGroup/ch34xser_macos for my M1 PRO it works like a charm. But when installing carefully read readme, all steps important.

@hakeemta
Copy link

@ubidefeo Hi, friend!!! Try this driver https://github.com/WCHSoftGroup/ch34xser_macos for my M1 PRO it works like a charm. But when installing carefully read readme, all steps important.

This worked for me. Thank you!

@Tinyu-Zhao
Copy link
Collaborator

There are two kinds of serial chips for paper, please try the driver installation method provided in the document.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants