EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

68HC11P1 C Compiler

Started by Matthew T. Linehan January 31, 2004
I'm searching for an HC11P1 C Compiler.

We have been using Introl C 4.1 with the HC11F1 for a while. I'm
starting an new project using the HC11P1 and I just discovered that
Introl 4.1 does not support this variant correctly, and www.introl.com
is gone, making purchasing an upgrade impossible.

I require an compiler/library that:
Supplies library source code
Library code must be reenterent. I use a home grown multitasker!
Support inline assembly (for those time critical functions)
Supports 32 bit long ints
Supports 32 bit float
64 bit float support optional, but a plus!!!
MUST have localtime, mktime, (time.h library support, RTC on CB)
Supports fopen, fclose, fprintf, fscanf, etc...
I will have 4 character devices in the system, 3 serial ports
and one LCD. These all need to be accessible as files...
lcd = fopen("/dev/lcd", "w"); fprintf(lcd, "Hello World!");

An IDE that hosts on linux is: desirable += 1000;

Any suggestions?

Matt
--
'Trying to make bits uncopyable is like trying to make water
not wet. The sooner people accept this, and build business
models that take this into account, the sooner people will
start making money again.' -- Bruce Schneier




Hello Matthew,

If you want to give a try: Metrowerks CodeWarrior for HC11:
ftp://ftp3.metrowerks.com/pub/dropzone/HC11CodeWarrior_Mot1.0.exe

See below for comments.

> -----Original Message-----
> From: Matthew T. Linehan [mailto:]
> Sent: Sonntag, 1. Februar 2004 01:00
> To:
> Subject: [m68HC11] 68HC11P1 C Compiler > I'm searching for an HC11P1 C Compiler.
>
> We have been using Introl C 4.1 with the HC11F1 for a while.
> I'm starting an new project using the HC11P1 and I just
> discovered that Introl 4.1 does not support this variant
> correctly, and www.introl.com is gone, making purchasing an
> upgrade impossible.
>
> I require an compiler/library that:
> Supplies library source code
Yes.
> Library code must be reenterent. I use a home grown multitasker!
Yes.
> Support inline assembly (for those time critical functions)
Yes.
> Supports 32 bit long ints
Yes.
> Supports 32 bit float
Yes.
> 64 bit float support optional, but a plus!!!
Supported.
> MUST have localtime, mktime, (time.h library support, RTC on CB)
No, sorry. If you have it for Introl, you may port it over?

> Supports fopen, fclose, fprintf, fscanf, etc...
> I will have 4 character devices in the system, 3 serial ports
> and one LCD. These all need to be accessible as files...
> lcd = fopen("/dev/lcd", "w"); fprintf(lcd, "Hello World!");
Possible, but you have to adapt and rebuild the library.

>
> An IDE that hosts on linux is: desirable += 1000;
Yes, but not in the above download package.

Erich
>
> Any suggestions?
>
> Matt
> --
> 'Trying to make bits uncopyable is like trying to make water
> not wet. The sooner people accept this, and build business
> models that take this into account, the sooner people will
> start making money again.' -- Bruce Schneier >
>




Hi,

At 2004-02-01 01:00, Matthew T. Linehan wrote:
>I'm searching for an HC11P1 C Compiler.

I wrote an 6811 compiler and assembler and linker
years ago that I used myself for production code
for years working for a company.

When it wouldn't have been good, I wouldn't have
used it or I would have improved it. The latter of
which I frequently did of course (during the weekends).

I'd be willing to turn it into an open source project
if I got some help.

>We have been using Introl C 4.1 with the HC11F1 for a while. I'm
>starting an new project using the HC11P1 and I just discovered that
>Introl 4.1 does not support this variant correctly, and www.introl.com
>is gone, making purchasing an upgrade impossible.
>
>I require an compiler/library that:
> Supplies library source code

Yes, most of the standard C-library source code I have
written myself, but you can also use the ones from Linux
or FreeBSD or whatever.

> Library code must be reenterent. I use a home grown multitasker!

Of course all of the produced code is reenterent. Does
non-reenterent code producing compilers for the 6811 ever
exist?

For stack-impared processors like the 6805/08 or 6851 that
may make sense, but not for the 6811 I would think.

> Support inline assembly (for those time critical functions)

Of course. And I wrote the assembler myself and it's
also very high level, with typing, arrays, structs etc.

> Supports 32 bit long ints

Yes, I think so. It mainly consists of calling
functions, that you may provide yourself.

> Supports 32 bit float
> 64 bit float support optional, but a plus!!!

No floats. I hate floats. At the speed of a 6811,
floats are generally not very useful and it's usually
better to reeducate the programmer. ;-)

> MUST have localtime, mktime, (time.h library support, RTC on CB)
> Supports fopen, fclose, fprintf, fscanf, etc...
> I will have 4 character devices in the system, 3 serial ports
> and one LCD. These all need to be accessible as files...
> lcd = fopen("/dev/lcd", "w"); fprintf(lcd, "Hello World!");

The problem is that providing the standard C functions that
have no interaction with the OS is simple, but the problem
starts when one has to deal with the OS, but the OS should
provide the library functions then I think and didn't you
write the multitasker?

By the way, I also used it to multitask (upto 200 jobs for
remote devices) but not with some intermediate Unix-like
layer, so I didn't need all kinds of Unix file functions.

The main problems with an 6811 are speed and memory space
and both are limited and therefore not to be wasted.

>An IDE that hosts on linux is: desirable += 1000;

I have hosted the compiler (and the rest) over the years on:
- Our own self-build 6809-system with a self ported Unix
- Xenix
- DEC 64-bits Alpha processor based Unix
- Linux

>Any suggestions?

I'm willing to make my code open source, but only with a
lot of serious help, but you're probably looking for a
ready to use turn-key solution (which I can't blame you
for) so I think you'd better try some of the other
compilers that you haven't tried yet.

And a serious tool may cost money...

Greetings,
Jaap



Does anyone know what happened to Introl and Richard Pennington?

The Introl compiler had very good reviews and a lot of happy clients.

Bfn,

Bob Furber

__________________________________________________________

Connect your micro to the internet the easy way
www.microcommander.com

Microcontroller with an obscenity of I/O & features
..in a small footprint www.steroidmicros.com
__________________________________________________________


Hi Bob --

I, too, had a long run of success with the Introl tools on a MC68332 based
embedded controller project. I sorely miss the presence of Introl.

My last contact with Rich was through the
email group. You might try him
there.

Best wishes, Bob Smith
--- Avoid computer viruses, Practice safe hex ---

-- Specializing in small, cost effective
embedded control systems --

http://www.smithmachineworks.com/embedprod.html Robert L. (Bob) Smith
Smith Machine Works, Inc.
9900 Lumlay Road
Richmond, VA 23236 804/745-1065
----- Original Message -----
From: "Bob Furber" <>
To: <>
Sent: Monday, February 02, 2004 2:10 PM
Subject: RE: [m68HC11] 68HC11P1 C Compiler > Does anyone know what happened to Introl and Richard Pennington?
>
> The Introl compiler had very good reviews and a lot of happy clients.
>
> Bfn,
>
> Bob Furber
>
> __________________________________________________________
>
> Connect your micro to the internet the easy way
> www.microcommander.com
>
> Microcontroller with an obscenity of I/O & features
> ..in a small footprint www.steroidmicros.com
> __________________________________________________________



Indeed the group is still active and Rich has posted to it as recently
as Nov 11, 2003.

I've been trying to join the group for the last 2 hours but yahoo
requires e-mail address verification before you can join. The verify
messages are not making it through to my inbox.

If anyone can get a message to Rich, it would be appreciated.

I just spent the entire weekend downloading and evaluating demo hc11 c
compilers. In my opinion, none of them touch Introl-Code. Introl has
the most complete C library bar none.

I'm still running Introl-Code 4.00.1.5. Which has some problems
supporting the P2 variant, but I think I have managed to correct the
problems myself by editing a couple errors in text files that the IDE
reads for directions on how to setup the vector table and the internal
peripherals. (*.ddf and *.cfg files)

If anyone can get a message to Rich, I _want_ to write him a _check_
to upgrade from 4.00.1.5 to the last released version of Introl-Code
4.01.1.x

archive.org has some of the www.introl.com site in it's archive.

Matt

On Mon, 02 Feb 2004 15:05:53 -0500, you wrote:

>My last contact with Rich was through the
> email group. You might try him
>there.


--
'Trying to make bits uncopyable is like trying to make water
not wet. The sooner people accept this, and build business
models that take this into account, the sooner people will
start making money again.' -- Bruce Schneier




I had the same problem with Yahoo when Motorola dropped the majordomo
list. I use an alias via IEEE and it wouldn't accept that. I had to use my
work account to enrol, then once enrolled was able to assign my IEEE
account to actually receive the mail.

I did some tests with various C compilers for the 68HC11 when I was
teaching college and found that Imagecraft ICC11 was by far the most
efficient of the lower-cost/free ones. in terms of code space used. I have
not been exposed to Introl so can't offer a comparison - others may set me
straight.

regards,

NIgel Johnson

At 20:42 04-02-02, you wrote:
>Indeed the group is still active and Rich has posted to it as recently
>as Nov 11, 2003.
>
>I've been trying to join the group for the last 2 hours but yahoo
>requires e-mail address verification before you can join. The verify
>messages are not making it through to my inbox.

Nigel W. Johnson
MCSE, Mem.IEEE
VE3ID / G4AJQ
Web site: http://nigel.homelinux.net
If you want me to have it ready yesterday, you'd better come back the day
before and ask me.


Jaap van Ganswijk wrote:

[...]

> > Library code must be reenterent. I use a home grown multitasker!
>
> Of course all of the produced code is reenterent. Does
> non-reenterent code producing compilers for the 6811 ever
> exist?

Yes, the Hi-Tech compiler used some fixed address temp storage, and
the ICC11 also since it used the old FP routines from Gordon
Doughman. IIRC, that's fixed in the meantime.

[...]

> No floats. I hate floats. At the speed of a 6811,
> floats are generally not very useful and it's usually
> better to reeducate the programmer. ;-)

Float can be as fast as 32 bit ints.

Oliver
--
Oliver Betz, Muenchen



The 2024 Embedded Online Conference