Skip to content

ESP32 "Could not enter raw repl" #27

@markserrano915

Description

@markserrano915

This is actually an issue and a response I posted on the ampy project. See ESP8266 Micropython "Could not enter raw repl" #19

I am creating this issue because it's exactly the same with rshell. This is for reference and workaround purposes.

I had been trying to solve the same problem with my ESP32 for two days now (I think I got the same issue on ESP8266 01 but I probably gave up). But then out of the blue I was able to make it work today.

So when I plugin the board on my Macbook 2013, that's when I get this unable to enter REPL issue. But as soon as I plug it in on my Raspberry Pi, I am able to run the same rshell commands without issues!

My immediate solution is:

  1. Do the coding in Mac (because it's more convenient to type in there).
  2. Push to git
  3. Pull in the code to my Raspberry Pi
  4. Use Raspberry Pi's for uploading code to the board via rshell

Some interesting observations:

  • When I use picocom on my Mac, before I am able to enter on the Micropython REPL shell, the terminal spits out some garbage text and afterwards I can work on picocom without any issues (until I use ampy or rshell)
  • When I use picocom on my Raspberry, there are no pre-garbage text. I go straight to the REPL with no issues with ampy and rshell

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions