MordFIdel / SOCORAD32

ESP32 SOftware COntrolled RADio (SOCORAD32)
161 stars 21 forks source link

will not find the com port, #31

Open 03escape opened 11 months ago

03escape commented 11 months ago

I have tried to get the com port working. different computer, different cables, installing the ch340 driver, tested to make sure date cable was good.

alebarra commented 10 months ago

same issue for me, two socorad32 ,and in both cases, the serial port disconnect after few second with error:

i m using ubuntu 22.04 lts and I have no problem flashing other esp32 devices. with same pc and cable, flashing on d1-r32 esp32 device with ch341 serial converter, firmware flashing is completed successfully could it be a faulty ch341 ?

MordFIdel commented 10 months ago

I think you are using the PC USB power supply only. Please ensure battery is installed and charged as well. Disconnection after a while is usually due to abrupt power supply behaviour.

alebarra commented 10 months ago

I think you are using the PC USB power supply only. Please ensure battery is installed and charged as well. Disconnection after a while is usually due to abrupt power supply behaviour.

True, using a well charged battery (LG cell) the tty not disconnect anymore.

Thank you, it solved for me

kermitdafrog8 commented 10 months ago

I have issues with my device not showing up. I've tried different PC's, cables, and batteries. Nothing seems to work.

I tried version 1.6 and 1.7 of the Linux drivers.

MordFIdel commented 10 months ago

Please try reinstalling the CH340 USB driver

kermitdafrog8 commented 10 months ago

I've tried the one that came with the 6.1.61 kernel. I've tried different ones from different downloads. None of them work for me.

MordFIdel commented 10 months ago

Make sure battery is installed during flashing. This is probably driver or cable issue. It's either of the two.

alebarra commented 10 months ago

@kermitdafrog8 try following step:

kermitdafrog8 commented 10 months ago

@kermitdafrog8 try following step:

* assure your 18650 battery is well charged (~4.2V) ;

* put battery in battery holder, the blue "Done" led and red "chrg" must be off;

* insert cable, and check led status, only red "chrg" led must be on, if led and blue flashing, you have battery issue, change battery;

* if only red "chrg" led is on, your circuit is ok;

* check your linux kernel driver, ch340c (ch341.ko driver) must be patched in some kernel version,  one that works is [https://github.com/juliagoda/CH341SER], remember to blacklist kernel module ch341

I did everything listed. Everything is correct but dmesg shows no changes when plugging in the device. lsusb does not show the device either.