AnsweredAssumed Answered

Far pointer problem

Question asked by Craig Gatter on Nov 3, 2010
Latest reply on Nov 3, 2010 by Craig Gatter

Hi all,

 

I'm trying to write a simple ROM CRC routine, but for some reason I'm only able to access up to 16 bit memory addresses.

 

unsigned long* _far     temp_address;

unsigned long              value;

 

temp_address = (unsigned long* _far) 0x088000;

 

value = *(temp_address);

 

temp_address is correctly set, however when I attempt to read the value at that address, I'm getting the value from address 0x8000.   Any suggestions are appreciated.

 

MC9S12P128

CodeWarrior Version 5.9

Outcomes