OpenCores
no use no use 1/1 no use no use
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.
no use no use 1/1 no use no use
© copyright 1999-2026 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.