-
Notifications
You must be signed in to change notification settings - Fork 106
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
ESP32 - Uploading files: 0% (0/1) - can't flash #249
Comments
It's the same for me |
I got it working. It was not a problem of the plugin. When I flashed my ESP with micropython, I used the standart baudrate from the tutorial. In an other tutorial 115200 baud was used. This did not corrupt my firmware and worked perfectly. https://iludis.de/wp-content/uploads/2019/02/MicropythonWemosD1mini.pdf |
Thanks Hereux I follow your advice up to Page 3 : LED blinken lassen". Then I Run Flash main.py but nothing happens unless Uploading files: 0% (0/1) . Is there possible to set baud rate in Pycharm? Could it be that? |
Sorry for the late reply, I forgot. Have you installed the CH340 USB driver? Maybe try reinstalling it, I had a problem with that too. I can't say exactly what your problem is. Have you tried connecting to MicroREPL? If MicroPython is flashed correctly, it should look like this: Make sure you are using the correct port and baud rate. If you want to see what the gibberish above means, you need to connect at a baud rate of 72800. You just get startup information, which you don't normally need, but if Micropython encounters an error, you will see it. If it is not flashed correctly, “MicroPython v1.20.0 on 04/14/2023; ESP module with ESP32” not displayed. esptool.py --chip esp32 --port YOUR_PORT --baud 460800 write_flash -z 0x1000 --flash_size=detect 0 FIRMWARE_NAME.bin Unfortunately I only have ESP2866, so I don't know for sure if the above works. |
@Hereux thank you, I've been offline, soory for late respond. USB driver: I'm using Silicon Labs CP210x USB to UART brigde When logging on by Putty, I got this? Do You understand the error messages? |
Sorry, I was offline too. I don't fully understand the error, but I would say that the driver sent something to the board but couldn't write it to flash memory. The OSError says that the flash chip wasn't even initialized. To me it seems like your ESP memory is dead. have you tried a new esp? By the way, I no longer have any errors, which is because I took a new one. |
Does not seem the plugin error. |
Try to Run "flash main.py", but result is Uploading files: 0% (0/1)
Have installed MicroPython plug-in.
Please advice
PyCharm 2022.3.2 (Pro Ed.)
The text was updated successfully, but these errors were encountered: