1/1

|
Enabling adv_jtag_bridge Debug Messages
by gmessier on Dec 19, 2011 |
gmessier
Posts: 11 Joined: Nov 2, 2011 Last seen: Jun 5, 2012 |
||
|
Hi,
I'm doing a bit of work trying to get minsoc to run on the Spartan 6 Digilent Atlys board. To help with my debugging, I'm trying to learn a bit more about the mechanism adv_jtag_bridge uses to stall/unstall the processor. I think that the debug("..") messages in the adv_jtag_bridge code might help me see what's going on. Does anyone know how to turn these messages on? Thanks, Geoff |
|||
|
RE: Enabling adv_jtag_bridge Debug Messages
by nyawn on Dec 19, 2011 |
nyawn
Posts: 173 Joined: Dec 19, 2008 Last seen: May 31, 2023 |
||
|
Check near the top of the .c file you want to enabled debug messages in. You'll see something like:
#define debug(...) //fprintf(stderr, __VA_ARGS__ ) Just remove the "//", and debug() will become fprintf. |
|||
|
RE: Enabling adv_jtag_bridge Debug Messages
by gmessier on Dec 20, 2011 |
gmessier
Posts: 11 Joined: Nov 2, 2011 Last seen: Jun 5, 2012 |
||
|
Works great, thanks.
|
|||
1/1

