WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2015-Jun-21 22:20:42

liuyi
Member
Registered: 2015-Jun-21
Posts: 24

Debugger about 802.11 reference design

Hello,

Last edited by liuyi (2015-Jun-22 07:30:01)

Offline

 

#2 2015-Jun-22 07:26:31

liuyi
Member
Registered: 2015-Jun-21
Posts: 24

Re: Debugger about 802.11 reference design

liuyi wrote:

In order to understand the whole process of the 802.11 code which implement on WARP V3,could you tell me  how to debugger the 802.11 reference design?

Thank you.

Offline

 

#3 2015-Jun-22 10:02:19

welsh
Administrator
From: Mango Communications
Registered: 2013-May-15
Posts: 612

Re: Debugger about 802.11 reference design

Have you completed the Getting Started Exercises?  Specifically, the Introduction to the Xilinx Software Development Kit?

Once you are familiar with the tools, then to debug the code, all you need to do is to download the "bootloop" to the board for the CPU of the SW project you want to debug (you should download the appropriate SW project to the other CPU).  This will initialize the FPGA with the hardware design.  Then you can create a "Xilinx C/C++ ELF" debug configuration (under the top level "Run" menu) for the software project you want to debug.  This will download the software project and start the debugger view of the SDK.  One thing to note, is that you can only debug one CPU at a time so you need to make sure the other CPU has an appropriate SW project or the design will not work. 

Just FYI, the 802.11 reference design is interrupt based so it can be difficult to trace the flow of the code with just the debugger.  I would suggest understanding the various callbacks that are used in the design as well as studying the MAC documentation.

Offline

 

#4 2015-Jun-23 03:33:58

liuyi
Member
Registered: 2015-Jun-21
Posts: 24

Re: Debugger about 802.11 reference design

I have learned a lot from what you have said , Thank you.

Offline

 

Board footer