error: not a genuine st device
时间: 2023-12-06 09:05:20 浏览: 220
gyp verb `which` failed Error: not found: python2
回答: 这个错误通常是由于ST设备不是正版的导致的。虽然它确实可以烧录程序,但连接时会出现错误。你可以忽略这个问题,但这个错误可能会有点烦人。根据参考资料,有几个步骤可以尝试解决这个问题。首先,检查HSE时钟与外部晶振时钟配置是否匹配。如果不匹配,可以尝试两种解决方案。一种是卸载外置晶振,使用内部时钟工作,重新烧录代码后再重新焊接外置晶振。另一种是将BOOT0上拉到VDD(3.3V),重新烧录代码后再将BOOT0下拉至GND。个人认为第二种方案更容易操作,适用性较高。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* [亲测解决Error: Not a genuine ST Device! Abort connection.&&Error:Flash dowload failed CortexM3](https://blog.csdn.net/Davidietop/article/details/109366506)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [STM32之Not a genuine ST Device!解决方案](https://blog.csdn.net/qq_44718979/article/details/114109499)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文