Although I have had a long association with the myStorm project, it has taken me some time to get around to getting the toolchain together on my Windows machine.
Here's some notes on my experience with installing the toolchain under PlaformIO, and getting to the point where I can upload the bitfile to the myStorm board.
The STM32L433 microcontroller must first have the latest version of the Iceboot firmware installed on it.
This is done by firstly removing the jumper link from pins 7 and 8 of the 26 pin male header, plugging a USB cable into the USB socket closest to the STM32. Your PC should then enumerate the STM32 as "STM Device in DFU Mode" You can check this with Device Manager.
You then need to use the DFU programming tool "DfuSe Demo (v3.0.3)" from STM. You can download that from here: http://www.st.com/en/development-tools/stsw-stm32080.html
Once installed and opened, it will detect that there is a device present on the machine in dfu mode, so you can then open up the iceboot.dfu file using the Choose option on the right hand side of the controls. You then hit Upgrade and hopefully the new firmware will be squirted in.
If you don't have a .dfu file - there is another tool included in the download package from STM which allows you to convert a bin or a hex image to the necessary dfu format.
I'll make sure that the correct and latest iceboot.dfu file is in the repository.
In the latest round of BlackIce boards - some escaped being programmed, and some are at an earlier version of iceboot.
When the device is programmed and verified, you can unplug the micro USB cable and put the jumper link back on pins 7 & 8.
This allows the mcu to boot normally and run Richard's UART loader code.
Now you plug the micro USB into the lower of the USB sockets, which talks via a CH340 USB-UART converter IC to one of the UART ports on the STM32.
If you select this COM port and open up Terraterm at 115200,8,N,1 you should get the message
Mystorm version 0.1
Waiting for UART
Check that you have the latest version - currently version 0.1
This UART loader waits for a binary file to be uploaded from Terraterm or similar terminal emulator programme.
Use the Send File option in the File menu, and make sure that you tick the "Binary" checkbox before uploading the file. Use the chip.bin file from any of the myStorm BlackIce examples in the repository.
Using Terraterm at 115200,8,N,1 make sure that iceboot is present - if not use the STM32 dfu tool to load it, via the upper of the two USB sockets. Don't forget to first remove then replace the dfu boot jumper link.
Use Terraterm to send the chip.bin file via the UART loader to the STM32, from where it will load it into the FPGA.
In the next chapter of this saga, you will witness me blundering my way through PlatformIO installation and use.
Then we get onto "Verilog for Dummies"