Hi. I am playing with USBMIDI and trying to have the Hello World example working (http://mbed.org/cookbook/USBMIDI). 
It looks like I misunderstood something very important and I cannot get it.
A couple of questions:
1) is the MIDI usb cable direct from mbed to USB PC? I am connecting a peeled USB cable to PC by D-(white), D+ (green) and GND(black). Red is not connected.
2) is it necessary to remove the normal USB cable and power the board using external power?
Both with external power supply and self-powered board, it stops in USBMIDI.CPP constructor. I put some LEDs to check where this happens:
 
USBMIDI::USBMIDI() {
    led1 = 1;
    usb_init();
    usb_connect();
    led2 = 1;
    while (!usb_configured());  
    led3 = 1;
}
LED1 and LED2 turn on; LED3 is always off: usb_configured() is never true! 
Some init function not working? Some gross mistake I'm doing?
Thanx for any help 
Alex
                    
                 
                
             
        
Hi. I am playing with USBMIDI and trying to have the Hello World example working (http://mbed.org/cookbook/USBMIDI). It looks like I misunderstood something very important and I cannot get it.
A couple of questions: 1) is the MIDI usb cable direct from mbed to USB PC? I am connecting a peeled USB cable to PC by D-(white), D+ (green) and GND(black). Red is not connected.
2) is it necessary to remove the normal USB cable and power the board using external power?
Both with external power supply and self-powered board, it stops in USBMIDI.CPP constructor. I put some LEDs to check where this happens:
USBMIDI::USBMIDI() { led1 = 1; usb_init(); usb_connect(); led2 = 1; while (!usb_configured()); led3 = 1; }LED1 and LED2 turn on; LED3 is always off: usb_configured() is never true! Some init function not working? Some gross mistake I'm doing?
Thanx for any help Alex