Gibt es einen Trick um das Modul zu flashen? (für Hott support) Die Anleitung ist relativ klar.
allerdings hab ich windows 10 64bit
Arduino 1.8.12
Es passiert ein DFU Reset aber es erfolgt kein down bzw Upload.
Über USB funktioniert es also nicht.
Ich schraubte es auf und probierte es mit FTDI und dem Reset pins.
Der Sketch verwendet 94340 Bytes (78%) des Programmspeicherplatzes. Das Maximum sind 120808 Bytes.
Globale Variablen verwenden 4464 Bytes (21%) des dynamischen Speichers, 16016 Bytes für lokale Variablen verbleiben. Das Maximum sind 20480 Bytes.
C:\Users\Klempi\AppData\Local\Arduino15\packages\multi4in1\hardware\STM32F1\1.1.7/tools/win/auto_upload.bat COM8 C:\Users\Klempi\AppData\Local\Temp\arduino_build_580440/Multiprotocol.ino.bin C:\Users\Klempi\AppData\Local\Arduino15\packages\multi4in1\hardware\STM32F1\1.1.7/bootloaders/Multi4in1/StmMulti4in1.bin
Looking for Maple device ...
No Maple devices found.
Probing serial port COM8 for STM32 in BOOT0 mode ...
stm32flash 0.4
http://stm32flash.googlecode.com/
Interface serial_w32: 115200 8E1
Version : 0x22
Option 1 : 0x00
Option 2 : 0x00
Device ID : 0x0410 (Medium-density)
- RAM : 20KiB (512b reserved by bootloader)
- Flash : 128KiB (sector size: 4x1024)
- Option RAM : 16b
- System RAM : 2KiB
Found module on COM8
Flashing module via FTDI adapter on COM8
Erasing ...
stm32flash.exe -o -S 0x8000000:129024 -b 115200 COM8
stm32flash 0.4
http://stm32flash.googlecode.com/
Interface serial_w32: 115200 8E1
Version : 0x22
Option 1 : 0x00
Option 2 : 0x00
Device ID : 0x0410 (Medium-density)
- RAM : 20KiB (512b reserved by bootloader)
- Flash : 128KiB (sector size: 4x1024)
- Option RAM : 16b
- System RAM : 2KiB
Erasing flash
Writing bootloader ...
stm32flash.exe -v -e 0 -g 0x8000000 -b 115200 -w C:\Users\Klempi\AppData\Local\Arduino15\packages\multi4in1\hardware\STM32F1\1.1.7\bootloaders\Multi4in1\StmMulti4in1.bin COM8
stm32flash 0.4
http://stm32flash.googlecode.com/
Using Parser : Raw BINARY
Interface serial_w32: 115200 8E1
Version : 0x22
Option 1 : 0x00
Option 2 : 0x00
Device ID : 0x0410 (Medium-density)
- RAM : 20KiB (512b reserved by bootloader)
- Flash : 128KiB (sector size: 4x1024)
- Option RAM : 16b
- System RAM : 2KiB
Write to memory
Wrote and verified address 0x08000100 (3.13%)
Wrote and verified address 0x08000200 (6.26%)
Wrote and verified address 0x08000300 (9.39%)
Wrote and verified address 0x08000400 (12.52%)
Wrote and verified address 0x08000500 (15.66%)
Wrote and verified address 0x08000600 (18.79%)
Wrote and verified address 0x08000700 (21.92%)
Wrote and verified address 0x08000800 (25.05%)
Wrote and verified address 0x08000900 (28.18%)
Wrote and verified address 0x08000a00 (31.31%)
Wrote and verified address 0x08000b00 (34.44%)
Wrote and verified address 0x08000c00 (37.57%)
Wrote and verified address 0x08000d00 (40.70%)
Wrote and verified address 0x08000e00 (43.84%)
Wrote and verified address 0x08000f00 (46.97%)
Wrote and verified address 0x08001000 (50.10%)
Wrote and verified address 0x08001100 (53.23%)
Wrote and verified address 0x08001200 (56.36%)
Wrote and verified address 0x08001300 (59.49%)
Wrote and verified address 0x08001400 (62.62%)
Wrote and verified address 0x08001500 (65.75%)
Wrote and verified address 0x08001600 (68.88%)
Wrote and verified address 0x08001700 (72.02%)
Wrote and verified address 0x08001800 (75.15%)
Wrote and verified address 0x08001900 (78.28%)
Wrote and verified address 0x08001a00 (81.41%)
Wrote and verified address 0x08001b00 (84.54%)
Wrote and verified address 0x08001c00 (87.67%)
Wrote and verified address 0x08001d00 (90.80%)
Wrote and verified address 0x08001e00 (93.93%)
Wrote and verified address 0x08001f00 (97.06%)
Wrote and verified address 0x08001ff0 (100.00%) Done.
Starting execution at address 0x08000000... done.
Writing Multi firmware ...
stm32flash.exe -v -s 8 -e 0 -g 0x8002000 -b 115200 -w C:\Users\Klempi\AppData\Local\Temp\arduino_build_580440\Multiprotocol.ino.bin COM8
Failed to init device.
stm32flash 0.4
http://stm32flash.googlecode.com/
Using Parser : Raw BINARY
Interface serial_w32: 115200 8E1
Done.
Scheinbar hat es funktioniert, aber Pustekuchen. Das Modul blinkt nur noch rot und es ist auch keine Verbindung über USB mehr möglich.
Ein erneuter versuch über FTDI schlug fehl.
Öhh was nun? Gibt noch eine Trick?