2021-04-30 04:44 AM
The blue pill I bought is not working in the STm32Cube ide. I tried using the openOCD debugger and changing the contents of the stm32f1x.cfg from
"swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID" to
"swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0"
Now, the IDE is showing :
Open On-Chip Debugger 0.11.0-rc2+dev-00037-g4c4dbd9 (2021-02-09-13:39)
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 V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.282353
Error: init mode failed (unable to connect to the target)
Wht shoould I do next ?
second, can I work with Keil without this error ?