EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Hiware compiler, Star12, and linear addressing

Started by Alexandre Plombin August 29, 2002
Hi,

Has anyone had issues working with linear addressing on the Star12 DP256, generating a true linear s-record (0x0C.0000 to 0x0F.FFFF ... thanks Gordon!) with the Hiware (hum, Metrowerks) compiler?

It seems that Hiware is using the linear addresses during symbol resulution at linktime, therefore the code does not work, since it expects the addresses to be in the page # + page window offset format.

Can I do this properly using the Hiware linker, or is my best bet just using banked addresses at linktime and then using a physical -> logical converter on the linker output?

Thanks,

Alex.




Hello Alex,
this is done using the burner utility (either standalone or CodeWarrior).
If you have a .bbl (batch burner language) command file in your project,
this is automatically processed after linking in CodeWarrior.

I will send you TN93 off-list.
The Technical Note TN93 has this as subject ("Generating Motorola S File for a Banked Application").
The technical notes are installed with the CodeWarrior software (however not in the 'compact' installation
setup): go to the 'setup or uninstall' shortcut created by the installer to have them all installed.

Erich

> -----Original Message-----
> From: Alexandre Plombin [mailto:]
> Sent: Thursday, August 29, 2002 5:40 PM
> To: ;
> Subject: [68HC12] Hiware compiler, Star12, and linear addressing > Hi,
>
> Has anyone had issues working with linear addressing on the Star12 DP256, generating a true linear s-record (0x0C.0000 to
> 0x0F.FFFF ... thanks Gordon!) with the Hiware (hum, Metrowerks) compiler?
>
> It seems that Hiware is using the linear addresses during symbol resulution at linktime, therefore the code does not
> work, since it expects the addresses to be in the page # + page window offset format.
>
> Can I do this properly using the Hiware linker, or is my best bet just using banked addresses at linktime and then using
> a physical -> logical converter on the linker output?
>
> Thanks,
>
> Alex. > -------------------- >
> ">http://docs.yahoo.com/info/terms/




The 2024 Embedded Online Conference