MBED Side:
Hardware
Each Nucleo Board has a programmer STLINK V2 on board.
Remove the jumpers on CN2 and connect the SWD on CN4 to the SWD of the Storm32.
I connected the Strom32 to the PC via USB therefore only GND from SWD is needed
CN4:
1: NC
2: SWCLK
3: GND
4: SWDIO
5: NC
6: NC
UART:
Close the Jumper JP4 (maybe you have to resolder it) to enable UART
Connect TX from Storm32 to RX of the programmer
Code and Pin: "Serial pc(PC_10, PC_11); "
Programmer STLINK V2 on Windows:
Install Drivers: en.stsw-link009 on Win64 bit use dpinst_amd64.exe to install
Flash Device: en.stsw-link007 --> AllPlatforms --> STLinkUpgrade.jar
Now you should be able to upload projects from MBED Online platform
Create Software and download it to the MCU:
- Now create a project in the MBED Compiler online tool.
- Bush the "RESET" and "BOOTO" button simultaneously on the StorM32
- Store it on the mounted MBED Nucleo drive
--> if you succeed a window will appear with one file in it "Details.txt"
! before storing the file bush the "RESET" and "BOOTO" button simultaneously on the StorM32, otherwise you will get a "FAIL.TXT" in the Nucleo folder.
some notes i gave to marc. Maybe someone finds it helpful
- if the SWD is not connected to the STORM than the fail.txt comes up.
- connect programer and STORM with SWD and both need a 5V USB plugged in into the PC (first programer is red and than the LED is turning its color/ after succe color is green)
- (i dont need this) but maybe you?? push BOOT and RESET down at the same time for 5sec
- store the mbed progam on the controller
the Storm Controller has UART. If you connect them to the programer (TX and RX) u can read out serial eg in hterm