[ABANDONED] P-Nucleo-WB55 cannot debug after converting to J-Link OB

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [ABANDONED] P-Nucleo-WB55 cannot debug after converting to J-Link OB

    Hello,
    I have bought a P Nucleo WB55 develop board from the website st.com/en/evaluation-tools/p-nucleo-wb55.html.
    The onboard ST-LINK works well when I received it.
    But I want to use it with the J-Link OB which is needed in my research project.
    As a result, I convert the onboard ST-LINK to the J-Link OB following the steps of the link segger.com/products/debug-prob…j-links/st-link-on-board/ and the P Nucleo WB55 is supported.
    However, the error is hit when debugging with the J-Link OB.
    The error message is as below. Could you please help to figure out the problem?
    Thanks for your help.



    LWQ wrote:

    Disabled output of control characters

    J-Link software found at: C:/Program Files/SEGGER/Ozone/JLink_x64.dll
    File.NewProjectWizard();
    Target core support plugin loaded.: C:/Program Files/SEGGER/Ozone/Plugins/Core/CorePluginARM.dll
    Project.SetDevice ("STM32WB55RG");
    Project.SetHostIF ("USB", "775796554");
    Project.SetTargetIF ("SWD");
    Project.SetTIFSpeed ("4 MHz");
    Project.AddSvdFile ("$(InstallDir)/Config/CPU/Cortex-M4F.svd");
    File path resolved: "$(InstallDir)/Config/CPU/Cortex-M4F.svd" was found at "C:/Program Files/SEGGER/Ozone/Config/CPU/Cortex-M4F.svd"
    File.Open ("C:/Users/lwq/Downloads/en.stm32cubewb_v1-12-0_v1.12.0/STM32Cube_FW_WB_V1.12.0/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_HeartRate/Binary/BLE_HeartRate_reference.hex");
    Debug.Start();
    Device "STM32WB55RG" selected.
    Found SW-DP with ID 0xCBA02477
    DPv0 detected
    Scanning AP map to find all available APs
    AP[2]: Stopped AP scan as end of AP map has been reached
    AP[0]: AHB-AP (IDR: 0x24770011)
    AP[1]: AHB-AP (IDR: 0x84770001)
    Iterating through AP map to find AHB-AP to use
    AP[0]: Core found
    AP[0]: AHB-AP ROM base: 0xE00FF000
    CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
    Found Cortex-M4 r0p1, Little endian.
    FPUnit: 0 code (BP) slots and 0 literal slots
    CoreSight components:
    ROMTbl[0] @ E00FF000
    SetupTarget() start
    WARNING: Secure Firmware detected @ 0x080FF000
    Connecting to target AP[0]/Cortex-M4
    CORE ID AP[0]:0x080FF000
    CPU could not be halted
    CORE ID AP[0]/Cortex-M4 is not halted!
    SetupTarget() end
    Found SW-DP with ID 0xCBA02477
    DPv0 detected
    AP map detection skipped. Manually configured AP map found.
    AP[0]: AHB-AP (IDR: Not set)
    AP[0]: Core found
    AP[0]: AHB-AP ROM base: 0xE00FF000
    CPUID register: 0x410FC241. Implementer code: 0x41 (ARM)
    Found Cortex-M4 r0p1, Little endian.
    FPUnit: 0 code (BP) slots and 0 literal slots
    CoreSight components:
    ROMTbl[0] @ E00FF000
    SetupTarget() start
    WARNING: Secure Firmware detected @ 0x080FF000
    Connecting to target AP[0]/Cortex-M4
    CORE ID AP[0]:0x080FF000
    CPU could not be halted
    CORE ID AP[0]/Cortex-M4 is not halted!
    SetupTarget() end
    Connection failed.