EmbeddedRelated.com
Forums
Memfault Beyond the Launch

IAR C Compiler for the HC11

Started by Janet Lefko February 27, 2004
I am supporting a legacy HC11 product with 12K code built on the
Archimedes Compiler platform. The company no longer exists, the tool is
DOS based, and the debugging utility is rather limited.
IAR now supports this product and since no 2 compilers seem to use the
same way of accessing registers, I believe I am locked into the IAR tool
if I choose to upgrade to a Windows version.
Does anyone have experience with the IAR tool and what do you think of
it?
Thanks,
Janet Lefko

Electrical Engineer

Tekscan, Inc.
617 464-4500 x235



Archimedes was reselling the HIWARE products branded as Archimedes tools.
However, they were not DOS based (so in such a case I may be wrong).
If the HC11 product has a 'prog' folder and a chc11.exe in it, then it is
the HIWARE tool, branded as Archimedes.
In such a case you could use the Metrowerks HC11 tool chain (as HIWARE has
been aquired in 2000 by Metrowerks).
And: the Metrowerks HC11 is compatible with the Archimedes HC11 one (as it
is the same).
Contact me off-list and I can organize that you get the Metrowerks tools to
evaluate.

Erich

> -----Original Message-----
> From: Janet Lefko [mailto:]
> Sent: Freitag, 27. Februar 2004 15:14
> To:
> Subject: [m68HC11] IAR C Compiler for the HC11 > I am supporting a legacy HC11 product with 12K code built on
> the Archimedes Compiler platform. The company no longer
> exists, the tool is DOS based, and the debugging utility is
> rather limited. >
> IAR now supports this product and since no 2 compilers seem
> to use the same way of accessing registers, I believe I am
> locked into the IAR tool if I choose to upgrade to a Windows version. >
> Does anyone have experience with the IAR tool and what do you
> think of it? >
> Thanks, >
> Janet Lefko
>
> Electrical Engineer
>
> Tekscan, Inc. >
> 617 464-4500 x235 > Yahoo! Groups Links >




The tool I am supporting was purchased in 1992. It doesn't include a
/prog/chc11.exe.
I just finished speaking to Tech Support at Metrowerks and have arranged
for a 30 day eval.
Thanks,

Janet Lefko
-----Original Message-----
From: Erich Styger [mailto:]
Sent: Friday, February 27, 2004 5:36 PM
To:
Subject: RE: [m68HC11] IAR C Compiler for the HC11
Archimedes was reselling the HIWARE products branded as Archimedes
tools.
However, they were not DOS based (so in such a case I may be wrong).
If the HC11 product has a 'prog' folder and a chc11.exe in it, then it
is
the HIWARE tool, branded as Archimedes.
In such a case you could use the Metrowerks HC11 tool chain (as HIWARE
has
been aquired in 2000 by Metrowerks).
And: the Metrowerks HC11 is compatible with the Archimedes HC11 one (as
it
is the same).
Contact me off-list and I can organize that you get the Metrowerks tools
to
evaluate.

Erich

> -----Original Message-----
> From: Janet Lefko [mailto:]
> Sent: Freitag, 27. Februar 2004 15:14
> To:
> Subject: [m68HC11] IAR C Compiler for the HC11 > I am supporting a legacy HC11 product with 12K code built on
> the Archimedes Compiler platform. The company no longer
> exists, the tool is DOS based, and the debugging utility is
> rather limited. >
> IAR now supports this product and since no 2 compilers seem
> to use the same way of accessing registers, I believe I am
> locked into the IAR tool if I choose to upgrade to a Windows version. >
> Does anyone have experience with the IAR tool and what do you
> think of it? >
> Thanks, >
> Janet Lefko
>
> Electrical Engineer
>
> Tekscan, Inc. >
> 617 464-4500 x235 > > .


Ah ye olde Archimedes "C", the very first embedded software project I did
was to fix firmware that was written using that compiler. A consultant had
dumped a non-functional system on us and I ended up rescuing the project.

When we went to buy the Archimedes compiler it had been removed from the
market in preparation for the Windows version that would be released "real
soon". We couldn't wait for the release so, I decided to go with the only
other option available at the time that integrated with our emulator, Cosmic
(at that time distributed under the Whitesmiths name).

At that time, 1992, I knew very little about embedded programming and
nothing about "C". I was/am primarily an analog circuit designer. It didn't
occur to me that there could be substantial differences between different
vendors "C" compilers. When the compiler arrived and I read the manuals I
got a sinking feeling that I might have a long struggle ahead. Trying to
learn "C", embedded programming, translating between Archimedes and Cosmic
and, then fix code written by someone else.

However, I found that translating between the compilers was not difficult.
Since then I've ported "C" code between quite a few compilers and have never
found it to be hard, boring and tedious yes, but not difficult.

So, I suggest you choose a compiler based on features and cost and don't
worry, you'll be able to port the code without too much trouble. One last
tip, use your editors "find & replace" command to quickly change all the
register accesses to the new compilers format.

Paul > -----Original Message-----
> From: Janet Lefko [mailto:]
> Sent: Friday, February 27, 2004 4:14 PM
>
> I am supporting a legacy HC11 product with 12K code built on the
> Archimedes Compiler platform. The company no longer exists, the tool is
> DOS based, and the debugging utility is rather limited.
>
> IAR now supports this product and since no 2 compilers seem to use the
> same way of accessing registers, I believe I am locked into the IAR tool
> if I choose to upgrade to a Windows version.
>
> Does anyone have experience with the IAR tool and what do you think of
> it?
>
> Thanks,
>
> Janet Lefko
>
> Electrical Engineer
>
> Tekscan, Inc.





Memfault Beyond the Launch