|
Can anyone tell me how to view the AT91SAM7S peripheral registers using GDB? I know this sounds some what preliminary but here is why I ask.
I am using CodeSourcery's G++ IDE, and they have implemented a memory browser view. Unfortunately, when you enter 0xfffffc000 (start of system control mapping), the tool seems not to retrieve the memory contents. I suspect that's because behind the scene, GDB is not returning the memory contents. So, I thought I would use GDB directly to retrieve the data. Using the GDB command x 0xfffffc000 results in Cannot access memory at address 0xfffffc00. At first, I thought it may be due to the peripheral registers being remapped but I can find no such reference in the data sheet. What am I missing? Should be related to the REMAP command; also should not have anyting to do with the embedded flash controller...
I don't think this matters, but I am using Window XP, the latest release of CodeSourcery's IDE, and the Atmel SAM-ICE (although the standard Segger J-Link results in the same issue). Thanks,
Dave
|