issue after flashing a esp32-CAM board from rpi, nothing in REPL session

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
lolo40
Posts: 3
Joined: Wed Nov 24, 2021 6:04 am

issue after flashing a esp32-CAM board from rpi, nothing in REPL session

Post by lolo40 » Wed Nov 24, 2021 6:14 am

Hello,
I 'am new on this forum and to Upython... and i need your help to start please.
I recently bought an esp32-CAM (esp32-S). When i ask for flash_id i got : chip is ESP32- DOWDQ6-V3 (revision 3)
It has a ch341-uart converter.

I work from kali linux and from rpi raspbian buster on remote ssh and the result are the same in the both case:

My Python is 2.7
I installed esptool.py, and flashed succesfully thisboard with different version of micropython firmware.
Then i installed picocom.
I do a $sudo picocom /dev/ttyUSB0 -b115200

and obtain this:

picocom v3.1

port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
hangup is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv -E
imap is :
omap is :
emap is : crcrlf,delbs,
logfile is : none
initstring : none
exit_after is : not set
exit is : no

Type [C-a] [C-h] to see available commands
Terminal ready

Then i can't do nothing.....
Thanks in advance for your help!

lolo40
Posts: 3
Joined: Wed Nov 24, 2021 6:04 am

Re: issue after flashing a esp32-CAM board from rpi, nothing in REPL session

Post by lolo40 » Sun Nov 28, 2021 2:13 am

Hi again,
I found some things so if anyone is encountering the same issue here is what i discovered that the process of erasing/flashing my esp32 from ssh rpi or from kali linux works fine.And i can be sure because I tried to plug my esp32 to a laptop's usb port running under windows and i succeeded in accessing the shell with the integrated terminal of thonny pyhton without flashing it with thonny python.
From that point,
i can imagine that the pbm is the communication bettween linux and the esp32 in order to display a REPL session on linux terminal, perhaps in the value of the baud.... if anyone knows.... i'll try all the values...
See you next stp...

lolo40
Posts: 3
Joined: Wed Nov 24, 2021 6:04 am

Re: issue after flashing a esp32-CAM board from rpi, nothing in REPL session

Post by lolo40 » Sun Nov 28, 2021 2:39 am

Hi again,

Pbm solved!

Here it is...

https://developer.ridgerun.com/wiki/ind ... m_-_Ubuntu

I wasn't using -r and -l options....

Hope it will make anyone win the couple days i lost on this...

Post Reply