URL
https://opencores.org/ocsvn/adv_debug_sys/adv_debug_sys/trunk
Show entire file |
Details |
Blame |
View Log
Rev 57 |
Rev 59 |
Line 279... |
Line 279... |
#ifdef ENABLE_JSP
|
#ifdef ENABLE_JSP
|
printf("Compiled with support for the JTAG Serial Port (JSP).\n");
|
printf("Compiled with support for the JTAG Serial Port (JSP).\n");
|
#else
|
#else
|
printf("Support for the JTAG serial port is NOT compiled in.\n");
|
printf("Support for the JTAG serial port is NOT compiled in.\n");
|
#endif
|
#endif
|
printf("Copyright (C) 2010 Nathan Yawn, nathan.yawn@opencores.org\n\n");
|
printf("Copyright (C) 2011 Nathan Yawn, nathan.yawn@opencores.org\n\n");
|
printf("Usage: %s (options) [cable] (cable options)\n", func);
|
printf("Usage: %s (options) [cable] (cable options)\n", func);
|
printf("Options:\n");
|
printf("Options:\n");
|
printf("\t-g [port] : port number for GDB (default: %s)\n", default_port);
|
printf("\t-g [port] : port number for GDB (default: %s)\n", default_port);
|
#ifdef ENABLE_JSP
|
#ifdef ENABLE_JSP
|
printf("\t-j [port] : port number for JSP Server (default: %s)\n", default_jspport);
|
printf("\t-j [port] : port number for JSP Server (default: %s)\n", default_jspport);
|
Line 513... |
Line 513... |
printf("Failed to get default HWP port, exiting.\n");
|
printf("Failed to get default HWP port, exiting.\n");
|
return -1;
|
return -1;
|
}
|
}
|
}
|
}
|
|
|
hwp_init(hwpserverport);
|
if(hwp_init(hwpserverport))
|
|
{
|
|
// Only start the server if the init succeeded
|
hwp_server_start();
|
hwp_server_start();
|
|
}
|
|
|
printf("JTAG bridge ready!\n");
|
printf("JTAG bridge ready!\n");
|
|
|
// This handles requests from GDB. I'd prefer the while() loop to be in the function
|
// This handles requests from GDB. I'd prefer the while() loop to be in the function
|
// with the select()/poll(), but the or1ksim rsp code (ported for use here) doesn't work
|
// with the select()/poll(), but the or1ksim rsp code (ported for use here) doesn't work
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.