UPGRADE YOUR BROWSER

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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor helena
Visitor
522 Views
Registered: ‎02-08-2018

How to read the value of the registers from the application?

I'm using a Zybo board with a dual-core ARM Cortex-A9 processor and I'm trying to read (and then write) the registers of the processor. However, I haven't been able to discover a way of doing this without using Assembly in the middle of the C code. Is that the only way or are there any C functions which allow this?

 

Thank you!

Tags (3)
0 Kudos
1 Reply
Explorer
Explorer
428 Views
Registered: ‎06-19-2015

Re: How to read the value of the registers from the application?

Hi,

 

Can you try reading those registers using the functions in xio.h (cpu bsp library)

 

Thanks

Madhu

0 Kudos