We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I'm using ARM7(AT91SAMSE32) in one of my project and Keil's RVCT 3.0 to complile it.
I want to soft reset the system without using the RESET pin on processor.
Someone suggested that directly jump to the Reset_Handler label in the Startup.s file. e.g. b Reset_Handler
but when write such code in my C function as inline assembly code then its give error message that " Reset_Handler is not defined" although the Reset_Handler label is EXPORTed.
In lot of example I found how to call the C function from assembly file but couldn't find how to jump to the label in .S file from C function.
Pls help me out.
Atmel AT91SAM7 device family offers also a Software Reset (even easier to use then a Watchdog). You should look at the SAM7 user manual for details.
I second that. Resetting the MCU and its peripherals is as simple as writing the correct word to a certain register. Absolutely no need to use a messy way that leaves the chip in a fairly undefined condition.
Thank. yesterday only I gone thoroughly the datasheet I found the Soft Reset idea provided by the Reset controller module in the chip.