2023-12-19 09:06 PM
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.
2023-12-19 09:42 PM
Connect the NRST pin to the debugger or at least try pushing the reset manually at the moment, when the debugger tries to connect.