Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Embedded Tcl on really small CPUs

2 views
Skip to first unread message

Stephen Trier

unread,
Oct 21, 2002, 6:32:25 PM10/21/02
to
Fellow Tcl'ers,

Does anyone have experience fitting Tcl into a really small machine who
would be willing to share some of what you learned? I want to put Tcl on
an embedded system I'm working on. It has 32K of RAM, 2M of flash (for
code), and no disk. It's a 16-bit CPU from the Motorola 68HC12 family.

My goal is to write firmware tests with TclTest. The tests will live
and run in Tcl 8.4 on a host PC. They will send commands to the embedded
system using an interface similar to a slave interpreter.

procplace's TinyTcl 6.8 looks a bit big for this machine. That means I'll
have to go with an older version of Tcl.

If I don't embed Tcl, I'm going to have to write a command handler for
testing anyway, so I might as well use Tcl and get a *really good* command
handler.

I'd sure appreciate any wisdom you can offer on what versions of Tcl need
the least data space. Any other considerations about what old versions
of Tcl would be suitable would be helpful, too. (I'm keeping an eye out
for syntax changes. I remember when [] didn't treat newlines as command
separators, and I remember the change from [case] to [switch], but I don't
remember what else I need to remember! :-)

Stephen

--
Stephen Trier
Technical Development Lab
Cleveland FES Center
s...@po.cwru.edu

David Gravereaux

unread,
Oct 25, 2002, 2:34:35 AM10/25/02
to
s...@po.cwru.edu (Stephen Trier) wrote:

>procplace's TinyTcl 6.8 looks a bit big for this machine. That means I'll
>have to go with an older version of Tcl.

It doesn't get much older. You might want to consider something like forth
instead.
--
David Gravereaux <davy...@pobox.com>
Tomasoft Engineering, Hayward, CA
[species: human; planet: earth,milkyway,alpha sector]

Larry Smith

unread,
Oct 25, 2002, 1:06:26 PM10/25/02
to
David Gravereaux wrote:
>
> s...@po.cwru.edu (Stephen Trier) wrote:
>
> >procplace's TinyTcl 6.8 looks a bit big for this machine. That means I'll
> >have to go with an older version of Tcl.
>
> It doesn't get much older. You might want to consider something like forth
> instead.

Or tinker: http://www.wildopensource.com/larry-projects/others.html
--
.-. .-. .---. .---. .-..-. | Wild Open Source Inc.
| |__ / | \| |-< | |-< > / | "Making the bazaar just a
`----'`-^-'`-'`-'`-'`-' `-' | little more commonplace."
home: www.smith-house.org | work: www.wildopensource.com

Cameron Laird

unread,
Oct 28, 2002, 6:49:23 AM10/28/02
to
In article <ouohrucdcrainrf0j...@4ax.com>,

David Gravereaux <davy...@pobox.com> wrote:
>s...@po.cwru.edu (Stephen Trier) wrote:
>
>>procplace's TinyTcl 6.8 looks a bit big for this machine. That means I'll
>>have to go with an older version of Tcl.
>
>It doesn't get much older. You might want to consider something like forth
>instead.
.
.
.
I'm certainly fond of Forth and Lua. Do note that
Tcl versions 2.1, 3.3, 4.0, 6.1, 6.4, 6.7 are avail-
able through <URL: http://
sourceforge.net/project/showfiles.php?group_id=10894 >,
mostly through the efforts of Andreas Kupries, I be-
lieve.
--

Cameron Laird <Cam...@Lairds.com>
Business: http://www.Phaseit.net
Personal: http://phaseit.net/claird/home.html

Andreas Kupries

unread,
Oct 31, 2002, 12:59:39 AM10/31/02
to
cla...@lairds.com (Cameron Laird) writes:

> In article <ouohrucdcrainrf0j...@4ax.com>,
> David Gravereaux <davy...@pobox.com> wrote:
> >s...@po.cwru.edu (Stephen Trier) wrote:
> >
> >>procplace's TinyTcl 6.8 looks a bit big for this machine. That means I'll
> >>have to go with an older version of Tcl.
> >
> >It doesn't get much older. You might want to consider something like forth
> >instead.
> .
> .
> .
> I'm certainly fond of Forth and Lua. Do note that
> Tcl versions 2.1, 3.3, 4.0, 6.1, 6.4, 6.7 are avail-
> able through <URL: http://
> sourceforge.net/project/showfiles.php?group_id=10894 >,
> mostly through the efforts of Andreas Kupries, I be-
> lieve.

Not me alone. A number of people send me the distributions they had,
or references to them.

--
Sincerely,
Andreas Kupries <akup...@shaw.ca>
Developer @ <http://www.activestate.com/>
Private <http://www.purl.org/NET/akupries/>
-------------------------------------------------------------------------------
}

0 new messages