Hello Simon
Thanks for your explanation and the nice sketch. I just got my mbed this morning and have been playing with it ever since. It was really a joy to compile and download my "blinky" within seconds.
Now, I had a very similar understanding of the system as you drew above. It was hard to understand how can you do all the "smart" stuff without an additional "processor" on the board. It looks like the "mbed interface" is another microcontroller like thing.
I have the following question/comment:
1. I wanted to ask if it was possible, after booting up, to use the (Mass storage) USB interface as a serial output for "debug printing" ? Now after your sketch, this does not seem to be the case. You may write to "local" file system but you cannot have "live" printing. So one must use UART1 or "real" USB or ethernet, etc. for this purpose. Am I correct?
Thanks
Asif
If you want to communicate from a PC-based (Win,Mac,Lin) application with MBED through the USB port it seems that serial is the only option today.
Would it be technically feasible upgrading the firmware so that you would rather use the Mass Memory interface as a way to send data back an forth? It seems that this would be simpler than baudrate settings and stuff not to mention that SUN dropped their serial Java API (because they couldn't get it to work in a reasonable way I guess).
Currently the MassStorage interface disconnects when MBED write to it, s some kind
of patch seems needed. OTOH it may not be feasible.
Just my two cents
Anders