WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2007-Oct-25 19:00:27

jyhng
Member
Registered: 2007-Jan-25
Posts: 37

Debugging MAC Layer code

Hi,

What kind of tools do you guys use when you are trying to debug your C code?  When we are writing the code, we would often test it just by uploading it onto the FPGA and determining the results by displaying certain results on HyperTerminal through RS232, but I find this to be quite inefficient since minor changes would require reprogramming and further testing.  Is there a debugging tool that can pause the code, allowing us to see the values of the registers much like the debugging tools available normally for software development on the PC?

Thanks,
Joshua

Offline

 

#2 2007-Oct-26 00:28:49

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

Re: Debugging MAC Layer code

The GNU debugger (GDB) is part of the EDK tool chain. We've never used it to debug a design, but I think it works via a JTAG connection (so via a USB or Xilinx JTAG cable connection to the WARP FPGA board). I'd suggest looking through the EDK documentation (C:\EDK\doc\usenglish\). I see a chapter on GDB in the Embedded System Tools Reference Manual (est_rm.pdf).

Offline

 

Board footer