OpenCores
URL https://opencores.org/ocsvn/adv_debug_sys/adv_debug_sys/trunk

Subversion Repositories adv_debug_sys

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /adv_debug_sys/trunk/Software
    from Rev 8 to Rev 13
    Reverse comparison

Rev 8 → Rev 13

/adv_jtag_bridge/usb.h File deleted
/adv_jtag_bridge/cable_xpc_dlc9.h
1,6 → 1,8
 
#ifndef _CABLE_XPC_DLC9_H_
#define _CABLE_XPC_DLC9_H_
 
#include <stdint.h>
 
int cable_xpcusb_init();
int cable_xpcusb_out(uint8_t value);
/adv_jtag_bridge/cable_usbblaster.h
2,6 → 2,7
#ifndef _CABLE_USBBLASTER_H_
#define _CABLE_USBBLASTER_H_
 
#include <stdint.h>
 
int cable_usbblaster_init();
int cable_usbblaster_out(uint8_t value);
/adv_jtag_bridge/cable_common.h
1,6 → 1,8
 
#ifndef _CABLE_COMMON_H_
#define _CABLE_COMMON_H_
 
#include <stdint.h>
 
// Defines to use in the 'packet' args of cable_write_bit()
// and cable_read_write_bit(). Note that while TRST is
/adv_jtag_bridge/cable_sim.h
2,6 → 2,7
#ifndef _CABLE_SIM_H_
#define _CABLE_SIM_H_
 
#include <stdint.h>
 
int cable_rtl_sim_init();
int cable_rtl_sim_out(uint8_t value);
/adv_jtag_bridge/cable_parallel.h
2,7 → 2,9
#ifndef _CABLE_PARALLEL_H_
#define _CABLE_PARALLEL_H_
 
#include <stdint.h>
 
 
int cable_parallel_init();
int cable_parallel_opt(int c, char *str);
void cable_parallel_phys_wait();
/adv_jtag_bridge/Makefile
1,24 → 1,26
prefix = /usr/local
 
# These are for native Linux. You may need to put the path to libusb.a into the LIBS variable
# with the -L<dir> command.
# with the -L<dir> command. You may also need to add the path to usb.h in INCLUDEDIRS -
# the default install location is already listed.
#CFLAGS = -g -O2 -Wall
#CC = gcc
#LIBS = -lusb -lpthread
#LIBS = -lusb -lpthread
#INCLUDEDIRS = -I/usr/local/include/libusb-1.0/ -I/usr/local/include/
 
# These are for cygwin. It assumes libusb.a is in the current directory.
# These are for cygwin. It assumes libusb.a and usb.h are in the current directory.
CFLAGS = -g -O2 -Wall
CC = gcc
LIBS = -L. -lioperm -lusb -lpthread
INCLUDEDIRS = -I/usr/local/include/
 
 
 
 
 
PROGRAMS = adv_jtag_bridge
 
HEADERS = adv_jtag_bridge.h adv_debug_module.h chain_commands.h opencores_tap.h \
altera_virtual_jtag.h rsp-server.h bsdl.h usb.h or32_selftest.c cable_common.h \
altera_virtual_jtag.h rsp-server.h bsdl.h or32_selftest.c cable_common.h \
cable_parallel.h cable_sim.h cable_usbblaster.h cable_xpc_dlc9.h \
bsdl_parse.h errcodes.h spr-defs.h except.h
 
37,9 → 39,9
.c.o:
$(CC) $(CFLAGS) -c $<
 
adv_jtag_bridge: Makefile $(OBJECTS) $(HEADERS) libusb.a
adv_jtag_bridge: Makefile $(OBJECTS) $(HEADERS)
rm -f $@
$(CC) -o $@ $(CFLAGS) $(OBJECTS) $(LIBS)
$(CC) -o $@ $(CFLAGS) $(OBJECTS) $(LIBS) $(INCLUDEDIRS)
 
 
install: all
/adv_jtag_bridge/chain_commands.h
1,10 → 1,10
#ifndef _CHAIN_COMMANDS_H_
#define _CHAIN_COMMANDS_H_
 
#include <sys/types.h> // for uint32_t
#include <stdint.h> // for uint32_t
 
// Discover devices on JTAG chain
int jtag_enumerate_chain(unsigned long **id_array, int *num_devices);
int jtag_enumerate_chain(uint32_t **id_array, int *num_devices);
 
// Functions to set configuration for the JTAG chain
void config_set_IR_size(int size);
/adv_jtag_bridge/bsdl.h
1,7 → 1,8
#ifndef _BSDL_H_
#define _BSDL_H_
 
#include <stdint.h>
 
 
// Used by lower levels.
// should not be used by higher levels (i.e. anything that calls
// the API functions).

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.