Hi everyone,
I am using code warrior 5.1 and MC9S12C64.
i want to use memory locations as below in rpm
lookup = READ_ONLY 0x102400 TO 0x103FFF;
CLT_ROM,
EGO_ROM,
MAF_ROM,
MAT_ROM INTO lookup;
All table data into section lookup.
Please tell what are the changes i have to do in start12,c and prm file.
When i try to flash using PE usb multilink i get the error as follows
Error while writing to 0x102400 TO 0x103FFF to 0x102600.
INFORMATION: no memory at this location.
Thanks,
Embitel.
Yes, there's no memory at 0x102400 in C64. Banked flash starts at 0x3C8000 in this device.
can't this be global address....
OR page 10 address
No global addressing, no PPAGE 0x10, no external memory bus on S12C.
We have gcc compiled code which is working fine..
In memory.x file of gcc code the below line of code is used
lookup (rx) : ORIGIN = 0x102400, LENGTH = 0x1C00
We are trying to port to codewarrior compatible.
IF there is no PPAGE 0X10 || GLOBAL ADDRERSSING || EXTERNAL MEMORY...
then how gcc code is working fine.
Thanks,
Embitel.
Either GCC ignores not existing page, or maybe this fake address extension is used to do separate S records files for code and eeprom data.