Com ports in Windows from Squeak

Tansel tansel at squeakonline.com
Fri Mar 2 21:28:01 UTC 2007


Hi Jon,

I don't know where it comes from but in Windows it seems there is a single
digit limit. In some cases Windows device manager (under ports) allows you
to remap the port to another number under an "Advanced" option. Maybe that
could help?

Tansel

-----Original Message-----
From: squeak-dev-bounces at lists.squeakfoundation.org
[mailto:squeak-dev-bounces at lists.squeakfoundation.org] On Behalf Of Jon
Hylands
Sent: Friday, 2 March 2007 7:48 PM
To: squeak-dev at lists.squeakfoundation.org
Subject: Com ports in Windows from Squeak


Hi everyone,

I've been interfacing Squeak with an Atmel ATmega128 microcontroller for
quite some time, through a USB -> TTL serial converter. The com port that
this converter gets seems to change somewhat randomly as time goes on and
it gets plugged in an unplugged. Recently, it has come up as Com13, which
for some reason I am unable to access from Squeak.

I can run HyperTerminal and access the port, and see the characters I am
typing show up. When I run Squeak, and try and do an #openPort: with 13 as
the port number, I get back nil, signifying the port isn't available.

Does Squeak have some kind of hard-coded limit in the serial plugin?

Later,
Jon

--------------------------------------------------------------
   Jon Hylands      Jon at huv.com      http://www.huv.com/jon

  Project: Micro Raptor (Small Biped Velociraptor Robot)
           http://www.huv.com/blog




More information about the Squeak-dev mailing list