Skip to content

[Bug]: Cannot debug and connect to serial output at the same time #643

Description

@KeilChris

Description

Using older DAP-Link or LPC-Link2 implementations, it is not possible to have a debug connection and monitor the output of the UART on the SERIAL MONITOR at the same time. Once the serial connection is opened, the debug connect stalls and throws these two errors:

 Cannot execute this command while the target is running.
Use the "interrupt" command to stop the target and then
try again.

And

Unable to read memory.

Using an NXP board with the new MCU-Link FW, this problem does not occur

Steps to Reproduce

Take any old development board with LPC-Link2/DAP-Link from NXP and try to debug while obeserving the UART output.

Expected Behavior

It should work simultaneously.

Additional Information

No response

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No fields configured for Bug.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions