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

Discussion Groups | 68HC12 | Re: What address format for 9S12X?

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

Re: What address format for 9S12X? - Daniel Friederich - May 30 18:32:33 2008

Hi John,

The draft v3.0 of the m8-16eabi ABI does support both banked and global
addresses,
and as far as I know both Cosmic and Metrowerks are following it.
BTW: How does GCC12 encode addresses?

Daniel

John Hartman (NoICE) wrote:
> Does anyone know how 9S12X addresses appear in elf/dwarf
> files? Banked? Global?
>
> Long ago, Motorola recommended the use of "linear" address format in
> S2 records for the HC12. Then they bought Metrowerks, who used
> "banked" format and quitely stopped talking about it...
>
> In IEEE-695 and Elf/dwarf format, almost everyone has used the
> "banked" format. So an address in an elf file like 0x1289AB would be
> PPAGE=12, logical address=89AB. That is what is specified in the
> EABI (GCC12 followed a different format for address and register
> numbers, but that is a different thread)
>
> OK - now comes the 9S12X. One certainly COULD use the same formats -
> linear or banked, and be compatible with existing debuggers and
> tools. That would seem like a good thing.
>
> OR one could use the global addresses. It appears that Cosmic has
> done that. Are they alone, or part of the mainstream?
>
> Best regards, John Hartman
> NoICE Debugging Tools
> http://www.noicedebugger.com
> [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 )