My board is an Atmel AT91SAM9263-EK.
I am trying to run the "getting started" application from the Atmel software package. I am getting it to cross-compile correctly but I get a "segmentation fault" error when I run it on the target (Linux 2.6.22.9).
The error occurs when accessing any of the board's registers, for instance:
fprintf(stdout, ", Chip ID : 0x%08X\n\r", AT91C_BASE_DBGU->DBGU_CIDR); //this bombs out
AT91C_BASE_PITC->PITC_PIMR = period? (period * pit_frequency +

>> 4 : 0; //this bombs out as well
What am I missing?
Thanks,
Carlos