Hey all,
I was wondering how to write a software reset in C-code for the Xilinx Microblaze.
Regards
Karel
Hey all,
I was wondering how to write a software reset in C-code for the Xilinx Microblaze.
Regards
Karel
Jump to the reset vector ?
You need to generate an OPB reset signal, otherwise your peripherals are not reset.
A single-bit GPIO driven through a pulse widening state machine , with its output tied to the OPB_Rst signal, is one simple way.
John
That would be a hardware reset .. not software :-).... but it depends on what you call a hard reset
Sim> > Jump to the reset vector ?
pseudo-code: disable interrupts jump to address 0 assembly: mts MSR,R0 bra R0
REgrads,
Zara
OK, I'll give you that :) my reading of the question was "how do I initiate a reset from within software".
In Linux land we call it "shutdown -r now"
John
In windoze land .. its called the power switch.. :-)
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.