Project

General

Profile

Serial monitoring?

Added by KalleP about 8 years ago

In the wiki instructions for the test firmware on the MBED it says to set up a serial port at 115200 bps but not how it is connected.

Is this to be connected to the serial pins of the I2C display board or is this intended to connect via an MBED USB connection?

I have not dug up my USB to TTL dongle yet but will if I need to.

My MBED does not enumerate a USB/serial port at the moment though the mass media drive port is working fine.

I do not know if I need to do more serial test except to help with debugging but the other features in the test software seem to work OK. I get 9 different key press codes displayed and shorting the inputs to ground turn off the MBED lights as expected.


Replies (5)

RE: Serial monitoring? - Added by peteruithoven about 8 years ago

Via the MBED USB port. So that's the same way you connect to it as a mass media drive.
I don't think this is essential, it's mostly handy for debugging.
On what wiki page does it mention this?

It would be great if you could clarify the page. If you find it confusing you're probably not the only one.

RE: Serial monitoring? - Added by KalleP about 8 years ago

I have never developed anything with the MBED so do not have any of their drivers installed, is there a standard one?

It is mentioned on test firmware page
http://redmine.laoslaser.org/projects/laos/wiki/TestFirmware#Testing-the-board-outside-laser
It is clear that the USB needs to be plugged in for the upload of the .BIN file but what does it matter the bitrate on a USB serial connection? It should be ignored unless it goes through a USART on one or the other end so not sure why it is mentioned.

Kalle
--
Johannesburg, South Africa

RE: Serial monitoring? - Added by peter about 8 years ago

Check Theo MBed.org website. Search for se rial.

For macand win you need to install std driver.
It is routed via the USART so baud rate matters.

RE: Serial monitoring? - Added by KalleP about 8 years ago

Thanks Peter,

All is well in the MBED world. Downloaded and installed the driver as mentioned on the web page.

https://mbed.org/handbook/Windows-serial-configuration

The debug system works as expected. All the inputs and outputs work correctly. The X and Y toggles are also working, motor enable is good. Control keys are echoed as in numeric pad layout.

My only problem is with the stepper drivers and micro stepping, a Pololu issue and I will start a separate thread.

All tests completed and time to install the board next.

Kalle
--
Johannesburg, South Africa

RE: Serial monitoring? - Added by jegb almost 6 years ago

for mac there is no need to install drivers, but there is no response back over usb.
"Mac OS X - Use the command ls /dev/tty.usbmodem* "

not sure what is wrong...

    (1-5/5)