You can see the wires (the two green ones) here.
|The completed programming circuit for the STM32 Discovery|
If you download this file, reset the STM32 board using the black button, then run the program with the following :-
python stm32loader.py -p /dev/ttyS0
with a bit of luck it will echo back at you :
Bootloader version 22
Chip id `['0x4', '0x20']'
You may have to try a few times. It seems a little unreliable on my machine, not related to the baud rate either. The thing that seems to help is having a short gap between the reset press and running the python application.
It will sometimes echo "Can't init. Ensure that BOOT0 is enabled and reset device" back instead. I'm not sure if this is the application or the hardware.
Various possible causes spring to mind - the STM programmer interfering, the buggy USB key interfering, the circuitry being wrong.
I have found a C program which claims to do the same thing, and will experiment with that.