docs: No instructions for REPL over UART on RP2
Documentation URL
https://docs.micropython.org/en/latest/rp2/quickref.html
Description
On the UART documentation page, there is a note:
REPL over UART is disabled by default. You can see the Getting started with MicroPython on the RP2xxx for details on how to enable REPL over UART.
If you follow the link to the "getting started" page (https://docs.micropython.org/en/latest/rp2/tutorial/intro.html#rp2-intro), it just says:
Getting started with MicroPython on the RP2xxx
Let’s get started!
I can't seem to find any instructions for accessing the REPL over UART (i.e. which UART pins, and how to configure Micropython).
Code of Conduct
Yes, I agree
REPL over UART not working on the RP2 port
I’m trying to run a clean micropython port for the rp2 using a picoprobe as a debugger but I’m unable to use the REPL over UART functionality.
-
The only modification from a clean micropiton checkout is that i enabled MICROPY_HW_ENABLE_UART_REPL in the mpconfigport.h
-
The REPL over UART sems to immediately crash after startup since its not responding after it has send its startup information.
-
When using rshell its getting stuck at "Retrieving sysname ..."
<img width="527" alt="image" src="https://user-images.githubusercontent.com/43995448/225936708-b42afc37-2a1f-40c3-9c28-a0e24cea6c1a.png"> -
Using a terminal like minicom I can see the startup message but I’m unable to get any future response from the rp2.
<img width="545" alt="image" src="https://user-images.githubusercontent.com/43995448/225937347-91add04a-aa3f-476e-a506-162e03c93ac9.png">