I have now got Blink to run on the BlackIce \o/
There is a green LED on port PC13 - which is used as a status LED.
According to the pin mapping of the Butterfly Board PC13 is called digital 39
If you change the Blink sketch to set digital 39 as PinMode OUTPUT and in the body of the sketch change the other two lines that refer to the Built_In_LED - then it will work.
I changed the blink delay from 1000mS to 100mS - and it all seems to work.
You might consider fitting a switch and a suitable resistor to the Boot pin - that makes it easier to load by dfu - as it just needs to be seen to be in dfu mode when it comes out of reset. Sometimes you can use a resistor and capacitor to slow the turn on time of the boot signal - so that it comes out of reset - already in dfu mode.
Other things to note - select "Butterfly" as the board type
Select USB Type: Serial
Select CU Speed 80MHz
Select Programmer: STM32 Bootloader
This STM32 Bootloader uses the STMDFU mode - so you need to remove the jumper link to program.
I found the best way was to plug in the USB cable and hold in reset until the compilation was almost over - you then get a programmer dialog and some progress bars to tell you that it is programming.
If you just get an increasing count 1 to 10 - that means that it hasn't found the STM32 device in dfu mode.
Finally - you have to follow the advice about using Zadig - to change the driver for the STM32 Bootloader - you can find instructions on how to do that here:
The details you need are:
If at this point you are still having trouble loading a new sketch there are three things you can try.
First, unplug the Ladybug or Butterfly, close all serial monitors, quit the Arduino IDE, restart the Arduino IDE and reconnect the Ladybug or Butterfly. This is sometimes necessary if the serial port is disconnected, multiple unsuccessful flash attempts are made or the computer gets confused in some manner.
Second, press and hold the boot button (BTN, right most button) while pressing and releasing the RST button. Release the boot button. This puts the device into boot loader mode, which should not be required for the Arduino IDE, but is sometimes useful if your computer gets confused about open COM ports, etc.
_Lastly, if none of these methods work, with the Ladybug or Butterfly in boot loader mode, run Zadig (for Windows machines), choose list all devices in options, select STM32 boot loader, and press the big button that says "Reinstall WCID Driver". Or with the Ladybug on normal mode click “Replace Driver” (drop down in the big button) with the box above it saying “WinUSB(v6.1.7600.26385)”. This is sometimes necessary if Windows associates the wrong driver (like the Teeniduino driver) for your Ladybug or Butterfly device.