cancel
Showing results for 
Search instead for 
Did you mean: 

flashing error

kRaje.1
Associate II

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.

1 REPLY 1
Piranha
Chief II

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