Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RP2040: Touching UART RX pin or adding a jumper to nowhere causes hang #6237

Closed
dhalbert opened this issue Apr 4, 2022 · 1 comment
Closed
Assignees
Labels
bug busio rp2040 Raspberry Pi RP2040
Milestone

Comments

@dhalbert
Copy link
Collaborator

dhalbert commented Apr 4, 2022

More precise reporting of #6219. This is not really related to #6213 after all.

Running this on or after commit 749bb99 (between 7.2.0-alpha.1 and .2), and then touching the RX pin, will cause a hard crash of some kind.

That particular commit updates the pico-sdk to 1.3.0.

import board
import busio

uart = busio.UART(board.TX, board.RX)
uart.baudrate = 115200  # _might_ make it easier to provoke

i = 0
while True:
    data = b'................................................................................................................................................................'
    print(i, data)
    i += 1
    uart.write(data)
@dhalbert dhalbert added bug busio rp2040 Raspberry Pi RP2040 labels Apr 4, 2022
@dhalbert dhalbert added this to the 7.2.x milestone Apr 4, 2022
@dhalbert dhalbert self-assigned this Apr 4, 2022
@dhalbert dhalbert changed the title RP2040: Touching UART RX pin or leaving it unattached causes hang RP2040: Touching UART RX pin or add a jumper to nowhere causes hang Apr 4, 2022
@dhalbert dhalbert changed the title RP2040: Touching UART RX pin or add a jumper to nowhere causes hang RP2040: Touching UART RX pin or adding a jumper to nowhere causes hang Apr 4, 2022
@dhalbert
Copy link
Collaborator Author

dhalbert commented Apr 5, 2022

Addressed by #6240.

@dhalbert dhalbert closed this as completed Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug busio rp2040 Raspberry Pi RP2040
Projects
None yet
Development

No branches or pull requests

1 participant