Help needed with --debug on ESP32-S3 #559
StephenDone
started this conversation in
Board Specific
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have built debug firmware with the following command line:
sd@SD-i9:~/lvmpy$ python3 make.py esp32 --enable-uart-repl=n --debug --flash-size=16 BOARD=ESP32_GENERIC_S3 BOARD_VARIANT=SPIRAM_OCT DISPLAY=st77916 INDEV=cst816sI added the
--enable-uart-repl=nbecause I could see the REPL prompt appearing in the debug output on the UART.I get my debug output on the UART USB port at 115,200 baud.
The board is a very generic one from Amazon and seems to run well without the --debug, even when overclocking the memory.
https://www.amazon.co.uk/dp/B0DFGFV3H5?th=1
If I try to use mpremote mount (in order to do my debugging), I get a timeout before it can connect.
If I wait several minutes, I can get a REPL with a basic terminal.
I wondered if the debug output was slowing down REPL interaction, so I turned off debug output using...
This silences all debug output on the UART.
But the REPL still does not behave, even with no debug output happening...
If, after silencing the debug output, I close my terminal and try to open the REPL port again, I can get various errors messages, including
access deniedand '**** Failed to open the serial port COM8 ****' (from within vscode) on the REPL com port. I cannot usempremote mounteither.Are there some pitfalls I need to be aware of in order to compile with --debug and get a functioning REPL?
Basically, I can get debug output, but am unable to execute any useful micropython code.
I am a bit stumped as to what to try next.
Here is the log of the firmware starting up. Once it has started, it continuously outputs
D (xxxxxx) intr_alloc: Connected src 38 to int 3 (cpu 1), where xxxxxx is a timestamp, until I setesp.osdebug(None)Beta Was this translation helpful? Give feedback.
All reactions