Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Displaying AT91SAM7S Perhipheral Registers in GDB?
PostPosted: Sun Jan 02, 2011 11:08 pm 
Offline

Joined: Mon May 24, 2010 8:32 pm
Posts: 3
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: