cancel
Showing results for 
Search instead for 
Did you mean: 

How to work with the STM32f103c8t6 but with the cks32f103c8t6 which is the "fake blue pill" in the STMCube ide?

JDoe.5
Associate

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 ?

0 REPLIES 0