Linux BST can't cat serial device
Nikopotomus
Posts: 5
I'm wondering if anyone has experience with accessing serial ports from a linux command shell after using BST (Brads Spin Tool). I'm running Ubuntu 11.04 and after programming a propeller on /dev/ttyUSB0 for instance, "cat /dev/ttyUSB0" just returns. echo "command" > /dev/ttyUSB0 does work to send commands to the propeller. Closing BST has no effect and in order to cat the port I need to reboot. In addition when BST scans the serial ports looking for a propeller chip it similarly breaks all the USB ports it scans. Other terminal programs like gtkTerm and the BST serial terminal have no problem. Anyone know of a work-around for this problem?
I don't know if Brad of Brad's Spin Tool will read this... But I really like BST... Thank you Thank you Thank you Brad!!!! BST is really great . Developing in Linux is so much nicer for me than Windows.
Thanks
Joel
I don't know if Brad of Brad's Spin Tool will read this... But I really like BST... Thank you Thank you Thank you Brad!!!! BST is really great . Developing in Linux is so much nicer for me than Windows.
Thanks
Joel
Comments
I don't have a Prop here but I do have a USB serial adapter.
I plug it in and it shows up as /dev/ttyUSB0.
I can cat from that and it will patiently wait for chars to arrive.
Quit the cat and run BST.
Selecting "Compile->Detect Propeller" now hangs BST completely.
Never seen BST do that before. Not even when it fails to detect a connected Propeller.
I'll also second what Joel said - BST is great. No, it's more than great, because with no BST I would not have worked with the Propeller chip. I bought my first Propeller because I knew about BST, and wouldn't have if there were only Windows tools available - I don't own a Windows computer (and at work the whole development section only use Linux computers).
-Tor
Same here. BST is a wonderful thing.
I was on the verge of giving up on the Prop due to the inconvenience of having to find a Windows machine, or dual boot one. Even running Windows in a virtual machine is a pain just for that simple task.
And I love the BST as I don't have to jump in and out of my dual boot.