10 years, 2 months ago.

Why mbed can't talk to my computer?

I downloaded the driver to connect to it via usb. I loaded an example program of serial com.

I've connected to it via Tera Term, at 9600, 1 stop bit, no parity, 8 data bit I've also selected LF for Receive under terminal setup

mbed is hooked via its standard program loading USB. Can I not use this one? I made it printf to both USBSerial serial, and Serial pc(USBTX,USBRX)

Is my mbed device dead? or am I missing something.

1 Answer

10 years, 2 months ago.

So which COM ports does TeraTerm show? We really need more info to know the issue. Did you use this driver for Serial pc: http://mbed.org/handbook/Windows-serial-configuration? And your program probably hangs on USBSerial, which tries to connect the USB peripheral, but there is no connection, so remove that one.

Accepted Answer

Yes, I accidentally had both USBSerial and Serial communicate with computer. Getting rid of USBSerial fixed the problem.

posted by Tom Iancovici 16 Feb 2014