Com ports in Windows from Squeak

Jon Hylands jon at huv.com
Fri Mar 2 17:48:27 UTC 2007


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