Skip to content

nrf52 serial port printf causes system hang #4581

Closed
@shayo

Description

@shayo

Bug

I believe the same behavior (serial port not open on PC causing system hang) happens on nrf52 targets as well. As soon as I reach a printf, the cpu hang.
This was reproducible on nrf52DK when trying to open a second serial port on two random I/O pins.
Is there a workaround for nrf52? I saw the related issue on nrf51dk.
This did not pose a problem in older versions of mbed, but seems to be happening with mbed lib v144 (both OS2 and OS5).

Target
NRF52

Toolchain:
GCC_ARM / mbed online compiler

Expected behavior
System should not hang.

Actual behavior
System hangs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions