ESP32-C3+Thonny烧录micropython时报错解决

ESP32-C3+Thonny烧录micropython时报以下错误:

A fatal error occurred: Failed to connect to Espressif device: Wrong boot mode detected (0xd)! The chip needs to be in download mode.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html

搜索说,按BOOT,但仍不行;

试着同时按下EN+BOOT,然后可以了。

 完成后,在Thonny中直接不断输出:
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0xffffffff

 

后来换成乐鑫自己的下载工具:Flash 下载工具(官网下载),然后重新烧录:

 

同时按下板子上的EN+BOOT,然后点START,顺利完成。

随后在Thonny的shell中显示如下:

 

查资料解决方法如下:

 

果然就成功了,特此记录。

 

posted @ 2023-05-13 18:07  人间大爱  阅读(2859)  评论(0)    收藏  举报