-
-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STM32F103C8: Unknown ARM Cortex-M Designer 0x8000 Part ID 0x0 M3 #1808
Comments
That doesn't look like normal output from a legitimate STM32F1 or any of the known clones.. looks in fact like someone cloned it and then entirely borked the ROM tables. What version of the firmware was this with? Can you get a ROM table dump with BMDA as in Depending on what that reveals, the best path forward is some clone-specific handling added to blackmagic/src/target/cortexm.c Lines 671 to 681 in 1e1b1d9
|
Here it is:
I am not sure how to proceed but hopefully with some guidance I could fix the issue myself and send a PR (if you want) |
I added
I also added a 0x000U device ID just in case:
|
We're definitely Surprised that worked, but happy to see that. One question we have though is if there any way for this |
I am not sure how to create a nice fingerprint for these devices, if you have any idea I will be happy to give it a go. |
Well, without knowing more about them it's hard to say.. we would determine who made these clones, and where the datasheet/TRM is for them so we can figure out how exactly they differ from genuine parts. This'll lead to what register(s) can be used to identify them more positively. |
Sounds like this is might be a known issue but couldn't find anything:
Chip: STM32F103C8T6 ARM STM32 Minimum System Development Board Module
GDB's output
How could I help debug this?
The text was updated successfully, but these errors were encountered: