cancel
Showing results for 
Search instead for 
Did you mean: 

Getting "Error: init mode failed (unable to connect to the target) "

BChav.1
Associate III

Hi all,

I have recently started working on B-L072Z-LRWAN1 for understanding the LoRaWAN protocol.I am using icube lrwan software for example code.I was able to build the code successfully.But when tried to flash the code using openocd,i am continuously getting following error.Please see the attached image for reference to check if all required jumpers are connected or not.

Thanks.

"Open On-Chip Debugger 0.11.0+dev-00449-g53fa0f7 (2022-06-09-09:40) [https://github.com/STMicroelectronics/OpenOCD]

Licensed under GNU GPL v2

For bug reports, read

http://openocd.org/doc/doxygen/bugs.html

Info : Listening on port 6666 for tcl connections

Info : Listening on port 4444 for telnet connections

Info : STLINK V2J40M27 (API v2) VID:PID 0483:374B

Info : Target voltage: 3.254104

Error: init mode failed (unable to connect to the target)

0"

1 REPLY 1

If it goes into low power mode you may need to Connect Under Reset. Check connectivity options.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..