Hi guys,

I am attempting to add support for the Freescale QorIQ P1020, as you can see in the attached diff, and even though it can connect to the target (tested using cable jlink), initbus can start, I am not able to peek or detectflash from that point on.

I have most probably done something incorrect in regards to the bus configuration, as my understanding of that part is quite minimal.

UrJTAG output is below during my attempts to get it working.

The reference manual can be found at https://www.element14.com/community/docs/DOC-39744/l/freescale-reference-manual-for-p1020-qoriq-integrated-processor

Any idea of what could be wrong?

Cheers,

Damien

-------------------------

UrJTAG 2019.12 #d4f0cccf
Copyright (C) 2002, 2003 ETC s.r.o.
Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors

UrJTAG is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions.
There is absolutely no warranty for UrJTAG.

warning: UrJTAG may damage your hardware!
Type "quit" to exit, "help" for help.

jtag> cable jlink
J-Link initial read failed, don't worry (result=0)
Vref = 2.711 TCK=1 TDI=0 TDO=0 TMS=0 TRES=1 TRST=1
J-Link JTAG Interface ready
jtag> detect
IR length: 8
Chain length: 1
Device Id: 00000110100011100010000000011101 (0x068E201D)
  Manufacturer: Freescale (Motorola) (0x01D)
  Part(0):      p1020 (0x68E2)
  Stepping:     0
  Filename:     /usr/local/share/urjtag/freescale/p1020/p1020
jtag> initbus p1020
Non-MUXed 25b address, 8b data bus
jtag> detectflash 0xFF000000
dev ID=0000   man ID=0000
urj_flash_amd_detect: mid 0, did 0
error: flash: mid != 0x01
jtag>

Cheers,

Damien

diff --git a/urjtag/configure.ac b/urjtag/configure.ac
index 95d1d743..e1a5ae8a 100644
--- a/urjtag/configure.ac
+++ b/urjtag/configure.ac
@@ -637,6 +637,7 @@ URJ_DRIVER_SET([bus], [
 	mpc824x
 	mpc8313
 	mpc837x
+	p1020
 	ppc405ep
 	ppc440gx_ebc8
 	prototype
diff --git a/urjtag/data/Makefile.am b/urjtag/data/Makefile.am
index 7fb82f0f..62e916d7 100644
--- a/urjtag/data/Makefile.am
+++ b/urjtag/data/Makefile.am
@@ -126,6 +126,8 @@ nobase_dist_pkgdata_DATA = \
 	freescale/mpc8378/mpc8378 \
 	freescale/mpc8379/STEPPINGS \
 	freescale/mpc8379/mpc8379 \
+	freescale/p1020/STEPPINGS \
+	freescale/p1020/p1020 \
 	ibm/PARTS \
 	ibm/ppc440gx/STEPPINGS \
 	ibm/ppc440gx/ppc440gx \
diff --git a/urjtag/data/bsdl/STD_1149_1_2001 b/urjtag/data/bsdl/STD_1149_1_2001
index a0e1c3e0..21a82f18 100644
--- a/urjtag/data/bsdl/STD_1149_1_2001
+++ b/urjtag/data/bsdl/STD_1149_1_2001
@@ -1,259 +1,173 @@
---
--- $Id$
---
--- Email header accompanying the original Yacc code:
---   http://www.eda.org/vug_bbs/bsdl.parser
--- 
--- -----------------------------------8<--------------------------------------
--- 
--- Hello All,
--- 
--- This is this first mailing of the BSDL* Version 0.0 parser specifications
--- we are sending to people who request it from our publicized E-Mail address;
--- 
---              bsdl%hpm...@hplabs.hp.com
--- 
--- You are free to redistribute this at will, but we feel that it would be
--- better if respondents asked for it directly so that their addresses can
--- be entered into our list for future mailings and updates.
--- 
--- It would be helpful if you could confirm receipt of this transmission.
--- We also would be very interested to hear about your experiences with this
--- information and what you are planning to do with BSDL.
--- 
--- Regards,
--- 
--- Ken Parker
--- Hewlett-Packard Company
--- 
--- 
--- *Boundary-Scan Description Language - as documented in:
--- 
--- "A Language for Describing Boundary-Scan Devices", K.P. Parker
--- and S. Oresjo, Proceedings 1990 International Test Conference,
--- Washington DC, pp 222-234
--- 
--- 
--- - -----------------cut here---------------------------------------------------
--- 
--- 
--- 901004.0721                                  Hewlett-Packard Company
--- 901016.1049                                  Manufacturing Test Division
---                                              P.O. Box 301
---                                              Loveland, Colorado  80537
---                                              USA
--- 
---                                                              October 1990
--- Hello BSDL Parser Requestor,
--- 
---    This Electronic Mail reply contains the computer specifications for
--- Hewlett-Packard's Version 0.0 BSDL parser.  This section of the reply
--- explains the contents of the rest of this file.
--- 
--- This file is composed of seven (7) parts:
--- 
---    1) How to use this file
--- 
---    2) UNIX* Lex source  (lexicographical tokenizing rules)
--- 
---    3) UNIX* Yacc source (BNF-like syntax description)
--- 
---    4) A sample main program to recognize BSDL.
--- 
---    5) A BSDL description of the Texas Instruments 74bct8374 that is
---       recognized by the parser, for testing purposes.
--- 
---    6) The VHDL package STD_1149_1_1990 needed by this parser.
--- 
---    7) [added 901016] Porting experiences to other systems.
--- 
--- 
--- RECOMMENDATION: Save a copy of this file in archival storage before
---                 processing it via the instructions below.  This will
---                 allow you to recover from errors, and allow you to
---                 compare subsequently released data for changes.
--- 
--- DISCLAIMERS:
--- 
--- 1.  The IEEE 1149.1 Working Group has not endorsed BSDL Version 0.0 and
---     therefore no person may represent it as an IEEE standard or imply that
---     a resulting IEEE standard will be identical to it.
--- 
--- 2.  The IEEE 1149.1 Working Group recognizes that BSDL Version 0.0 is a
---     well-conceived initiative that is likely to excelerate the creation
---     of tools that support the 1149.1 standard.  As such, changes and
---     enhancements will be carefully considered so as not to needlessly
---     disrupt these development efforts.  The overriding goal is the
---     ultimate success of the 1149.1 standard.
--- 
--- LEGAL NOTICES:
--- 
---     Hewlett-Packard Company makes no warranty of any kind with regard to
---     this information, including, but not limited to, the implied
---     waranties of merchantability and fitness for a particular purpose.
--- 
---     Hewlett-Packard Company shall not be liable for errors contained
---     herein or direct, indirect, special, incidental, or consequential
---     damages in connection with the furnishing, performance, or use of
---     this material.
--- 
--- 
--- *UNIX is a trademark of AT&T in the USA and other countries.
--- 
-
---  STD_1149_1_1990    VHDL Package and Package Body in support of 
---  BSDL Version 0.0
---
-
--- package STD_1149_1_1990 is             -- Created 900525
- package STD_1149_1_2001 is
-
- -- Give pin mapping declarations
-
- attribute PIN_MAP : string;
- subtype PIN_MAP_STRING is string; 
-
- -- Give TAP control declarations
-
- type CLOCK_LEVEL is (LOW, BOTH);
- type CLOCK_INFO  is record
-   FREQ : real;
-   LEVEL: CLOCK_LEVEL;
- end record;
-
- attribute  TAP_SCAN_IN   : boolean;
- attribute  TAP_SCAN_OUT  : boolean;
- attribute  TAP_SCAN_CLOCK: CLOCK_INFO;
- attribute  TAP_SCAN_MODE : boolean;
- attribute  TAP_SCAN_RESET: boolean;
-
- -- Give instruction register declarations
-
- attribute  INSTRUCTION_LENGTH : integer;
- attribute  INSTRUCTION_OPCODE : string;
- attribute  INSTRUCTION_CAPTURE : string;
- attribute  INSTRUCTION_DISABLE : string;
- attribute  INSTRUCTION_GUARD : string;
- attribute  INSTRUCTION_PRIVATE : string;
- attribute  INSTRUCTION_USAGE : string;
- attribute  INSTRUCTION_SEQUENCE : string;
-
- -- Give ID and USER code declarations
-
- type ID_BITS is ('0', '1', 'x', 'X');
- type ID_STRING is array (31 downto 0) of ID_BITS;
- attribute IDCODE_REGISTER  :  ID_STRING;
- attribute USERCODE_REGISTER:  ID_STRING;
-
- -- Give register declarations
-
- attribute REGISTER_ACCESS : string;
-
- -- Give boundary cell declarations
-
- type BSCAN_INST is (EXTEST, SAMPLE, INTEST, RUNBIST);
- type CELL_TYPE is (INPUT, INTERNAL, CLOCK,
-                      CONTROL, CONTROLR, OUTPUT2, 
-                      OUTPUT3, BIDIR_IN, BIDIR_OUT);
- type CAP_DATA is (PI, PO, UPD, CAP, X, ZERO, ONE);
- type CELL_DATA is record
-   CT : CELL_TYPE;
-   I  : BSCAN_INST;
-   CD : CAP_DATA;
- end record;
- type CELL_INFO is array (positive range <>) of CELL_DATA;
-
- -- Boundary Cell defered constants (see package body)
-
- constant BC_1  : CELL_INFO; 
- constant BC_2  : CELL_INFO; 
- constant BC_3  : CELL_INFO; 
- constant BC_4  : CELL_INFO; 
- constant BC_5  : CELL_INFO; 
- constant BC_6  : CELL_INFO; 
-
- -- Boundary Register declarations
-
- attribute BOUNDARY_CELLS : string;
- attribute BOUNDARY_LENGTH : integer;
- attribute BOUNDARY_REGISTER : string;
-
- -- Miscellaneous
-
- attribute DESIGN_WARNING : string;
---end STD_1149_1_1990;  -- End of 1149.1-1990 Package
-end STD_1149_1_2001;
-
-
---package body STD_1149_1_1990 is   -- Standard Boundary Cells  
-                                  -- Written  900525
-package body STD_1149_1_2001 is
-
--- Description for f10-12, f10-16, f10-18c, f10-18d, f10-21c
-
-constant BC_1 : CELL_INFO := 
- ((INPUT,   EXTEST,  PI),  (OUTPUT2,  EXTEST,  PI),
-  (INPUT,   SAMPLE,  PI),  (OUTPUT2,  SAMPLE,  PI),
-  (INPUT,   INTEST,  PI),  (OUTPUT2,  INTEST,  PI),
-  (INPUT,   RUNBIST, PI),  (OUTPUT2,  RUNBIST, PI),
-  (OUTPUT3, EXTEST,  PI),  (INTERNAL, EXTEST,  PI),
-  (OUTPUT3, SAMPLE,  PI),  (INTERNAL, SAMPLE,  PI),
-  (OUTPUT3, INTEST,  PI),  (INTERNAL, INTEST,  PI),
-  (OUTPUT3, RUNBIST, PI),  (INTERNAL, RUNBIST, PI),
-  (CONTROL, EXTEST,  PI),  (CONTROLR, EXTEST,  PI),
-  (CONTROL, SAMPLE,  PI),  (CONTROLR, SAMPLE,  PI),
-  (CONTROL, INTEST,  PI),  (CONTROLR, INTEST,  PI),
-  (CONTROL, RUNBIST, PI),  (CONTROLR, RUNBIST, PI) );
-
--- Description for f10-8, f10-17, f10-19c, f10-19d, f10-22c
-
-constant BC_2 : CELL_INFO := 
- ((INPUT,   EXTEST,  PI),  (OUTPUT2, EXTEST,   UPD),
-  (INPUT,   SAMPLE,  PI),  (OUTPUT2, SAMPLE,   PI),
-  (INPUT,   INTEST,  UPD),  -- Intest on output2 not supported
-  (INPUT,   RUNBIST, UPD), (OUTPUT2, RUNBIST, UPD),
-  (OUTPUT3, EXTEST,  UPD), (INTERNAL, EXTEST,  PI),
-  (OUTPUT3, SAMPLE,  PI),  (INTERNAL, SAMPLE,  PI),
-  (OUTPUT3, INTEST,  PI),  (INTERNAL, INTEST,  UPD),
-  (OUTPUT3, RUNBIST, PI),  (INTERNAL, RUNBIST, UPD),
-  (CONTROL, EXTEST,  UPD), (CONTROLR, EXTEST, UPD),
-  (CONTROL, SAMPLE,  PI),  (CONTROLR, SAMPLE,  PI),
-  (CONTROL, INTEST,  PI),  (CONTROLR, INTEST,  PI),
-  (CONTROL, RUNBIST, PI),  (CONTROLR, RUNBIST, PI) );
-
--- Description for f10-9
-
-constant BC_3 : CELL_INFO := 
- ((INPUT, EXTEST,  PI),    (INTERNAL, EXTEST,  PI),
-  (INPUT, SAMPLE,  PI),    (INTERNAL, SAMPLE,  PI),
-  (INPUT, INTEST,  PI),    (INTERNAL, INTEST,  PI),
-  (INPUT, RUNBIST, PI),    (INTERNAL, RUNBIST, PI) );
-
--- Description for f10-10, f10-11
-
-constant BC_4 : CELL_INFO := 
- ((INPUT, EXTEST,  PI),  -- Intest on input not supported                    
-  (INPUT, SAMPLE,  PI),  -- Runbist on input not supported                    
-  (CLOCK, EXTEST,  PI),   (INTERNAL, EXTEST,  PI),
-  (CLOCK, SAMPLE,  PI),   (INTERNAL, SAMPLE,  PI),
-  (CLOCK, INTEST,  PI),   (INTERNAL, INTEST,  PI),
-  (CLOCK, RUNBIST, PI),   (INTERNAL, RUNBIST, PI) );
-
--- Description for f10-20c, a combined Input/Control
-
-constant BC_5 : CELL_INFO := 
- ((INPUT, EXTEST,  PI),   (CONTROL, EXTEST,  PI),
-  (INPUT, SAMPLE,  PI),   (CONTROL, SAMPLE,  PI),
-  (INPUT, INTEST,  UPD),  (CONTROL, INTEST,  UPD),
-  (INPUT, RUNBIST, PI),   (CONTROL, RUNBIST, PI) );
-
--- Description for f10-22d, a reversible cell
-
-constant BC_6 : CELL_INFO := 
- ((BIDIR_IN, EXTEST,  PI),  (BIDIR_OUT, EXTEST,  UPD),
-  (BIDIR_IN, SAMPLE,  PI),  (BIDIR_OUT, SAMPLE,  PI),
-  (BIDIR_IN, INTEST,  UPD), (BIDIR_OUT, INTEST,  PI),
-  (BIDIR_IN, RUNBIST, UPD), (BIDIR_OUT, RUNBIST, PI) );
-
---end STD_1149_1_1990;  -- End of 1149.1-1990 Package Body
-end STD_1149_1_2001;
+      package STD_1149_1_2001 is
+      -- Give component conformance declaration 
+      attribute COMPONENT_CONFORMANCE : string; 
+
+      -- Give pin mapping declarations 
+      attribute PIN_MAP : string; 
+      subtype PIN_MAP_STRING is string; 
+
+      -- Give TAP control declarations 
+      type CLOCK_LEVEL is (LOW, BOTH); 
+      type CLOCK_INFO is record 
+      FREQ : real; 
+      LEVEL: CLOCK_LEVEL; 
+      end record; 
+
+      attribute TAP_SCAN_IN : boolean; 
+      attribute TAP_SCAN_OUT : boolean; 
+      attribute TAP_SCAN_CLOCK: CLOCK_INFO; 
+      attribute TAP_SCAN_MODE : boolean; 
+      attribute TAP_SCAN_RESET: boolean;
+      -- Give instruction register declarations 
+      attribute INSTRUCTION_LENGTH : integer; 
+      attribute INSTRUCTION_OPCODE : string; 
+      attribute INSTRUCTION_CAPTURE : string; 
+      attribute INSTRUCTION_PRIVATE : string; 
+
+      -- Give ID and USER code declarations 
+      type ID_BITS is ('0', '1', 'x', 'X'); 
+      type ID_STRING is array (31 downto 0) of ID_BITS; 
+      attribute IDCODE_REGISTER : ID_STRING; 
+      attribute USERCODE_REGISTER: ID_STRING; 
+
+      -- Give register declarations 
+      attribute REGISTER_ACCESS : string; 
+
+      -- Give boundary cell declarations 
+      type BSCAN_INST is (EXTEST, SAMPLE, INTEST); 
+      type CELL_TYPE is (INPUT, INTERNAL, CLOCK, OBSERVE_ONLY, 
+      CONTROL, CONTROLR, OUTPUT2, 
+      OUTPUT3, BIDIR_IN, BIDIR_OUT); 
+      type CAP_DATA is (PI, PO, UPD, CAP, X, ZERO, ONE); 
+      type CELL_DATA is record 
+      CT : CELL_TYPE; 
+      I : BSCAN_INST; 
+      CD : CAP_DATA; 
+      end record;
+      type CELL_INFO is array (positive range <>) of CELL_DATA; 
+
+      -- Boundary cell deferred constants (see package body) 
+      constant BC_0 : CELL_INFO; 
+      constant BC_1 : CELL_INFO; 
+      constant BC_2 : CELL_INFO; 
+      constant BC_3 : CELL_INFO; 
+      constant BC_4 : CELL_INFO; 
+      constant BC_5 : CELL_INFO; 
+      constant BC_6 : CELL_INFO; 
+      constant BC_7 : CELL_INFO; 
+      constant BC_8 : CELL_INFO; 
+      constant BC_9 : CELL_INFO; 
+      constant BC_10 : CELL_INFO;
+      -- Boundary register declarations 
+      attribute BOUNDARY_LENGTH : integer; 
+      attribute BOUNDARY_REGISTER : string; 
+
+      -- Miscellaneous 
+      attribute PORT_GROUPING : string; 
+      attribute RUNBIST_EXECUTION : string; 
+      attribute INTEST_EXECUTION : string; 
+      subtype BSDL_EXTENSION is string; 
+      attribute COMPLIANCE_PATTERNS : string; 
+      attribute DESIGN_WARNING : string; 
+
+      end STD_1149_1_2001; -- End of 1149.1-2001 Package 
+
+      package body STD_1149_1_2001 is -- Standard boundary cells 
+
+      -- Generic cell capturing minimum allowed data 
+      constant BC_0 : CELL_INFO := 
+      ((INPUT, EXTEST, PI), (OUTPUT2, EXTEST, X), 
+      (INPUT, SAMPLE, PI), (OUTPUT2, SAMPLE, PI), 
+      (INPUT, INTEST, X), (OUTPUT2, INTEST, PI), 
+      (OUTPUT3, EXTEST, X), (INTERNAL, EXTEST, X), 
+      (OUTPUT3, SAMPLE, PI), (INTERNAL, SAMPLE, X), 
+      (OUTPUT3, INTEST, PI), (INTERNAL, INTEST, X), 
+      (CONTROL, EXTEST, X), (CONTROLR, EXTEST, X), 
+      (CONTROL, SAMPLE, PI), (CONTROLR, SAMPLE, PI), 
+      (CONTROL, INTEST, PI), (CONTROLR, INTEST, PI), 
+      (BIDIR_IN,EXTEST, PI), (BIDIR_OUT, EXTEST, X ), 
+      (BIDIR_IN,SAMPLE, PI), (BIDIR_OUT, SAMPLE, PI), 
+      (BIDIR_IN,INTEST, X ), (BIDIR_OUT, INTEST, PI), 
+      (OBSERVE_ONLY, SAMPLE, PI), (OBSERVE_ONLY, EXTEST, PI) ); 
+
+      -- Description for f11-18, f11-30, f11-34c, f11-34d, f11-36c, f11-46d 
+      constant BC_1 : CELL_INFO := 
+      ((INPUT, EXTEST, PI), (OUTPUT2, EXTEST, PI), 
+      (INPUT, SAMPLE, PI), (OUTPUT2, SAMPLE, PI), 
+      (INPUT, INTEST, PI), (OUTPUT2, INTEST, PI), 
+      (OUTPUT3, EXTEST, PI), (INTERNAL, EXTEST, PI), 
+      (OUTPUT3, SAMPLE, PI), (INTERNAL, SAMPLE, PI), 
+      (OUTPUT3, INTEST, PI), (INTERNAL, INTEST, PI), 
+      (CONTROL, EXTEST, PI), (CONTROLR, EXTEST, PI), 
+      (CONTROL, SAMPLE, PI), (CONTROLR, SAMPLE, PI), 
+      (CONTROL, INTEST, PI), (CONTROLR, INTEST, PI) ); 
+
+      -- Description for f11-14, f11-31, f11-35c, f11-35d, f11-37c, 
+      -- f11-38c, f11-39(output) and f11-41c 
+      constant BC_2 : CELL_INFO := 
+      ((INPUT, EXTEST, PI), (OUTPUT2, EXTEST, UPD), 
+      (INPUT, SAMPLE, PI), (OUTPUT2, SAMPLE, PI), 
+      (INPUT, INTEST, UPD), -- Intest on output2 not supported 
+      (OUTPUT3, EXTEST, UPD), (INTERNAL, EXTEST, PI), 
+      (OUTPUT3, SAMPLE, PI), (INTERNAL, SAMPLE, PI), 
+      (OUTPUT3, INTEST, PI), (INTERNAL, INTEST, UPD), 
+      (CONTROL, EXTEST, UPD), (CONTROLR, EXTEST, UPD), 
+      (CONTROL, SAMPLE, PI), (CONTROLR, SAMPLE, PI), 
+      (CONTROL, INTEST, PI), (CONTROLR, INTEST, PI) ); 
+
+      -- Description for f11-15 
+      constant BC_3 : CELL_INFO := 
+      ((INPUT, EXTEST, PI), (INTERNAL, EXTEST, PI), 
+      (INPUT, SAMPLE, PI), (INTERNAL, SAMPLE, PI), 
+      (INPUT, INTEST, PI), (INTERNAL, INTEST, PI) ); 
+
+      -- Description for f11-16, f11-17, f11-39(input) 
+      constant BC_4 : CELL_INFO := 
+      ((INPUT, EXTEST, PI), -- Intest on input not supported 
+      (INPUT, SAMPLE, PI), 
+      (OBSERVE_ONLY, EXTEST, PI), 
+      (OBSERVE_ONLY, SAMPLE, PI), -- Intest on observe_only not supported 
+      (CLOCK, EXTEST, PI), (INTERNAL, EXTEST, PI), 
+      (CLOCK, SAMPLE, PI), (INTERNAL, SAMPLE, PI), 
+      (CLOCK, INTEST, PI), (INTERNAL, INTEST, PI) ); 
+
+      -- Description for f11-46c, a combined input/control 
+      constant BC_5 : CELL_INFO := 
+      ((INPUT, EXTEST, PI), (CONTROL, EXTEST, PI), 
+      (INPUT, SAMPLE, PI), (CONTROL, SAMPLE, PI), 
+      (INPUT, INTEST, UPD), (CONTROL, INTEST, UPD) ); 
+
+      -- Description for f11-38d, a reversible cell 
+      -- !! Not recommended; replaced by BC_7 below !! 
+      constant BC_6 : CELL_INFO := 
+      ((BIDIR_IN, EXTEST, PI), (BIDIR_OUT, EXTEST, UPD), 
+      (BIDIR_IN, SAMPLE, PI), (BIDIR_OUT, SAMPLE, PI), 
+      (BIDIR_IN, INTEST, UPD), (BIDIR_OUT, INTEST, PI) ); 
+
+      -- Description for f11-37d, self monitor reversible 
+      -- !! Recommended over cell BC_6 !! 
+      constant BC_7 : CELL_INFO := 
+      ((BIDIR_IN, EXTEST, PI), (BIDIR_OUT, EXTEST, PO), 
+      (BIDIR_IN, SAMPLE, PI), (BIDIR_OUT, SAMPLE, PI), 
+      (BIDIR_IN, INTEST, UPD), (BIDIR_OUT, INTEST, PI) ); 
+
+      -- Description for 11-40, f11-41d 
+      constant BC_8 : CELL_INFO := 
+      -- Intest on bidir not supported 
+      ((BIDIR_IN, EXTEST, PI), (BIDIR_OUT, EXTEST, PO), 
+      (BIDIR_IN, SAMPLE, PI), (BIDIR_OUT, SAMPLE, PO) ); 
+
+      -- Description for f11-32 
+      constant BC_9 : CELL_INFO := 
+      -- Self-monitoring output that supports Intest 
+      ((OUTPUT2, EXTEST, PO), (OUTPUT3, EXTEST, PO), 
+      (OUTPUT2, SAMPLE, PI), (OUTPUT3, SAMPLE, PI), 
+      (OUTPUT2, INTEST, PI), (OUTPUT3, INTEST, PI) ); 
+
+      -- Description for f11-33 
+      constant BC_10 : CELL_INFO := 
+      -- Self-monitoring output that does not support Intest 
+      ((OUTPUT2, EXTEST, PO), (OUTPUT3, EXTEST, PO), 
+      (OUTPUT2, SAMPLE, PO), (OUTPUT3, SAMPLE, PO) ); 
+
+      end STD_1149_1_2001; -- End of IEEE Std 1149.1-2001 Package Body
diff --git a/urjtag/data/freescale/PARTS b/urjtag/data/freescale/PARTS
index 2f5adc77..eeb7f690 100644
--- a/urjtag/data/freescale/PARTS
+++ b/urjtag/data/freescale/PARTS
@@ -27,5 +27,6 @@
 0001100011100100 mpc8378	mpc8378e
 0001100011100011 mpc8379	mpc8379
 0001100011100010 mpc8379	mpc8379e
+0110100011100010 p1020		p1020
 
 
diff --git a/urjtag/po/fr.po b/urjtag/po/fr.po
index bb858551..353c6a47 100644
--- a/urjtag/po/fr.po
+++ b/urjtag/po/fr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: GNU jtag 0.5.1\n"
 "Report-Msgid-Bugs-To: mar...@telka.sk\n"
-"POT-Creation-Date: 2019-12-21 21:07+0100\n"
+"POT-Creation-Date: 2020-09-17 14:11+1000\n"
 "PO-Revision-Date: 2004-05-10 08:00-0500\n"
 "Last-Translator: Michel Robitaille <robit...@iro.umontreal.ca>\n"
 "Language-Team: French <tra...@traduc.org>\n"
@@ -17,57 +17,69 @@ msgstr ""
 "Content-Transfer-Encoding: 8-bit\n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
 
-#: src/apps/jtag/jtag.c:369
+#: src/apps/jtag/jtag.c:377
 #, c-format
 msgid "'%s' must not be run suid root!\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:428
+#: src/apps/jtag/jtag.c:436
 #, fuzzy, c-format
 msgid "%s #%s\n"
 msgstr "%-13s %s\n"
 
-#: src/apps/jtag/jtag.c:431
+#: src/apps/jtag/jtag.c:439
 #, c-format
 msgid "Usage: %s [OPTIONS] [FILE [FILE ... ]] \n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:434
+#: src/apps/jtag/jtag.c:442
 #, c-format
 msgid "  -h, --help          display this help and exit\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:435
+#: src/apps/jtag/jtag.c:443
 #, c-format
 msgid "  -v, --version       display version information and exit\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:437
+#: src/apps/jtag/jtag.c:445
 #, c-format
 msgid "  -n, --norc          disable reading ~/.jtag/rc on startup\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:438
+#: src/apps/jtag/jtag.c:446
 #, c-format
 msgid "  -i, --interactive   enter interactive mode after reading files\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:439
+#: src/apps/jtag/jtag.c:447
 #, c-format
 msgid "  -q, --quiet         Do not print help on startup\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:441
+#: src/apps/jtag/jtag.c:449
 #, c-format
 msgid "  [FILE]              file containing commands to execute\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:444
+#: src/apps/jtag/jtag.c:452
 #, c-format
-msgid "  Please report bugs at http://www.urjtag.org\n";
+msgid ""
+"  Please report bugs at http://www.urjtag.org\n";
+"\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:451
+#: src/apps/jtag/jtag.c:453
+#, fuzzy, c-format
+msgid "Home directory: %s\n"
+msgstr "ne peut ouvrir %s\n"
+
+#: src/apps/jtag/jtag.c:454
+#, fuzzy, c-format
+msgid "Data directory: %s\n"
+msgstr "ne peut ouvrir %s\n"
+
+#: src/apps/jtag/jtag.c:461
 #, c-format
 msgid ""
 "\n"
@@ -77,7 +89,7 @@ msgid ""
 "Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:456
+#: src/apps/jtag/jtag.c:466
 #, c-format
 msgid ""
 "\n"
@@ -96,17 +108,17 @@ msgid ""
 "Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:482 src/apps/jtag/jtag.c:505 src/apps/jtag/jtag.c:528
+#: src/apps/jtag/jtag.c:492 src/apps/jtag/jtag.c:515 src/apps/jtag/jtag.c:538
 #, c-format
 msgid "Out of memory\n"
 msgstr "Mémoire épuisée\n"
 
-#: src/apps/jtag/jtag.c:490
+#: src/apps/jtag/jtag.c:500
 #, c-format
 msgid "Unable to open file `%s'!\n"
 msgstr "Incapable d'ouvrir le fichier `%s'!\n"
 
-#: src/apps/jtag/jtag.c:517
+#: src/apps/jtag/jtag.c:527
 #, fuzzy, c-format
 msgid ""
 "\n"
@@ -137,7 +149,7 @@ msgstr ""
 "avec ce programme; sinon, écrire à la Free Software Foundation, Inc.,\n"
 "59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n"
 
-#: src/apps/jtag/jtag.c:534
+#: src/apps/jtag/jtag.c:544
 #, fuzzy, c-format
 msgid "%s may damage your hardware!\n"
 msgstr ""
@@ -145,7 +157,7 @@ msgstr ""
 "quitter!\n"
 "\n"
 
-#: src/apps/jtag/jtag.c:536
+#: src/apps/jtag/jtag.c:546
 #, fuzzy
 msgid ""
 "Type \"quit\" to exit, \"help\" for help.\n"
@@ -3068,7 +3080,7 @@ msgstr ""
 msgid "Parsing %6d/%d (%3.0d%%)"
 msgstr ""
 
-#: src/svf/svf_flex.l:424 src/tap/cable/ft2232.c:2491
+#: src/svf/svf_flex.l:424 src/tap/cable/ft2232.c:2503
 #: src/tap/cable/generic_parport.c:89 src/tap/cable/generic_usbconn.c:156
 #: src/tap/cable/jim.c:71 src/tap/cable/ts7800.c:170
 #: src/tap/cable/usbblaster.c:79 src/tap/cable/vision_ep9307.c:214
@@ -3088,7 +3100,7 @@ msgstr ""
 "Cable du port parallèle de chargement Altera ByteBlaster/ByteBlaster II/"
 "ByteBlasterMV"
 
-#: src/tap/cable.c:95 src/tap/usbconn/libusb.c:156
+#: src/tap/cable.c:95 src/tap/usbconn/libusb.c:158
 #, c-format
 msgid "malloc(%zd)/malloc(%zd) fails"
 msgstr ""
@@ -3129,96 +3141,96 @@ msgstr "Cable JATB ETC EA253"
 msgid "ETC EI012 JTAG Cable"
 msgstr "Cable JTAG ETC EI012"
 
-#: src/tap/cable/ft2232.c:344
+#: src/tap/cable/ft2232.c:354
 #, c-format
 msgid "Warning: Setting lowest supported frequency for FT2232%s: %d\n"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:922
+#: src/tap/cable/ft2232.c:934
 msgid "Please power on the TARGET board and connect VCC signal"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:1053
+#: src/tap/cable/ft2232.c:1065
 msgid "Vref not detected. Please power on Milkymist One"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:1281
+#: src/tap/cable/ft2232.c:1293
 msgid "JTAGv5: Power of target not detected. Please power on target device."
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2564
+#: src/tap/cable/ft2232.c:2576
 msgid "Generic FTDI FT2232 Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2584
+#: src/tap/cable/ft2232.c:2596
 msgid "Olimex ARM-USB-OCD[-TINY] (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2605
+#: src/tap/cable/ft2232.c:2617
 msgid "Olimex ARM-USB-TINY-H (FT2232H) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2626
+#: src/tap/cable/ft2232.c:2638
 msgid "Analog Devices Blackfin gnICE (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2646
+#: src/tap/cable/ft2232.c:2658
 msgid "Analog Devices Blackfin gnICE+ (FT2232H) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2666
+#: src/tap/cable/ft2232.c:2678
 msgid "Amontec JTAGkey (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2686
+#: src/tap/cable/ft2232.c:2698
 msgid "OOCDLink-s (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2706
+#: src/tap/cable/ft2232.c:2718
 msgid "Turtelizer 2 Rev. B (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2726
+#: src/tap/cable/ft2232.c:2738
 msgid "USB<=>JTAG&RS232 (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2746
+#: src/tap/cable/ft2232.c:2758
 msgid "USB to JTAG Interface (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2766
+#: src/tap/cable/ft2232.c:2778
 msgid "Xverve DT-USB-ST Signalyzer Tool (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2786
+#: src/tap/cable/ft2232.c:2798
 msgid "TinCanTools Flyswatter (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2806
+#: src/tap/cable/ft2232.c:2818
 msgid "KrisTech usbScarabeus2 (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2826
+#: src/tap/cable/ft2232.c:2838
 msgid "KrisTech KT-LINK (FT2232H based) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2846
+#: src/tap/cable/ft2232.c:2858
 msgid "Milkymist JTAG/serial (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2866
+#: src/tap/cable/ft2232.c:2878
 msgid "Digilent HS1 Adapter"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2886
+#: src/tap/cable/ft2232.c:2898
 msgid "Generic FTDI FT4232 Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2906
+#: src/tap/cable/ft2232.c:2918
 msgid "XDS100 compatible JTAG/serial (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2926
+#: src/tap/cable/ft2232.c:2938
 msgid "XDS100v2 compatible JTAG/serial (FT2232H) Cable"
 msgstr ""
 
@@ -3353,7 +3365,7 @@ msgstr ""
 msgid "JTAG target simulator JIM"
 msgstr ""
 
-#: src/tap/cable/jlink.c:630
+#: src/tap/cable/jlink.c:707
 msgid "Segger/IAR J-Link, Atmel SAM-ICE and others."
 msgstr ""
 
diff --git a/urjtag/po/rw.po b/urjtag/po/rw.po
index 0899750a..60023848 100644
--- a/urjtag/po/rw.po
+++ b/urjtag/po/rw.po
@@ -16,7 +16,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: jtag 0.5.1\n"
 "Report-Msgid-Bugs-To: mar...@telka.sk\n"
-"POT-Creation-Date: 2019-12-21 21:07+0100\n"
+"POT-Creation-Date: 2020-09-17 14:11+1000\n"
 "PO-Revision-Date: 2005-04-04 10:55-0700\n"
 "Last-Translator: Steven Michael Murphy <m...@e-tools.com>\n"
 "Language-Team: Kinyarwanda <translation-team...@lists.sourceforge.net>\n"
@@ -25,7 +25,7 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: src/apps/jtag/jtag.c:369
+#: src/apps/jtag/jtag.c:377
 #, c-format
 msgid "'%s' must not be run suid root!\n"
 msgstr ""
@@ -33,52 +33,64 @@ msgstr ""
 # #-#-#-#-#  dbaccess.pot (PACKAGE VERSION)  #-#-#-#-#
 # #-#-#-#-#  dbaccess.pot (PACKAGE VERSION)  #-#-#-#-#
 # #-#-#-#-#  dbaccess.pot (PACKAGE VERSION)  #-#-#-#-#
-#: src/apps/jtag/jtag.c:428
+#: src/apps/jtag/jtag.c:436
 #, fuzzy, c-format
 msgid "%s #%s\n"
 msgstr "%-13s%s"
 
-#: src/apps/jtag/jtag.c:431
+#: src/apps/jtag/jtag.c:439
 #, c-format
 msgid "Usage: %s [OPTIONS] [FILE [FILE ... ]] \n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:434
+#: src/apps/jtag/jtag.c:442
 #, c-format
 msgid "  -h, --help          display this help and exit\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:435
+#: src/apps/jtag/jtag.c:443
 #, c-format
 msgid "  -v, --version       display version information and exit\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:437
+#: src/apps/jtag/jtag.c:445
 #, c-format
 msgid "  -n, --norc          disable reading ~/.jtag/rc on startup\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:438
+#: src/apps/jtag/jtag.c:446
 #, c-format
 msgid "  -i, --interactive   enter interactive mode after reading files\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:439
+#: src/apps/jtag/jtag.c:447
 #, c-format
 msgid "  -q, --quiet         Do not print help on startup\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:441
+#: src/apps/jtag/jtag.c:449
 #, c-format
 msgid "  [FILE]              file containing commands to execute\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:444
+#: src/apps/jtag/jtag.c:452
 #, c-format
-msgid "  Please report bugs at http://www.urjtag.org\n";
+msgid ""
+"  Please report bugs at http://www.urjtag.org\n";
+"\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:451
+#: src/apps/jtag/jtag.c:453
+#, fuzzy, c-format
+msgid "Home directory: %s\n"
+msgstr "Gufungura"
+
+#: src/apps/jtag/jtag.c:454
+#, fuzzy, c-format
+msgid "Data directory: %s\n"
+msgstr "Gufungura"
+
+#: src/apps/jtag/jtag.c:461
 #, c-format
 msgid ""
 "\n"
@@ -88,7 +100,7 @@ msgid ""
 "Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:456
+#: src/apps/jtag/jtag.c:466
 #, c-format
 msgid ""
 "\n"
@@ -107,17 +119,17 @@ msgid ""
 "Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:482 src/apps/jtag/jtag.c:505 src/apps/jtag/jtag.c:528
+#: src/apps/jtag/jtag.c:492 src/apps/jtag/jtag.c:515 src/apps/jtag/jtag.c:538
 #, fuzzy, c-format
 msgid "Out of memory\n"
 msgstr "Bya"
 
-#: src/apps/jtag/jtag.c:490
+#: src/apps/jtag/jtag.c:500
 #, fuzzy, c-format
 msgid "Unable to open file `%s'!\n"
 msgstr "Kuri Gufungura IDOSIYE"
 
-#: src/apps/jtag/jtag.c:517
+#: src/apps/jtag/jtag.c:527
 #, fuzzy, c-format
 msgid ""
 "\n"
@@ -132,12 +144,12 @@ msgid ""
 "\n"
 msgstr "%sR. o."
 
-#: src/apps/jtag/jtag.c:534
+#: src/apps/jtag/jtag.c:544
 #, fuzzy, c-format
 msgid "%s may damage your hardware!\n"
 msgstr "Gicurasi Kuvamo Kuri Gusohoka"
 
-#: src/apps/jtag/jtag.c:536
+#: src/apps/jtag/jtag.c:546
 #, fuzzy
 msgid ""
 "Type \"quit\" to exit, \"help\" for help.\n"
@@ -2913,7 +2925,7 @@ msgstr ""
 msgid "Parsing %6d/%d (%3.0d%%)"
 msgstr ""
 
-#: src/svf/svf_flex.l:424 src/tap/cable/ft2232.c:2491
+#: src/svf/svf_flex.l:424 src/tap/cable/ft2232.c:2503
 #: src/tap/cable/generic_parport.c:89 src/tap/cable/generic_usbconn.c:156
 #: src/tap/cable/jim.c:71 src/tap/cable/ts7800.c:170
 #: src/tap/cable/usbblaster.c:79 src/tap/cable/vision_ep9307.c:214
@@ -2931,7 +2943,7 @@ msgid ""
 "Altera ByteBlaster/ByteBlaster II/ByteBlasterMV Parallel Port Download Cable"
 msgstr ""
 
-#: src/tap/cable.c:95 src/tap/usbconn/libusb.c:156
+#: src/tap/cable.c:95 src/tap/usbconn/libusb.c:158
 #, c-format
 msgid "malloc(%zd)/malloc(%zd) fails"
 msgstr ""
@@ -2972,96 +2984,96 @@ msgstr ""
 msgid "ETC EI012 JTAG Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:344
+#: src/tap/cable/ft2232.c:354
 #, c-format
 msgid "Warning: Setting lowest supported frequency for FT2232%s: %d\n"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:922
+#: src/tap/cable/ft2232.c:934
 msgid "Please power on the TARGET board and connect VCC signal"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:1053
+#: src/tap/cable/ft2232.c:1065
 msgid "Vref not detected. Please power on Milkymist One"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:1281
+#: src/tap/cable/ft2232.c:1293
 msgid "JTAGv5: Power of target not detected. Please power on target device."
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2564
+#: src/tap/cable/ft2232.c:2576
 msgid "Generic FTDI FT2232 Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2584
+#: src/tap/cable/ft2232.c:2596
 msgid "Olimex ARM-USB-OCD[-TINY] (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2605
+#: src/tap/cable/ft2232.c:2617
 msgid "Olimex ARM-USB-TINY-H (FT2232H) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2626
+#: src/tap/cable/ft2232.c:2638
 msgid "Analog Devices Blackfin gnICE (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2646
+#: src/tap/cable/ft2232.c:2658
 msgid "Analog Devices Blackfin gnICE+ (FT2232H) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2666
+#: src/tap/cable/ft2232.c:2678
 msgid "Amontec JTAGkey (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2686
+#: src/tap/cable/ft2232.c:2698
 msgid "OOCDLink-s (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2706
+#: src/tap/cable/ft2232.c:2718
 msgid "Turtelizer 2 Rev. B (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2726
+#: src/tap/cable/ft2232.c:2738
 msgid "USB<=>JTAG&RS232 (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2746
+#: src/tap/cable/ft2232.c:2758
 msgid "USB to JTAG Interface (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2766
+#: src/tap/cable/ft2232.c:2778
 msgid "Xverve DT-USB-ST Signalyzer Tool (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2786
+#: src/tap/cable/ft2232.c:2798
 msgid "TinCanTools Flyswatter (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2806
+#: src/tap/cable/ft2232.c:2818
 msgid "KrisTech usbScarabeus2 (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2826
+#: src/tap/cable/ft2232.c:2838
 msgid "KrisTech KT-LINK (FT2232H based) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2846
+#: src/tap/cable/ft2232.c:2858
 msgid "Milkymist JTAG/serial (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2866
+#: src/tap/cable/ft2232.c:2878
 msgid "Digilent HS1 Adapter"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2886
+#: src/tap/cable/ft2232.c:2898
 msgid "Generic FTDI FT4232 Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2906
+#: src/tap/cable/ft2232.c:2918
 msgid "XDS100 compatible JTAG/serial (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2926
+#: src/tap/cable/ft2232.c:2938
 msgid "XDS100v2 compatible JTAG/serial (FT2232H) Cable"
 msgstr ""
 
@@ -3196,7 +3208,7 @@ msgstr ""
 msgid "JTAG target simulator JIM"
 msgstr ""
 
-#: src/tap/cable/jlink.c:630
+#: src/tap/cable/jlink.c:707
 msgid "Segger/IAR J-Link, Atmel SAM-ICE and others."
 msgstr ""
 
diff --git a/urjtag/po/sk.po b/urjtag/po/sk.po
index db86666e..44bbcd60 100644
--- a/urjtag/po/sk.po
+++ b/urjtag/po/sk.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: jtag 0.5.1\n"
 "Report-Msgid-Bugs-To: mar...@telka.sk\n"
-"POT-Creation-Date: 2019-12-21 21:07+0100\n"
+"POT-Creation-Date: 2020-09-17 14:11+1000\n"
 "PO-Revision-Date: 2003-10-08 21:25+0200\n"
 "Last-Translator: Marcel Telka <mar...@telka.sk>\n"
 "Language-Team: Slovak <sk-i...@lists.linux.sk>\n"
@@ -16,57 +16,69 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
-#: src/apps/jtag/jtag.c:369
+#: src/apps/jtag/jtag.c:377
 #, c-format
 msgid "'%s' must not be run suid root!\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:428
+#: src/apps/jtag/jtag.c:436
 #, fuzzy, c-format
 msgid "%s #%s\n"
 msgstr "%-13s %s\n"
 
-#: src/apps/jtag/jtag.c:431
+#: src/apps/jtag/jtag.c:439
 #, c-format
 msgid "Usage: %s [OPTIONS] [FILE [FILE ... ]] \n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:434
+#: src/apps/jtag/jtag.c:442
 #, c-format
 msgid "  -h, --help          display this help and exit\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:435
+#: src/apps/jtag/jtag.c:443
 #, c-format
 msgid "  -v, --version       display version information and exit\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:437
+#: src/apps/jtag/jtag.c:445
 #, c-format
 msgid "  -n, --norc          disable reading ~/.jtag/rc on startup\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:438
+#: src/apps/jtag/jtag.c:446
 #, c-format
 msgid "  -i, --interactive   enter interactive mode after reading files\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:439
+#: src/apps/jtag/jtag.c:447
 #, c-format
 msgid "  -q, --quiet         Do not print help on startup\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:441
+#: src/apps/jtag/jtag.c:449
 #, c-format
 msgid "  [FILE]              file containing commands to execute\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:444
+#: src/apps/jtag/jtag.c:452
 #, c-format
-msgid "  Please report bugs at http://www.urjtag.org\n";
+msgid ""
+"  Please report bugs at http://www.urjtag.org\n";
+"\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:451
+#: src/apps/jtag/jtag.c:453
+#, fuzzy, c-format
+msgid "Home directory: %s\n"
+msgstr "Nepodarilo sa otvoriť %s\n"
+
+#: src/apps/jtag/jtag.c:454
+#, fuzzy, c-format
+msgid "Data directory: %s\n"
+msgstr "Nepodarilo sa otvoriť %s\n"
+
+#: src/apps/jtag/jtag.c:461
 #, c-format
 msgid ""
 "\n"
@@ -76,7 +88,7 @@ msgid ""
 "Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:456
+#: src/apps/jtag/jtag.c:466
 #, c-format
 msgid ""
 "\n"
@@ -95,17 +107,17 @@ msgid ""
 "Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\n"
 msgstr ""
 
-#: src/apps/jtag/jtag.c:482 src/apps/jtag/jtag.c:505 src/apps/jtag/jtag.c:528
+#: src/apps/jtag/jtag.c:492 src/apps/jtag/jtag.c:515 src/apps/jtag/jtag.c:538
 #, c-format
 msgid "Out of memory\n"
 msgstr "Nedostatok pamäte\n"
 
-#: src/apps/jtag/jtag.c:490
+#: src/apps/jtag/jtag.c:500
 #, c-format
 msgid "Unable to open file `%s'!\n"
 msgstr "Nepodarilo sa otvoriť súbor `%s'!\n"
 
-#: src/apps/jtag/jtag.c:517
+#: src/apps/jtag/jtag.c:527
 #, fuzzy, c-format
 msgid ""
 "\n"
@@ -126,14 +138,14 @@ msgstr ""
 "Neposkytuje sa žiadna záruka pre %s.\n"
 "\n"
 
-#: src/apps/jtag/jtag.c:534
+#: src/apps/jtag/jtag.c:544
 #, fuzzy, c-format
 msgid "%s may damage your hardware!\n"
 msgstr ""
 "Upozornenie: %s môže poškodiť váš hardvér! Napíšte \"quit\" pre ukončenie!\n"
 "\n"
 
-#: src/apps/jtag/jtag.c:536
+#: src/apps/jtag/jtag.c:546
 #, fuzzy
 msgid ""
 "Type \"quit\" to exit, \"help\" for help.\n"
@@ -3066,7 +3078,7 @@ msgstr ""
 msgid "Parsing %6d/%d (%3.0d%%)"
 msgstr ""
 
-#: src/svf/svf_flex.l:424 src/tap/cable/ft2232.c:2491
+#: src/svf/svf_flex.l:424 src/tap/cable/ft2232.c:2503
 #: src/tap/cable/generic_parport.c:89 src/tap/cable/generic_usbconn.c:156
 #: src/tap/cable/jim.c:71 src/tap/cable/ts7800.c:170
 #: src/tap/cable/usbblaster.c:79 src/tap/cable/vision_ep9307.c:214
@@ -3085,7 +3097,7 @@ msgid ""
 msgstr ""
 "JTAG kábel Altera ByteBlaster/ByteBlaster II/ByteBlasterMV pre paralelný port"
 
-#: src/tap/cable.c:95 src/tap/usbconn/libusb.c:156
+#: src/tap/cable.c:95 src/tap/usbconn/libusb.c:158
 #, c-format
 msgid "malloc(%zd)/malloc(%zd) fails"
 msgstr ""
@@ -3126,96 +3138,96 @@ msgstr "JTAG kábel ETC EA253"
 msgid "ETC EI012 JTAG Cable"
 msgstr "JTAG kábel ETC EI012"
 
-#: src/tap/cable/ft2232.c:344
+#: src/tap/cable/ft2232.c:354
 #, c-format
 msgid "Warning: Setting lowest supported frequency for FT2232%s: %d\n"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:922
+#: src/tap/cable/ft2232.c:934
 msgid "Please power on the TARGET board and connect VCC signal"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:1053
+#: src/tap/cable/ft2232.c:1065
 msgid "Vref not detected. Please power on Milkymist One"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:1281
+#: src/tap/cable/ft2232.c:1293
 msgid "JTAGv5: Power of target not detected. Please power on target device."
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2564
+#: src/tap/cable/ft2232.c:2576
 msgid "Generic FTDI FT2232 Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2584
+#: src/tap/cable/ft2232.c:2596
 msgid "Olimex ARM-USB-OCD[-TINY] (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2605
+#: src/tap/cable/ft2232.c:2617
 msgid "Olimex ARM-USB-TINY-H (FT2232H) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2626
+#: src/tap/cable/ft2232.c:2638
 msgid "Analog Devices Blackfin gnICE (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2646
+#: src/tap/cable/ft2232.c:2658
 msgid "Analog Devices Blackfin gnICE+ (FT2232H) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2666
+#: src/tap/cable/ft2232.c:2678
 msgid "Amontec JTAGkey (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2686
+#: src/tap/cable/ft2232.c:2698
 msgid "OOCDLink-s (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2706
+#: src/tap/cable/ft2232.c:2718
 msgid "Turtelizer 2 Rev. B (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2726
+#: src/tap/cable/ft2232.c:2738
 msgid "USB<=>JTAG&RS232 (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2746
+#: src/tap/cable/ft2232.c:2758
 msgid "USB to JTAG Interface (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2766
+#: src/tap/cable/ft2232.c:2778
 msgid "Xverve DT-USB-ST Signalyzer Tool (FT2232) Cable (EXPERIMENTAL)"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2786
+#: src/tap/cable/ft2232.c:2798
 msgid "TinCanTools Flyswatter (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2806
+#: src/tap/cable/ft2232.c:2818
 msgid "KrisTech usbScarabeus2 (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2826
+#: src/tap/cable/ft2232.c:2838
 msgid "KrisTech KT-LINK (FT2232H based) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2846
+#: src/tap/cable/ft2232.c:2858
 msgid "Milkymist JTAG/serial (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2866
+#: src/tap/cable/ft2232.c:2878
 msgid "Digilent HS1 Adapter"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2886
+#: src/tap/cable/ft2232.c:2898
 msgid "Generic FTDI FT4232 Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2906
+#: src/tap/cable/ft2232.c:2918
 msgid "XDS100 compatible JTAG/serial (FT2232) Cable"
 msgstr ""
 
-#: src/tap/cable/ft2232.c:2926
+#: src/tap/cable/ft2232.c:2938
 msgid "XDS100v2 compatible JTAG/serial (FT2232H) Cable"
 msgstr ""
 
@@ -3350,7 +3362,7 @@ msgstr ""
 msgid "JTAG target simulator JIM"
 msgstr ""
 
-#: src/tap/cable/jlink.c:630
+#: src/tap/cable/jlink.c:707
 msgid "Segger/IAR J-Link, Atmel SAM-ICE and others."
 msgstr ""
 
diff --git a/urjtag/src/bsdl/bsdl_bison.y b/urjtag/src/bsdl/bsdl_bison.y
index c00d3fd7..6f7be147 100644
--- a/urjtag/src/bsdl/bsdl_bison.y
+++ b/urjtag/src/bsdl/bsdl_bison.y
@@ -192,6 +192,7 @@ void yyerror (urj_bsdl_parser_priv_t *, const char *);
 
 
 %token CONSTANT PIN_MAP
+%token PORT_GROUPING DIFFERENTIAL_CURRENT DIFFERENTIAL_VOLTAGE
 %token PHYSICAL_PIN_MAP PIN_MAP_STRING
 %token TAP_SCAN_IN TAP_SCAN_OUT TAP_SCAN_MODE TAP_SCAN_RESET
 %token TAP_SCAN_CLOCK
@@ -239,6 +240,8 @@ void yyerror (urj_bsdl_parser_priv_t *, const char *);
 %type <integer> Disable_Value
 %type <str> Standard_Reg
 %type <str> Instruction_Name
+%type <str> Port_Grouping_Type
+%type <str> Port_Grouping
 
 %start BSDL_Statement
 
@@ -258,6 +261,7 @@ BSDL_Statement   : BSDL_Pin_Map
                  | BSDL_Inst_Guard
                  | BSDL_Inst_Private
                  | BSDL_Idcode_Register
+                 | BSDL_Port_Grouping
                  | BSDL_Usercode_Register
                  | BSDL_Register_Access
                  | BSDL_Boundary_Length
@@ -388,6 +392,31 @@ BSDL_Idcode_Register : IDCODE_REGISTER BIN_X_PATTERN
                        { priv_data->jtag_ctrl->idcode = $2; }
 ;
 
+/****************************************************************************/
+BSDL_Port_Grouping : PORT_GROUPING Port_Grouping_Mapping
+;
+
+Port_Grouping_Mapping : IDENTIFIER LPAREN Port_Grouping_List RPAREN
+;
+
+Port_Grouping_Type : DIFFERENTIAL_VOLTAGE 
+					| DIFFERENTIAL_CURRENT
+;
+
+Port_Grouping_List : LPAREN Port_Grouping RPAREN
+                    | Port_Grouping_List COMMA LPAREN Port_Grouping RPAREN
+                    | error
+                      {
+                        Print_Error (priv_data, _("Error in Port Grouping List"));
+                        BUMP_ERROR;
+                        YYABORT;
+                      }
+;
+Port_Grouping      : IDENTIFIER LPAREN DECIMAL_NUMBER RPAREN COMMA IDENTIFIER LPAREN DECIMAL_NUMBER RPAREN
+					| IDENTIFIER COMMA IDENTIFIER
+                      { free ($1); }
+;
+
 /****************************************************************************/
 BSDL_Usercode_Register : USERCODE_REGISTER BIN_X_PATTERN
                          { priv_data->jtag_ctrl->usercode = $2; }
diff --git a/urjtag/src/bsdl/bsdl_flex.l b/urjtag/src/bsdl/bsdl_flex.l
index 1f7b98c9..6fc50859 100644
--- a/urjtag/src/bsdl/bsdl_flex.l
+++ b/urjtag/src/bsdl/bsdl_flex.l
@@ -209,6 +209,7 @@ Boundary_Length      BOUNDARY_LENGTH
 Boundary_Register    BOUNDARY_REGISTER
 Idcode_Register      IDCODE_REGISTER
 Usercode_Register    USERCODE_REGISTER
+Port_Grouping        PORT_GROUPING
 Boundary       BOUNDARY
 Bypass         BYPASS
 Clamp          CLAMP
@@ -278,6 +279,7 @@ Recommended           RECOMMENDED
 ISC_Illegal_Exit      ISC_ILLEGAL_EXIT
 %%
 {Constant}              {yyextra->Base = DECIMAL; return( CONSTANT ); }
+{Port_Grouping}         {return( PORT_GROUPING ); }
 {Pin_Map}               {return( PIN_MAP ); }
 {Physical_Pin_Map}      {return( PHYSICAL_PIN_MAP ); }
 {Pin_Map_String}        {return( PIN_MAP_STRING ); }
diff --git a/urjtag/src/bsdl/bsdl_types.h b/urjtag/src/bsdl/bsdl_types.h
index efe09579..44fe8f50 100644
--- a/urjtag/src/bsdl/bsdl_types.h
+++ b/urjtag/src/bsdl/bsdl_types.h
@@ -144,6 +144,7 @@ struct jtag_ctrl
     urj_vhdl_elem_t *vhdl_elem_last;
     /* collected by BSDL parser */
     char *idcode;               /* IDCODE string */
+    char *port_grouping;		/* PORT_GROUPING string */
     char *usercode;             /* USERCODE string */
     int instr_len;
     int bsr_len;
diff --git a/urjtag/src/bus/Makefile.am b/urjtag/src/bus/Makefile.am
index 3a082439..3fc9c265 100644
--- a/urjtag/src/bus/Makefile.am
+++ b/urjtag/src/bus/Makefile.am
@@ -122,6 +122,10 @@ if ENABLE_BUS_MPC837X
 libbus_la_SOURCES += mpc837x.c
 endif
 
+if ENABLE_BUS_P1020
+libbus_la_SOURCES += p1020.c
+endif
+
 if ENABLE_BUS_PPC405EP
 libbus_la_SOURCES += ppc405ep.c
 endif
diff --git a/urjtag/src/bus/buses_list.h b/urjtag/src/bus/buses_list.h
index aaaacc91..87728ef9 100644
--- a/urjtag/src/bus/buses_list.h
+++ b/urjtag/src/bus/buses_list.h
@@ -98,6 +98,9 @@ _URJ_BUS(mpc8313)
 #ifdef ENABLE_BUS_MPC837X
 _URJ_BUS(mpc837x)
 #endif
+#ifdef ENABLE_BUS_P1020
+_URJ_BUS(p1020)
+#endif
 #ifdef ENABLE_BUS_PPC405EP
 _URJ_BUS(ppc405ep)
 #endif
_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to