We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Showing results for 
Search instead for 
Did you mean: 
Visitor xrisas1
Registered: ‎11-27-2011

How to reset an axi4lite peripheral programmatically through a c baremetal application running on MicroBlaze

Hi All,


I have an peripheral connected to a MicroBlaze system through axi4_lite. I'd like to reset it through C. 


I would expect to be able toggle a memory-mapped register somewhere to accomplish this but unfortunately I can't locate this.


I went through the hardware source files and realized that axi4_lite peripherals can't be reset individually but I'm ok with this (i guess) as there's one signal (interconnect_aresetn_i in 13.4\ISE_DS\EDK\hw\XilinxProcessorIPLib\pcores\axi_interconnect_v1_05_a\hdl\verilog\axi_interconnect.v) to affect them all but then I got a bit lost in proc_sys_reset's files.


I know the system is reset when you download an application through SDK and that one can actually choose a type of reset (Xilinx Eclipse SDK -> Run -> Run Configurations -> (choose elf) -> Device Initialization Tab) to Entire System or Processor Only or No Reset.


Well I'd like to have something similar (a peripheral reset) but while the processor runs. 


Running SDK 13.4.



0 Kudos