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
STM32F103C8T6: Unknown chip id 0042000 on the 2nd st-flash write #669
Comments
I've got a very similar issue with almost the same conditions, I got instead:
I could fix that by moving the boot0 and boot1 to make it boot from from anywhere else but flash, reset it, and then it will accept the st-flash commands again. On the STM32CubeMx set the SYS->Debug option to "Serial Wire" or Jtag and it should work every time. Hope this helps! |
The meaning of the output |
Duplicate of #568. |
st-flash
Sorry, being a newbie I've no idea how to check the programmer hardware version.
The following is pretty self-explanatory: first, the blinkyx uploads and blinks; on an attempt at reuploading it bricks. It looks very much like improper usage of st-flash, yet I failed to google a solution. Or the right manual.
Output:
Thank you,
The stlink project maintainers
The text was updated successfully, but these errors were encountered: