The Wemos motor shield consist of:
This firmware is not properly installed on many clones. We advise you to buy directly this shield on the official Wemos shop.
If you have such a motor shield clone, you must reprogram it. To do this you need:
C:\> cd Motor_shield_firmware-master
Directory of C:\Motor_shield_firmware-master
07/10/2017 13:08 <DIR> .
07/10/2017 13:08 <DIR> ..
07/10/2017 12:47 3,116 motor_shield.bin
07/10/2017 12:49 280 README.txt
07/10/2017 12:49 13,265 stm32flash-manual.pdf
07/10/2017 12:49 252,776 stm32flash.exe
4 File 269,437 byte
to place yourself in the work directory;
> stm32flash.exe -k COM7
stm32flash 0.5
http://stm32flash.sourceforge.net/
Interface serial_w32: 57600 8E1
Version : 0x31
Option 1 : 0x00
Option 2 : 0x00
Device ID : 0x0444 (STM32F03xx4/6)
- RAM : 4KiB (2048b reserved by bootloader)
- Flash : 32KiB (size first sector: 4x1024)
- Option RAM : 16b
- System RAM : 3KiB
Read-UnProtecting flash
Done.
to remove the protection flag;
> stm32flash.exe -f -v -w motor_shield.bin COM7
stm32flash 0.5
http://stm32flash.sourceforge.net/
Using Parser : Raw BINARY
Interface serial_w32: 57600 8E1
Version : 0x31
Option 1 : 0x00
Option 2 : 0x00
Device ID : 0x0444 (STM32F03xx4/6)
- RAM : 4KiB (2048b reserved by bootloader)
- Flash : 32KiB (size first sector: 4x1024)
- Option RAM : 16b
- System RAM : 3KiB
Write to memory
Erasing memory
Wrote and verified address 0x08000c2c (100.00%) Done.
to reprogram the microcontroller.
That's all!