mikropython:mikropython
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| mikropython:mikropython [2019/01/02 19:13] – [Funktionstest] geier99 | mikropython:mikropython [2021/10/05 06:46] (aktuell) – [MicroPython] geier99 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== | + | ====== |
| - | Ich möchte | + | Ich möchte |
| ===== Funktionstest ===== | ===== Funktionstest ===== | ||
| Zeile 64: | Zeile 64: | ||
| </ | </ | ||
| + | und jetzt die aktuellste Firmware (Stand 02.01.2018) auf spielen:< | ||
| + | dfu-util.exe -a 0 -D pybv11-20190102-v1.9.4-771-gb33f108cd.dfu | ||
| + | |||
| + | dfu-util 0.9 | ||
| + | |||
| + | Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. | ||
| + | Copyright 2010-2016 Tormod Volden and Stefan Schmidt | ||
| + | This program is Free Software and has ABSOLUTELY NO WARRANTY | ||
| + | Please report bugs to http:// | ||
| + | |||
| + | Match vendor ID from file: 0483 | ||
| + | Match product ID from file: df11 | ||
| + | Opening DFU capable USB device... | ||
| + | ID 0483:df11 | ||
| + | Run-time device DFU version 011a | ||
| + | Claiming USB DFU Interface... | ||
| + | Setting Alternate Setting #0 ... | ||
| + | Determining device status: state = dfuIDLE, status = 0 | ||
| + | dfuIDLE, continuing | ||
| + | DFU mode device DFU version 011a | ||
| + | Device returned transfer size 2048 | ||
| + | DfuSe interface name: " | ||
| + | file contains 1 DFU images | ||
| + | parsing DFU image 1 | ||
| + | image for alternate setting 0, (2 elements, total size = 331280) | ||
| + | parsing element 1, address = 0x08000000, size = 14720 | ||
| + | Download | ||
| + | Download done. | ||
| + | parsing element 2, address = 0x08020000, size = 316544 | ||
| + | Download | ||
| + | Download done. | ||
| + | done parsing DfuSe file | ||
| + | </ | ||
| + | Das Modul meldet sich dann mit:< | ||
| + | Type " | ||
| + | >>></ | ||
| + | |||
| + | Hmm meine modifizierte **main.py** blieb erhalten und wurde nicht zurückgesetzt. | ||
| + | |||
| + | **Achtung: | ||
| + | |||
| + | ===== SD-Karte | ||
| + | Kurzes Beispiel, wie man sich den Inhalt der SD-Karte anschauen kann (root Verzeichnis)< | ||
| + | import os | ||
| + | |||
| + | sd = pyb.SD | ||
| + | |||
| + | #sd = pyb.SDCard() | ||
| + | |||
| + | os.mount(sd, | ||
| + | os.listdir('/ | ||
| + | |||
| + | os.umount('/ | ||
| + | ===== Tipps ===== | ||
| + | * STR+E : aktiviert den Paste Modus (das automatische Einrücke wird abgeschaltet) | ||
| ===== Links ===== | ===== Links ===== | ||
| Zeile 71: | Zeile 126: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
mikropython/mikropython.1546456418.txt.gz · Zuletzt geändert: von geier99
