STM32F103C8T6 APID #29
Replies: 4 comments
-
I don't know what is the correct IDCODE, but if the manual gives 0x1ba01477, I would expect it to be correct.
Are you sure your board is original and using an original MCU? |
Beta Was this translation helpful? Give feedback.
-
This is from the datasheet, showing the IDCODE:
How do I tell if it is the original? I bought it normally from a national market. EDITThe middle black IC has "CKS32f103c8t6" printed on it so it definitely isn't original. |
Beta Was this translation helpful? Give feedback.
-
I thought so :-( Unless you are fluent in mandarin and have a lot of spare time, I would stay away from such clones. |
Beta Was this translation helpful? Give feedback.
-
BTW, you don't have to pass absolute paths to openocd, normally it should work with relative paths. |
Beta Was this translation helpful? Give feedback.
-
Hello,
So, I have STM32F103C8T6 blue pill board connected with STLink v2 and I was trying to the debugger to working on a customized version of Eclipse but I ran into lots of issues with that version. So, I decided to have a clean installation of everything. After knowing that openocd is one of the tools that could help in debugging, I used it and testing everything manually, just to make sure that everything is working without the editor.
So, when I started by running this command to open a connection with the board:
And this was the response:
Then, after changing the APID number from
0x1ba01477
to0x2ba01477
, it worked.So I checked the datasheet section:
31.8.5
table:226.SW-DP registers
, I found0x1ba01477
.I couldn't find any ID with
0x2ba01477
in the whole datasheet.I'm not sure whether this is a bug or my board's version is different than usual.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions