1
0
mirror of https://github.com/wfjm/w11.git synced 2026-03-27 18:50:19 +00:00

SPDX: tools/fx2/src/*

This commit is contained in:
wfjm
2019-07-21 09:50:57 +02:00
parent 161875954a
commit 87b21f8aa3
28 changed files with 82 additions and 301 deletions

View File

@@ -26,7 +26,7 @@ The full set of tests is only run for tagged releases.
### Summary
- use vivado 2019.1 as default
- finalize coverity fixups, now defect free ([see blog](https://wfjm.github.io/blogs/w11/2019-06-14-coverity-fixes-done.html))
- use SPDX license tags, remove boilerplate license disclaimers
- use SPDX license tags, remove boilerplate license disclaimers ([see blog](https://wfjm.github.io/blogs/w11/2019-07-21-spdx.html))
### New features
- new tools

View File

@@ -1,7 +1,8 @@
;;; -*- asm -*-
;;; $Id: dscr_gen.A51 985 2018-01-03 08:59:40Z mueller $
;;;
;;; $Id: dscr_gen.A51 1194 2019-07-20 07:43:21Z mueller $
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright 2011-2014 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
;;;
;;; Code was forked from ixo-jtag.svn.sourceforge.net on 2011-07-17
;;;
;;;- original copyright and licence disclaimer ---------------------------------
@@ -11,16 +12,6 @@
;;;- This code is part of usbjtag. usbjtag is free software;
;;;- ---------------------------------------------------------------------------
;;;
;;; This program is free software; you may redistribute and/or modify it under
;;; the terms of the GNU General Public License as published by the Free
;;; Software Foundation, either version 3, or (at your option) any later version.
;;;
;;; This program is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
;;; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
;;; for complete details.
;;;
;;;-----------------------------------------------------------------------------
;;; USB Descriptor, common source for jtag + 0, 2, or 3 hardware fifo interface
;;;
;;; Use C preprocessor to create an assembler source for the configurations:

View File

@@ -1,19 +1,10 @@
/* $Id: eeprom.c 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: eeprom.c 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* FTDI EEPROM emulation
*-----------------------------------------------------------------------------
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright (C) 2007 Kolja Waschk, ixo.de
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,19 +1,10 @@
/* $Id: eeprom.h 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: eeprom.h 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* FTDI EEPROM emulation
*-----------------------------------------------------------------------------
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright (C) 2007 Kolja Waschk, ixo.de
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,19 +1,10 @@
/* $Id: hardware.h 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: hardware.h 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* Hardware-dependent code for usb_jtag
*-----------------------------------------------------------------------------
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright (C) 2007 Kolja Waschk, ixo.de
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,7 @@
/* $Id: hw_nexys2.c 985 2018-01-03 08:59:40Z mueller $ */
/*
/* $Id: hw_nexys2.c 1194 2019-07-20 07:43:21Z mueller $ */
/* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
*
* Code was forked from ixo-jtag.svn.sourceforge.net on 2011-07-17
*
* - original copyright and licence disclaimer --------------------------------
@@ -11,16 +12,6 @@
* - (May 2010). See http://www.fpga4fun.com/forum/viewtopic.php?t=483&start=50
* ----------------------------------------------------------------------------
*
* This program is free software; you may redistribute and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for complete details.
*
* ----------------------------------------------------------------------------
* Hardware-dependent code for usb_jtag
*
* Revision History:

View File

@@ -1,6 +1,7 @@
/* $Id: hw_nexys3.c 985 2018-01-03 08:59:40Z mueller $ */
/*
/* $Id: hw_nexys3.c 1194 2019-07-20 07:43:21Z mueller $ */
/* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2011- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
*
* Code was forked from ixo-jtag.svn.sourceforge.net on 2011-07-17
*
* - original copyright and licence disclaimer --------------------------------
@@ -11,16 +12,6 @@
* - (May 2010). See http://www.fpga4fun.com/forum/viewtopic.php?t=483&start=50
* ----------------------------------------------------------------------------
*
* This program is free software; you may redistribute and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for complete details.
*
* ----------------------------------------------------------------------------
* Hardware-dependent code for usb_jtag
*
* Revision History:

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: delay.c 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: delay.c 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* Delay routines
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: delay.h 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: delay.h 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* Delay routines
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: fx2regs.h 604 2014-11-16 22:33:09Z mueller $ */
/* $Id: fx2regs.h 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* FX2 register definitions
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: fx2utils.c 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: fx2utils.c 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* FX2 specific subroutines
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: fx2utils.h 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: fx2utils.h 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* FX2 specific subroutines
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: i2c.c 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: i2c.c 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* I2C read/write functions for FX2
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: i2c.h 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: i2c.h 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* I2C read/write functions for FX2
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: isr.c 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: isr.c 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* Interrupt handling for FX2
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: isr.h 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: isr.h 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* Interrupt handling for FX2
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,25 +1,14 @@
/* -*- c++ -*- */
/* $Id: syncdelay.h 985 2018-01-03 08:59:40Z mueller $ */
/*
/* $Id: syncdelay.h 1194 2019-07-20 07:43:21Z mueller $ */
/* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2014- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
* Code was forked from USRP2 firmware (GNU Radio Project), version 3.0.2
*
* - original copyright and licence disclaimers -------------------------------
* Copyright 2003 Free Software Foundation, Inc.
* This code is part of usbjtag.
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*
* This program is free software; you may redistribute and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for complete details.
*
*-----------------------------------------------------------------------------
*
* Synchronization delay for FX2 access to specific registers
*
* Revision History:

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: timer.c 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: timer.c 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* Timer handling for FX2
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: timer.h 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: timer.h 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* Timer handling for FX2
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: usb_common.c 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: usb_common.c 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* Common USB code for FX2
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: usb_common.h 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: usb_common.h 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* Common USB code for FX2
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: usb_descriptors.h 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: usb_descriptors.h 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* USB descriptor references
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,21 +1,13 @@
/* -*- c++ -*- */
/* $Id: usb_requests.h 395 2011-07-17 22:02:55Z mueller $ */
/* $Id: usb_requests.h 1194 2019-07-20 07:43:21Z mueller $ */
/*-----------------------------------------------------------------------------
* USB request definitions
*-----------------------------------------------------------------------------
* Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2003 Free Software Foundation, Inc.
*-----------------------------------------------------------------------------
* This code is part of usbjtag. usbjtag is free software; you can redistribute
* it and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version. usbjtag is distributed in the hope
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. You should have received a
* copy of the GNU General Public License along with this program in the file
* COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
* St, Fifth Floor, Boston, MA 02110-1301 USA
* This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*/

View File

@@ -1,6 +1,7 @@
/* $Id: main.c 985 2018-01-03 08:59:40Z mueller $ */
/*
/* $Id: main.c 1194 2019-07-20 07:43:21Z mueller $ */
/* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2011-2013 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
*
* Code was forked from ixo-jtag.svn.sourceforge.net on 2011-07-17
*
* - original copyright and licence disclaimer --------------------------------
@@ -8,17 +9,6 @@
* - Copyright (C) 2005..2007 Kolja Waschk, ixo.de
* - This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*
* This program is free software; you may redistribute and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for complete details.
*
*-----------------------------------------------------------------------------
*
* EZ-USB FX2 controller main program
*

View File

@@ -1,22 +1,14 @@
;;; -*- asm -*-
;;; $Id: startup.a51 395 2011-07-17 22:02:55Z mueller $
;;; $Id: startup.a51 1194 2019-07-20 07:43:21Z mueller $
;;;
;;;-----------------------------------------------------------------------------
;;; Startup code
;;;-----------------------------------------------------------------------------
;;; Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright 2003 Free Software Foundation, Inc.
;;;-----------------------------------------------------------------------------
;;; This code is part of usbjtag. usbjtag is free software; you can redistribute
;;; it and/or modify it under the terms of the GNU General Public License as
;;; published by the Free Software Foundation; either version 2 of the License,
;;; or (at your option) any later version. usbjtag is distributed in the hope
;;; that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
;;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details. You should have received a
;;; copy of the GNU General Public License along with this program in the file
;;; COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
;;; St, Fifth Floor, Boston, MA 02110-1301 USA
;;; This code is part of usbjtag.
;;;-----------------------------------------------------------------------------
;;; The default external memory initialization provided by sdcc is not

View File

@@ -1,6 +1,7 @@
/* $Id: usb_fifo_init.c 985 2018-01-03 08:59:40Z mueller $ */
/*
/* $Id: usb_fifo_init.c 1194 2019-07-20 07:43:21Z mueller $ */
/* SPDX-License-Identifier: GPL-3.0-or-later
* Copyright 2011-2012 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
*
* Code was forked from ixo-jtag.svn.sourceforge.net on 2011-07-17
* The data fifo treatment is partially inspired by work of Marco Oster
* done at ZITI, Heidelberg in 2010.
@@ -11,17 +12,6 @@
* - This code is part of usbjtag. usbjtag is free software;
*-----------------------------------------------------------------------------
*
* This program is free software; you may redistribute and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation, either version 3, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY, without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for complete details.
*
*-----------------------------------------------------------------------------
*
* USB FIFO setup
*
* Revision History:

View File

@@ -1,22 +1,14 @@
;;; -*- asm -*-
;;; $Id: vectors.a51 395 2011-07-17 22:02:55Z mueller $
;;; $Id: vectors.a51 1194 2019-07-20 07:43:21Z mueller $
;;;
;;;-----------------------------------------------------------------------------
;;; Interrupt vectors
;;;-----------------------------------------------------------------------------
;;; Code taken from USRP2 firmware (GNU Radio Project), version 3.0.2,
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright 2003 Free Software Foundation, Inc.
;;;-----------------------------------------------------------------------------
;;; This code is part of usbjtag. usbjtag is free software; you can redistribute
;;; it and/or modify it under the terms of the GNU General Public License as
;;; published by the Free Software Foundation; either version 2 of the License,
;;; or (at your option) any later version. usbjtag is distributed in the hope
;;; that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
;;; warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details. You should have received a
;;; copy of the GNU General Public License along with this program in the file
;;; COPYING; if not, write to the Free Software Foundation, Inc., 51 Franklin
;;; St, Fifth Floor, Boston, MA 02110-1301 USA
;;; This code is part of usbjtag. usbjtag is free software;
;;;-----------------------------------------------------------------------------
;;; N.B. This object module must come first in the list of modules

View File

@@ -1,4 +1,6 @@
# $Id: 90-retro-usb-permissions.rules 902 2017-06-03 14:02:17Z mueller $
# $Id: 90-retro-usb-permissions.rules 1194 2019-07-20 07:43:21Z mueller $
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright 2017- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
#
# udev rules to make some USB adaptors writable to group plugdev
#