If you can get the bootloader working rather than using DFU, that'd definitely be easiest though.
As @allObjects says, the micro USB connector is quick tight and the button is hard to press, so I generally hold the button while plugging the other end of the USB cable into the PC.
It's odd about the red & green LEDs flashing though. That should only really happen if the power gets interrupted after the bootloader mode starts.
Just to help try and rule some things out, please could you try and do it while connected to another PC, and/or a USB charger? On the USB charger the red&green LEDs should be solidly on when in bootloader mode - if that fails then we know something's up with the .
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
But you used the DFU tool from here and couldn't get it to go? http://www.st.com/en/development-tools/stsw-stm32080.html
If you can get the bootloader working rather than using DFU, that'd definitely be easiest though.
As @allObjects says, the micro USB connector is quick tight and the button is hard to press, so I generally hold the button while plugging the other end of the USB cable into the PC.
It's odd about the red & green LEDs flashing though. That should only really happen if the power gets interrupted after the bootloader mode starts.
Just to help try and rule some things out, please could you try and do it while connected to another PC, and/or a USB charger? On the USB charger the red&green LEDs should be solidly on when in bootloader mode - if that fails then we know something's up with the .