Overtone Labs

Help talking to stick os from "screen" on mac

 Is it possible to talk to the stick os from the terminal on a mac using screen. I cannot find the correct tty to connect to - however the CPU STICK device shows up in "USB prober". Any one have any ideas? 

thanks

Views: 110

Reply to This

Replies to This Discussion

Hi,

On Mac OS X, this is how I use the 'screen' utility with StickOS:

"From scratch" (starting here for anyone who doesn't know what 'screen' is yet...):


First, open Terminal. If you've never used Terminal before, it's under Applications/Utilities/Terminal. Next, type


ls /dev/tty.*

to get a list of all of your serial ports. Pick the one that you want to open. For example, my list looks like this:

/dev/tty.Bluetooth-Modem

/dev/tty.Bluetooth-PDA-Sync

/dev/tty.usbmodemfa141

Your CUI32 board will show up with a similar name to the last one, in that it will include 'tty.usbmodem' in the name.

So now you can just type 'screen portname' followed by return, and StickOS will show up in the Terminal screen. In my case, I type:


screen /dev/tty.usbmodemfa141

Then I sometimes have to push the enter key once more, after which StickOS responds with its welcome message:


Welcome to StickOS for Microchip PIC32MXx-F512H CUI32 v1.80c!

Copyright (c) 2008-2010; all rights reserved.

http://www.cpustick.com

support@cpustick.com

(checksum 0x47c2)


To quit the screen app, tyoe control-A, then control-\.

Reply to Discussion

RSS

© 2013   Created by Dan Overholt.

Badges  |  Report an Issue  |  Terms of Service