Hello, I am facing an issue with ESP32 board(node mcu esp-32s) and rshell. I am able to flash the board and upload the firmware, but once I create main.py with blink code (see the code below) and disconnect the board from the pc, I am not able to connect with rshell later when board is connected to pc again.
I am running following command to connect:
Code: Select all
rshell -p /dev/tty.usbserial-0001 -b 115200
Using buffer-size of 32
Connecting to /dev/tty.usbserial-0001 (buffer-size 32)...
Trying to connect to REPL .
code that is in main.py file:
Code: Select all
import machine
import time
pin = machine.Pin(2, machine.Pin.OUT)
while True:
pin.on()
time.sleep(0.5)
pin.off()
time.sleep(0.5)
Am I doing something wrong? What could cause this issue? Any ideas?
thanks