M5EPD icon indicating copy to clipboard operation
M5EPD copied to clipboard

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

Open ubidefeo opened this issue 5 years ago • 5 comments

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 https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800/issues/139#issuecomment-904390716

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 ✌🏼

ubidefeo avatar Nov 13 '21 20:11 ubidefeo

:(

markus-seidl avatar Nov 15 '21 19:11 markus-seidl

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

ubidefeo avatar Nov 29 '21 13:11 ubidefeo

@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.

kotelnikov avatar Apr 14 '22 19:04 kotelnikov

@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!

hakeemta avatar Mar 18 '23 18:03 hakeemta

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

TinyuZhao avatar Jul 15 '23 17:07 TinyuZhao