Hi,
I just want to know if it is possible to reset the core using c code...
If it's possible how to do it
Regards,
siva
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I just want to know if it is possible to reset the core using c code...
If it's possible how to do it
Regards,
siva
Hi Sivaram,
Have you tried to read the datasheet?
In table Table 5-2. Reset Sources it says which type of reset does that.
If you check it the only reset that does what you want is:
"Software System Request Reset using the VECTRESET bit in the APINT register."
And if you go check field VECTRESET in the APINT register it says:
"System Reset
This bit is reserved for Debug use and reads as 0. This bit must be
written as a 0, otherwise behavior is unpredictable."
Though in 5.2.2.5 Software Reset it does say you can use it.
So, use it at your own risk. Amit Ashara could say more in the subject later.
To finalize:
No C code for you :p