WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2018-Jun-06 03:23:35

why_here
Member
Registered: 2018-Mar-21
Posts: 8

Didn't find the new added register address in SDK project.

To add a register in the wlan_phy_rx model, I have done the following steps:
1. Add the new added register in the EDK processor block.
2. Generate a new version pcore, and replace the wlan_phy_rx with the new version one in XPS project.
3. Generate BitStream and Export Design to the original SDK_workplace.
4. SDK automate rebuild the project, and I open the xparameters.h file in mac_low, it only contains the early presented registers but not the new added.

Did miss some procedures or I just did it wrong?

Looking forward to your help. Thanks.

Offline

 

#2 2018-Jun-06 09:03:39

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: Didn't find the new added register address in SDK project.

Did you change the version number of the pcore (i.e. 4.01.x -> 4.01.y) when exporting from Sysgen?

If so you must update the HW_VER param for the core in the XPS hardware (system.mhs) and the corresponding driver in the BSP (system.mss). You can update the BSP driver version via the SDK GUI (right-click the BSP project, Configure BSP) or by editing the <workspace>/wlan_bsp_cpu_low/system.mss file directly.

Offline

 

#3 2018-Jun-06 09:48:29

why_here
Member
Registered: 2018-Mar-21
Posts: 8

Re: Didn't find the new added register address in SDK project.

I changed the pcore version, so dose the HW_VER param in the XPS.

I change the driver version by editing the system.mss file in the SDK_workspace, and I rebuild the project in SDK but nothing changed.

What should I do with the BSP in XPS, I didn't find BSP-like thing in XPS.

Offline

 

#4 2018-Jun-06 10:00:08

why_here
Member
Registered: 2018-Mar-21
Posts: 8

Re: Didn't find the new added register address in SDK project.

I rebuild the bsp project, and the added register address shows in the xparameters.h file.

Thanks for your help.

Offline

 

Board footer