Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | Link errors on port from DP256 to DJ128

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

Link errors on port from DP256 to DJ128 - galenpatrickogrady - Jun 13 10:51:00 2005

I'm using Codewarrior 2.0 and am doing my development with a DP256
part. The production version won't need all the bells and whistles of
the DP256 and so I'm trying to re-build for the DJ128. I've included
the DJ128 rather than DP256 c and h files and reduced the available
pages (in prm file) to match the DJ128.

Problem is I'm getting link errors that I don't know how to
troubleshoot. The errors look like this: "ERROR L1100: Segments
.absSeg265 (0x0) and .absSeg426 (0x0) overlap". Where are the
.absSegxxx entries generated and where are the "placement
instructions" that are causing the problem?

Regards,
Galen.


______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )


RE: Link errors on port from DP256 to DJ128 - Erich Styger - Jun 13 13:46:00 2005

Hello Galen,
Look at the linker messages: you can map the message to a warning. The
linker option -WmsgSw1100 does this for you.
Then you could check the .map file what is causing your problem.
I guess you have two objects allocated to the address zero (using the
absolute @0x0000 notation.
In the map file you will get the name of the segment/object.

Erich

> -----Original Message-----
> From: 68HC12@68HC... [mailto:68HC12@68HC...]
> On Behalf Of galenpatrickogrady
> Sent: Montag, 13. Juni 2005 16:51
> To: 68HC12@68HC...
> Subject: [68HC12] Link errors on port from DP256 to DJ128 > I'm using Codewarrior 2.0 and am doing my development with a DP256
> part. The production version won't need all the bells and whistles of
> the DP256 and so I'm trying to re-build for the DJ128. I've included
> the DJ128 rather than DP256 c and h files and reduced the available
> pages (in prm file) to match the DJ128.
>
> Problem is I'm getting link errors that I don't know how to
> troubleshoot. The errors look like this: "ERROR L1100: Segments
> .absSeg265 (0x0) and .absSeg426 (0x0) overlap". Where are the
> .absSegxxx entries generated and where are the "placement
> instructions" that are causing the problem?
>
> Regards,
> Galen. >
>
> Yahoo! Groups Links


______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: Link errors on port from DP256 to DJ128 - galenpatrickogrady - Jun 14 10:25:00 2005

Looks like the messages were being generated because of the dual
8-bit/single 16-bit register definitions in the DJ processor's .h
file. For example PORTA is defined as 8-bits at address 0 and PORTAB
is defined as 16 bits also at address 0. When I created a "clean"
DJ128 project in Codewarrior, I didn't get these errors because these
messages had automatically been disabled in the linker dialog.

When I disable the linker messages in question, my project build and
runs as expected on the DJ128. The .h file I'm using for the DP256
doesn't have these overlapping definitions and so it wasn't an issue
before.

Wouldn't it be better to define PORTAB as a union with PORTA? I don't
think it would cause these linker errors. Is it possible to nest
union definitions? PORTA and PORTAB are already unions of bits.

Regards,
Galen

--- In 68HC12@68HC..., "Erich Styger" <erich.styger@f...> wrote:
> Hello Galen,
> Look at the linker messages: you can map the message to a warning. The
> linker option -WmsgSw1100 does this for you.
> Then you could check the .map file what is causing your problem.
> I guess you have two objects allocated to the address zero (using the
> absolute @0x0000 notation.
> In the map file you will get the name of the segment/object.
>
> Erich
>
> > -----Original Message-----
> > From: 68HC12@68HC... [mailto:68HC12@68HC...]
> > On Behalf Of galenpatrickogrady
> > Sent: Montag, 13. Juni 2005 16:51
> > To: 68HC12@68HC...
> > Subject: [68HC12] Link errors on port from DP256 to DJ128
> >
> >
> > I'm using Codewarrior 2.0 and am doing my development with a DP256
> > part. The production version won't need all the bells and whistles of
> > the DP256 and so I'm trying to re-build for the DJ128. I've included
> > the DJ128 rather than DP256 c and h files and reduced the available
> > pages (in prm file) to match the DJ128.
> >
> > Problem is I'm getting link errors that I don't know how to
> > troubleshoot. The errors look like this: "ERROR L1100: Segments
> > .absSeg265 (0x0) and .absSeg426 (0x0) overlap". Where are the
> > .absSegxxx entries generated and where are the "placement
> > instructions" that are causing the problem?
> >
> > Regards,
> > Galen.
> >
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>




(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: Re: Link errors on port from DP256 to DJ128 - Daniel Friededrich - Jun 14 11:36:00 2005

Yes, using a union is the cleaner solution. This has actually been
changed in the CW for HC12 V3.1 version, I'm not sure of CW for HC12 V3.0.

Daniel

galenpatrickogrady wrote:
> Looks like the messages were being generated because of the dual
> 8-bit/single 16-bit register definitions in the DJ processor's .h
> file. For example PORTA is defined as 8-bits at address 0 and PORTAB
> is defined as 16 bits also at address 0. When I created a "clean"
> DJ128 project in Codewarrior, I didn't get these errors because these
> messages had automatically been disabled in the linker dialog.
>
> When I disable the linker messages in question, my project build and
> runs as expected on the DJ128. The .h file I'm using for the DP256
> doesn't have these overlapping definitions and so it wasn't an issue
> before.
>
> Wouldn't it be better to define PORTAB as a union with PORTA? I don't
> think it would cause these linker errors. Is it possible to nest
> union definitions? PORTA and PORTAB are already unions of bits.
>
> Regards,
> Galen
>
> --- In 68HC12@68HC..., "Erich Styger" <erich.styger@f...> wrote:
>
>>Hello Galen,
>>Look at the linker messages: you can map the message to a warning. The
>>linker option -WmsgSw1100 does this for you.
>>Then you could check the .map file what is causing your problem.
>>I guess you have two objects allocated to the address zero (using the
>>absolute @0x0000 notation.
>>In the map file you will get the name of the segment/object.
>>
>>Erich
>>
>>
>>>-----Original Message-----
>>>From: 68HC12@68HC... [mailto:68HC12@68HC...]
>>>On Behalf Of galenpatrickogrady
>>>Sent: Montag, 13. Juni 2005 16:51
>>>To: 68HC12@68HC...
>>>Subject: [68HC12] Link errors on port from DP256 to DJ128
>>>
>>>
>>>I'm using Codewarrior 2.0 and am doing my development with a DP256
>>>part. The production version won't need all the bells and whistles of
>>>the DP256 and so I'm trying to re-build for the DJ128. I've included
>>>the DJ128 rather than DP256 c and h files and reduced the available
>>>pages (in prm file) to match the DJ128.
>>>
>>>Problem is I'm getting link errors that I don't know how to
>>>troubleshoot. The errors look like this: "ERROR L1100: Segments
>>>.absSeg265 (0x0) and .absSeg426 (0x0) overlap". Where are the
>>>.absSegxxx entries generated and where are the "placement
>>>instructions" that are causing the problem?
>>>
>>>Regards,
>>>Galen.
>>>
>>>
>>>





(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

OT: FAA DER? (cross post from HC908, sorry about that) - Gary Olmstead - Jun 15 11:10:00 2005

Any avionics designers out there? I am in the first stages of a project
that will require the services of an FAA Designated Engineering
Representative. The first thing I found is that they are darned hard to
find, even with Google.

Does anyone out there have any experience with them?

Gary Olmstead
Toucan Technology
Ventura CA




(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: OT: FAA DER? (cross post from HC908, sorry about that) - BobG...@... - Jun 15 11:18:00 2005


In a message dated 6/15/05 11:10:43 A.M. Eastern Daylight Time,
garyolmstead@gary... writes:

Any avionics designers out there? I am in the first stages of a project
that will require the services of an FAA Designated Engineering
Representative. The first thing I found is that they are darned hard to
find, even with Google.

Does anyone out there have any experience with them?

Gary Olmstead
Toucan Technology
Ventura CA
====================
Call your local FAA office. They have a list of em. [Non-text portions of this message have been removed]




(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: OT: FAA DER? (cross post from HC908, sorry about that) - Gary Olmstead - Jun 15 17:29:00 2005

At 08:18 AM 6/15/05, you wrote:

>Does anyone out there have any experience with them?
>
>====================
>Call your local FAA office. They have a list of em.

Better than that, there is a 192 page directory on the FAA web site. I
guess when Google didn't turn up anything interesting, I assumed that there
was nothing interesting to be turned up. Guess I needed to sit back and
think, which is what I would have done before Google took over.

Thanks to everyone who helped out.

Gary Olmstead
Toucan Technology
Ventura CA


______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )

Re: OT: FAA DER? - James M. Knox - Jun 15 20:02:00 2005

At 08:10 6/15/2005 -0700, you wrote:
>Any avionics designers out there? I am in the first stages of a project
>that will require the services of an FAA Designated Engineering
>Representative. The first thing I found is that they are darned hard to
>find, even with Google.
>
>Does anyone out there have any experience with them?

You can find one near you through your local FSDO. Don't know if the
faa.gov site has a list online or not.

Looking for DO-178B certification, or hardware issues? I work in the field
and would be happy to share some of the trials and tribulations. But I've
never finished my DER certification effort (started, then got side-tracked
by another project).

jmk -----------------------------------------------
James M. Knox
TriSoft ph 512-385-0316
1300 Koenig Lane West fax 512-371-5716
Suite 200
Austin, Tx 78756 jknox@jkno...
-----------------------------------------------




(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )