Search the web
Sign In
New User? Sign Up
gnu-m68hc11 · GNU 68HC11/HC12
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Linking large programs into banks   Message List  
Reply | Forward Message #9275 of 9422 |
Re: Linking large programs into banks

Hi,

Just reading through the posts. Was a solution to this problem ever
determined?

Thanks,

Matt



--- In gnu-m68hc11@yahoogroups.com, "Jefferson Smith" <imajeffs@...>
wrote:
>
> The only way so far is explicitly in the linker script.
>
> This is the moved link to the scripts that are supposed to automate
> the allocation.
> http://jtvolpe.home.comcast.net/
>
> --- In gnu-m68hc11@yahoogroups.com, Jeremy Wade <wadejer@m...>
wrote:
> > I've been a long time lurker on this list, and after a lot of
> searching, I
> > haven't figured out how to do the following:
> >
> > I'm using an HCS-12 board with 256k of flash located in the page
> window at
> > 0x8000-0xbfff. I don't mind the extra overhead of using
> -mlong-calls and
> > using libraries that have been recompiled that way. I'm using
settings
> > derived from the IPac HCS-12 board found in GEL 1.6. I would like
> to work
> > out a configuration in which the many .c files can be listed in a
> makefile
> > and the resulting .o's will have their .text sections linked into
> multiple
> > banked output regions defined in my memory.x file. What I _don't_
> want to
> > do is have to explicitly specify the object files' .text sections
by
> name
> > for each output bank region. That is, I want the many object
files to
> > fill the banks like buckets of memory, rolling over to the next
bank in
> > the list (at an object file boundary) when it is determined that
the
> > current bank doesn't have enough room to hold the next object
file.
> >
> > If the only way to use banking is to explicitly control which
objects go
> > in which banks, then I would have to look at writing a helper
script
> that
> > parses the objdump output for each object file and generates a
memory.x
> > file on the fly that spreads the objects out into the available
banks
> > based on their sizes. Ideas?
> >
> > thanks!
> > Jeremy Wade
> >
> >
> >
> > Design Engineer, Mosaic Industries (510) 790-8222
> > Newark, California
>





Mon Mar 2, 2009 4:43 am

matthew_manthey
Offline Offline
Send Email Send Email

Forward
Message #9275 of 9422 |
Expand Messages Author Sort by Date

I've been a long time lurker on this list, and after a lot of searching, I haven't figured out how to do the following: I'm using an HCS-12 board with 256k of...
Jeremy Wade
wadejer@...
Send Email
Jul 6, 2005
2:39 am

The only way so far is explicitly in the linker script. This is the moved link to the scripts that are supposed to automate the allocation. ...
Jefferson Smith
imajeff84663
Online Now Send Email
Jul 6, 2005
5:04 pm

Hi, Just reading through the posts. Was a solution to this problem ever determined? Thanks, Matt ... settings ... by ... files to ... bank in ... the ... ...
matthew_manthey
Offline Send Email
Mar 2, 2009
4:43 am

I must be a longer-time lurker because this was pretty well known a while ago: http://m68hc11.serveftp.org/m68hc11_tools.php contains this tool: ...
Jefferson Smith
imajeff84663
Online Now Send Email
Jul 7, 2005
2:07 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help