Skip to content

Problem using UART after starting a debug session (Black Magic Probe v2.0.0-rc2-dirty) #2093

@adesgagne

Description

@adesgagne

Using the BMP firmware Black Magic Probe v2.0.0-rc2-dirty, I'm having an issue with the UART communication between two devices (nRF52832 and STM32WL5MOC) after starting a debug session.

The UART interrupt appears to stop working.

I tried to downgrade with the BMP firmware Black Magic Probe v1.10.0-1010-ga8a5a02e-dirty and I'm not having this issue.

I'm using cortex debug extension with gdb-multiarch.

Here's my launch.json file.

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Debug",
            "cwd": "${workspaceFolder}",
            "gdbPath": "gdb-multiarch",
            "executable": "<elf file>",
            "request": "launch",
            "type": "cortex-debug",
            "runToEntryPoint": "main",
            "servertype": "bmp",
            "BMPGDBSerialPort": "/dev/ttyACM0",
            "powerOverBMP": "enable",
            "preLaunchCommands": [
                "set logging on",
                "set mem inaccessible-by-default off",
                "monitor rtt enable",
                "monitor erase_mass",
            ],
            "postLaunchCommands": [
                "monitor rtt status",
            ],
            "loadFiles": [
                "./nRF5_SDK_17.1.0/components/softdevice/s132/hex/<soft device hex file>",
                "./build/<elf file>",
            ],
            "symbolFiles": [
                "./build/<elf file>",
            ]
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    BMP FirmwareBlack Magic Probe Firmware (not PC hosted software)Potential BugA potential, unconfirmed or very special circumstance bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions