Problem to access register in AT91RM900

Status
Not open for further replies.

andry

Newbie level 1
Joined
Aug 16, 2005
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
Hi,

I've an ARM9 board with AT91RM9200 and ARM-Linux working on it.

I want to access my WDT system register, to reset the watchdog.

In that extent, I try to use the arch_reset() function, featured in the <asm/arch/system.h> library.

No problem with compiling and linking.

But when I run my software, a "segmentation fault" occurs when trying to access registers.

Does someone know what is wrong with what I'm doing ?

Sorry if my question seems stupid - i'm new to this.

Thank you
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…