Hi,


I am developping an application that must access the memory mapped registers

of the Tungsten C (Palm OS 5.2 / Intel PXA255 / ARM Architecture).

According to the PXA255 specs, all memory mapped registers fot peripherals

are at addesses 0x4000000+, but when I try to access one of these address,

I get a "Fatal Exceptoin" alert.

For instance, to read the Timer Counter register:



UInt32 * PXA255_OSCR = (UInt32 *)0x40A00010;

UInt32 val = *PXA255_OSCR; // Fatal exception!



I try this also with the debugger and simulator, I get this error:

Run68K.c, Line:2204, Invalid read from 40A00010

EXCEPTION ID = $BC



What is the problem?



Jean-Francois









_______________________________________________
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to