Skip to main content
Visitor II
December 20, 2023
Question

flashing error

  • December 20, 2023
  • 1 reply
  • 661 views

Hi Team i am facing some issue related to flashing code. previously i flashed the STM32Cube_FW_WL Lora wan example code into my stm32wl5cc controller PCB using J-link debugger. after successfully flashed the code i am trying to flash another code into my controller but i am facing issue like Debug access port can't be initialized or target DLL is been cancelled. i noticed that their a function in the source cod like disable debug port in low power modes. because of that function i can't able to access debug ports.
i tried to mass erase the source code but for that also i need to connect debug ports.

please give any solution regarding this issue.

    This topic has been closed for replies.

    1 reply

    Graduate II
    December 20, 2023

    Connect the NRST pin to the debugger or at least try pushing the reset manually at the moment, when the debugger tries to connect.