URL
https://opencores.org/ocsvn/adv_debug_sys/adv_debug_sys/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 8 |
Rev 14 |
Line 30... |
Line 30... |
#include "cable_xpc_dlc9.h"
|
#include "cable_xpc_dlc9.h"
|
#include "errcodes.h"
|
#include "errcodes.h"
|
|
|
#define debug(...) //fprintf(stderr, __VA_ARGS__ )
|
#define debug(...) //fprintf(stderr, __VA_ARGS__ )
|
|
|
static struct jtag_cable { // 'static' keyword hides this from other files
|
static struct jtag_cable {
|
const char *name;
|
const char *name;
|
int (*inout_func)(uint8_t, uint8_t *);
|
int (*inout_func)(uint8_t, uint8_t *);
|
int (*out_func)(uint8_t);
|
int (*out_func)(uint8_t);
|
int (*init_func)();
|
int (*init_func)();
|
void (*wait_func)();
|
void (*wait_func)();
|
Line 170... |
Line 170... |
printf("Available cables: ");
|
printf("Available cables: ");
|
|
|
for(i = 0; jtag_cables[i].name; i++) {
|
for(i = 0; jtag_cables[i].name; i++) {
|
if(i)
|
if(i)
|
printf(", ");
|
printf(", ");
|
printf(jtag_cables[i].name);
|
printf("%s", jtag_cables[i].name);
|
}
|
}
|
|
|
printf("\n\nOptions availible for the cables:\n");
|
printf("\n\nOptions availible for the cables:\n");
|
for(i = 0; jtag_cables[i].name; i++) {
|
for(i = 0; jtag_cables[i].name; i++) {
|
if(!jtag_cables[i].help)
|
if(!jtag_cables[i].help)
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.