Subject:
|
Re: GCC 2.8.1 for HC11
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Thu, 8 Apr 1999 13:36:29 GMT
|
Original-From:
|
Curt Mills, WE7U <hacker@tc.fluke.com/nospam/>
|
Reply-To:
|
Curt Mills,WE7U <hacker@SPAMLESStc.fluke.com>
|
Viewed:
|
892 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
The GCC Miniboard library -plus- LCD routines are almost completely ported
to the Handyboard. The LCD routines started playing nicely early this
morning but I haven't added the low-level stuff into the timer interrupt
yet. I can now write characters to the display! Serial-out works.
Haven't debugged the beeper yet, and haven't tested serial-in or motor
routines (don't have any motor chips or IR on my board).
WARNING: It appears that the GCC/HC11 array indexing isn't working. I
had to convert the LCD code to use pointers for the circular queue (which
actually made the code quite a bit smaller - probably faster too). If
anyone knows how to fix array indexing in GCC, please let me know. It's
probably something in the code that I touched. I didn't have to touch any
of the assembler/linker code, so I believe it is a GCC-for-HC11 problem.
WARNING: The linker (Baldwin?) is buggy, or at least misleading. I spent
a lot of energy trying to get each memory segment located into the correct
memory region. I found out that by creating some global labels (using
"::") and assembling/linking again that the map file showed the correct
addresses for global labels, but incorrect addresses for the memory
segment. Believe the global labels. I added extra labels at the
beginning/end of various segments so that they became visible in the map
files.
Oh yea, did you know that if you create code which is located in the first
page of memory that the loader will give you an error while trying to load
it? ;-) I guess the running loader code has to live somewhere...
I located the LCD code into 0x0100-0x01ff to get around this (I have an
E1/E9 chip - 512 bytes RAM). I'll change it later so the code is moved
into first page memory from somewhere else when the program starts. That
way it'll run on the A-series HC11 chips as well.
I now have the full 32.5K RAM to play in. Sure is nice.
Curt Mills, WE7U hacker.NO_*SPAM@tc.fluke.com
Senior Methods Engineer/SysAdmin
"Lotto: A tax on people who are bad at math." -- unknown
"Windows: Microsoft's tax on computer illiterates." -- WE7U
|
|
Message is in Reply To:
![](/news/x.gif) | | Re: GCC 2.8.1 for HC11
|
| Curt, I can't help test with a miniboard, since I just have a handyboard ("just" have a handyboard?). But I'd be willing to give any help I can with the handyboard libs. I'm also a willing guinea pig for trying out your gcc-2.8.1 patch and README. (...) (25 years ago, 2-Apr-99, to lugnet.robotics.handyboard)
|
29 Messages in This Thread: ![Re: GCC 2.8.1 for HC11 -handyboard@media.mit.edu (Curt Mills, WE7U) (29-Mar-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/46.gif) ![Re: GCC 2.8.1 for HC11 -handyboard@media.mit.edu (Curt Mills, WE7U) (2-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/246.gif) ![Re: GCC 2.8.1 for HC11 -handyboard@media.mit.edu (Keith Hearn) (2-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/246.gif) ![Patch released for HC11 and GCC 2.8.1 -handyboard@media.mit.edu (3-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/268.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: GCC 2.8.1 for HC11 -handyboard@media.mit.edu (Chuck McManis) (8-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/246.gif) ![Re: GCC 2.8.1 for HC11 -handyboard@media.mit.edu (Curt Mills, WE7U) (8-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/46.gif) ![Multi-Processing -handyboard@media.mit.edu (Kat) (8-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/46.gif) ![Re: Multi-Processing -handyboard@media.mit.edu (SHETTI.NITIN.MANGESH) (9-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: GCC 2.8.1 for HC11 -handyboard@media.mit.edu (Keith Hearn) (8-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/246.gif) ![Re: GCC 2.8.1 for HC11 -handyboard@media.mit.edu (Gary Livick) (8-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/46.gif) ![Re: GCC 2.8.1 for HC11 -handyboard@media.mit.edu (Keith Hearn) (8-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/246.gif) ![Re: GCC 2.8.1 for HC11 -handyboard@media.mit.edu (Curt Mills, WE7U) (9-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/46.gif) ![Re: GCC 2.8.1 for HC11 -handyboard@media.mit.edu (Keith Hearn) (9-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/46.gif) ![Re: GCC 2.8.1 for HC11 -handyboard@media.mit.edu (Gary Livick) (9-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/46.gif) ![GCC Handyboard Library -handyboard@media.mit.edu (Curt Mills, WE7U) (16-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![GCC/HC11 small patch -handyboard@media.mit.edu (Curt Mills, WE7U) (9-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/46.gif) ![Re: GCC/HC11 small patch -handyboard@media.mit.edu (12-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/246.gif) ![Re: motor drivers -handyboard@media.mit.edu (Chen Yung Hsu) (14-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/46.gif) ![Re: motor drivers -handyboard@media.mit.edu (Naser A. Ameen) (14-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/246.gif) ![Re: how to -handyboard@media.mit.edu (Gary Livick) (14-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/246.gif) ![Re: how to -handyboard@media.mit.edu (Peter Hamer) (14-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: how to -handyboard@media.mit.edu (Keith Hearn) (14-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: motor drivers -handyboard@media.mit.edu (Kam Leang) (14-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif) ![](/news/46.gif) ![Re: Expansion board manual -handyboard@media.mit.edu (Chen Yung Hsu) (4-May-99 to lugnet.robotics.handyboard)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: GCC/HC11 small patch -handyboard@media.mit.edu (20-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: GCC 2.8.1 for HC11 -handyboard@media.mit.edu (Curt Mills, WE7U) (8-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: GCC 2.8.1 for HC11 -handyboard@media.mit.edu (John Vaughn) (9-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![[OT] Re: GCC 2.8.1 for HC11 -handyboard@media.mit.edu (David Kott) (4-Apr-99 to lugnet.robotics.handyboard)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|