Skip to content

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

Closed
@dhalbert

Description

@dhalbert

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)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions