Hallo und guten Morgen,
vorweg: bin auf WIN7 (ausnahmsweise hier mal)
mit dem ESP8266-Flasher :: ESP-IDF http://www.dietrich-kindermann.de/esp_flashtool.html
habe diese Firmware verwendet:
C:\Users\Kasper\Downloads\esp32spiram-20190913-v1.11-312-g22099ab88.bin
mit dem ESP Flasher ging das sehr leicht.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | esp8266-20190913-v1.11-312-g22099ab88.bin Connecting.... Detecting chip type... ESP8266 Chip is ESP8266EX Uploading stub... Running stub... Stub running... Configuring flash size... Auto-detected Flash size: 4MB Erasing flash (this may take a while)... Chip erase completed successfully in 12.4s Flash params set to 0x0340 Compressed 589360 bytes to 385922... Wrote 589360 bytes (385922 compressed) at 0x00000000 in 34.7 seconds (effective 135.9 kbit/s)... Hash of data verified. leaving... Done. |
nun aber wenn ich mich mit der IDE uPyCraft auf den ESP verbinden will dann bekomme ich folgenden Fehler:
could not open port 'COM3': PermissionError(13, 'Zugriff verweigert', None, 5) serial not open could not open port 'COM3': PermissionError(13, 'Zugriff verweigert', None, 5)
wenn man den Fehler googelt dann
stackoverflow: https://stackoverflow.com/questions/6105182/error-while-opening-port-in-python
hier gibt es verschiedene Antworten;
I figured it out. Simple enough, I just disabled the COM port in the device manager window and enabled it again.
und wie es aussieht ist das ein Win-7 Problem... jedenfalls äusserns ich auf STackoverflow schon die Leute diesbezüglich:
hier
Are you running vista/Win 7? In that case, the script doesn't have admin privileges if it hasn't asked for them.
hier
Yep i use Win7. There seems to be no other option for the file to run as administrator.
hier
@Nick: do you need admin privileges to open a serial port on Windows 7
Ich werde das auf Linux heute Mittag testen.