Quickstart board USB as serial debug
FORD
Posts: 221
Hi to All,
Is it possible to use the usb port on the Parallax QuickStart board as a serial debug port ?
Meaning - In my prop code, can i simply send (or receive) serial characters out of a prop pin(s) on the board, and receive them in a terminal program ?
Or do I need to dedicate separate i/o pins and use them to rx / tx thru a separate usb/serial adaptor to my pc ?
cheers
Chris
Is it possible to use the usb port on the Parallax QuickStart board as a serial debug port ?
Meaning - In my prop code, can i simply send (or receive) serial characters out of a prop pin(s) on the board, and receive them in a terminal program ?
Or do I need to dedicate separate i/o pins and use them to rx / tx thru a separate usb/serial adaptor to my pc ?
cheers
Chris
Comments
now i can get stuck into it...
thanks again...
It has string output, decimal conversion and some other options available. A nice starting point.
In case of need ask.
Massimo
i am using a mac, so i think my options may be limited (i haven't done much research yet though, its a new laptop.
thanks again for your info
parallax serial terminal.spin is an object to be used in the propeller for debugging purposes.
In my opinion it is a nice starting point because it requires little configuration.
under MAC I guess you have BST as an IDE. Inside BST you can find a serial terminal, and the nicest thing is BST disables the terminal before uploading to the propeller and the enables it again, so again little overhead to get started.
Remember to set the correct port and baud rate in the terminal, and you are ready to connect.
Massimo
Using a Macintosh, there are several 'virtual engines' on the market. Apple has their Boot Camp. I've been using Parallels. And there is at least another; can't recall the name at the moment.
This then allows one to install and run Windows which then allows one to use PASD, Viewport and Parallax's Prop IDE. Just my 2¢.
I have bst on my laptop, havent looked closely at it yet, just detected the prop to make sure my usb-serial was working, and its fine, (Parallax brand).
I'm just trying to get back up to speed with some prop basics, as i havent done anything with it for a few years.
Thanks again for your assistance, now its time i did some work on it instead of asking the lazy questions
Cheers.
Attached is a little demo program to show you want I was talking about. I am hoping that Brad adds PST-style formatting commands to his terminal window as that helps to create nice output without having to connect a monitor or TV.
And do note that this is a very simple demo. I have several client projects where I can use PST and have a very nice monitor output while their project is running.
thanks heaps for your assisatance, I will have a good play with that tonight.
cheers,
Chris