andry
Newbie level 1
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
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