cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
786 Views
Registered: ‎11-08-2016

VxWorks 7 on zynq ZC702, based on XAPP1258

I followed the XAPP1258 to run VxWorks on ZC702 board and I could run the examples.

Now I want to access a register on PL side, so I added it in Vivado at an arbitrary address (0x43C00000) and mapped it the same way as the GPIO_BASE (pg 26) but when I try to access it (using sysOutLong), the PS hangs.

 

The XAPP says using pmapGlobalMap should do it, but it seems like something else must be done. In previous VxWorks 6.9 version (XAPP1158) the syslib.c file should be edited to add the new address as a valid address to MMU. But in version 7 MMU is totally different and syslib.c does not have those structures anymore.

 

Can someone guide me on how to add PL side registers to the OS on PS side?

 

Thanks,

Tags (2)
0 Kudos
1 Reply
Highlighted
Moderator
Moderator
746 Views
Registered: ‎07-31-2012

Re: VxWorks 7 on zynq ZC702, based on XAPP1258

Hi mehran.amrbar@jpl.nasa.gov,

 

Which IPs base+offset address in PL side do you want to access? Is it 0x43C00000?

Which peripheral belong to this address?

 

Are you looking standalone APIs or Vxworks based APIs?

 

Regards

Praveen


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos