From 4055a8bbc4eb41442ca7669630de4be3940102af Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 24 Apr 2009 22:10:53 +0000 Subject: [PATCH] add more Blackfin register/instruction JTAG encodings git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1533 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- urjtag/ChangeLog | 4 ++++ urjtag/data/analog/bf527/bf527 | 14 ++++++++++++++ urjtag/data/analog/bf533/bf533 | 14 ++++++++++++++ urjtag/data/analog/bf537/bf537 | 14 ++++++++++++++ urjtag/data/analog/bf538/bf538 | 14 ++++++++++++++ urjtag/data/analog/bf548/bf548 | 14 ++++++++++++++ urjtag/data/analog/bf561/bf561 | 14 ++++++++++++++ 7 files changed, 88 insertions(+) diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 59965e30..1a9fb61d 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -2,6 +2,10 @@ * data/analog/bf518/bf518: Update with public BSDL file. + * data/analog/bf527/bf527, data/analog/bf533/bf533, data/analog/bf537/bf537, + data/analog/bf538/bf538, data/analog/bf548/bf548, data/analog/bf561/bf561: + Add more register/instruction JTAG encodings. + 2009-04-23 Rutger Hofman Use the changes by Przemyslaw Iskra, published as diff --git a/urjtag/data/analog/bf527/bf527 b/urjtag/data/analog/bf527/bf527 index 1878e1cb..89e9e726 100644 --- a/urjtag/data/analog/bf527/bf527 +++ b/urjtag/data/analog/bf527/bf527 @@ -290,6 +290,13 @@ signal AGND1 register BSR 233 register BR 1 register DIR 32 +register DBGSTAT 16 +register DBGCTL 16 +register EMUIR 32 +register EMUIR64 64 +register EMUDAT 32 +register EMUDAT40 40 +register EMUPC 32 instruction length 5 @@ -297,6 +304,13 @@ instruction EXTEST 00000 BSR instruction SAMPLE/PRELOAD 10000 BSR instruction IDCODE 00010 DIR instruction BYPASS 11111 BR +instruction DBGSTAT_SCAN 01100 DBGSTAT +instruction DBGCTL_SCAN 00100 DBGCTL +instruction EMUIR_SCAN 01000 EMUIR +instruction EMUIR64_SCAN 01000 EMUIR64 +instruction EMUDAT_SCAN 10100 EMUDAT +instruction EMUDAT40_SCAN 10100 EMUDAT40 +instruction EMUPC_SCAN 11110 EMUPC bit 232 C 0 * bit 231 O 1 ADDR14 8 0 Z diff --git a/urjtag/data/analog/bf533/bf533 b/urjtag/data/analog/bf533/bf533 index c2fe3c6f..91ceec88 100644 --- a/urjtag/data/analog/bf533/bf533 +++ b/urjtag/data/analog/bf533/bf533 @@ -161,6 +161,13 @@ signal VROUT0 register BSR 197 register BR 1 register DIR 32 +register DBGSTAT 16 +register DBGCTL 16 +register EMUIR 32 +register EMUIR64 64 +register EMUDAT 32 +register EMUDAT40 40 +register EMUPC 32 instruction length 5 @@ -168,6 +175,13 @@ instruction EXTEST 00000 BSR instruction SAMPLE/PRELOAD 10000 BSR instruction IDCODE 00010 DIR instruction BYPASS 11111 BR +instruction DBGSTAT_SCAN 01100 DBGSTAT +instruction DBGCTL_SCAN 00100 DBGCTL +instruction EMUIR_SCAN 01000 EMUIR +instruction EMUIR64_SCAN 01000 EMUIR64 +instruction EMUDAT_SCAN 10100 EMUDAT +instruction EMUDAT40_SCAN 10100 EMUDAT40 +instruction EMUPC_SCAN 11110 EMUPC bit 196 C 0 * bit 195 O 1 DATA[0] 196 0 Z diff --git a/urjtag/data/analog/bf537/bf537 b/urjtag/data/analog/bf537/bf537 index e67db34f..be13f859 100644 --- a/urjtag/data/analog/bf537/bf537 +++ b/urjtag/data/analog/bf537/bf537 @@ -183,6 +183,13 @@ signal VROUT0 register BSR 261 register BR 1 register DIR 32 +register DBGSTAT 16 +register DBGCTL 16 +register EMUIR 32 +register EMUIR64 64 +register EMUDAT 32 +register EMUDAT40 40 +register EMUPC 32 instruction length 5 @@ -190,6 +197,13 @@ instruction BYPASS 11111 BR instruction EXTEST 00000 BSR instruction SAMPLE/PRELOAD 10000 BSR instruction IDCODE 00010 DIR +instruction DBGSTAT_SCAN 01100 DBGSTAT +instruction DBGCTL_SCAN 00100 DBGCTL +instruction EMUIR_SCAN 01000 EMUIR +instruction EMUIR64_SCAN 01000 EMUIR64 +instruction EMUDAT_SCAN 10100 EMUDAT +instruction EMUDAT40_SCAN 10100 EMUDAT40 +instruction EMUPC_SCAN 11110 EMUPC bit 260 C 0 * bit 259 O 1 DATA0 260 0 Z diff --git a/urjtag/data/analog/bf538/bf538 b/urjtag/data/analog/bf538/bf538 index de0a1970..784c4530 100644 --- a/urjtag/data/analog/bf538/bf538 +++ b/urjtag/data/analog/bf538/bf538 @@ -316,6 +316,13 @@ signal VROUT1 register BSR 325 register BR 1 register DIR 32 +register DBGSTAT 16 +register DBGCTL 16 +register EMUIR 32 +register EMUIR64 64 +register EMUDAT 32 +register EMUDAT40 40 +register EMUPC 32 instruction length 5 @@ -323,6 +330,13 @@ instruction BYPASS 11111 BR instruction EXTEST 00000 BSR instruction SAMPLE/PRELOAD 10000 BSR instruction IDCODE 00010 DIR +instruction DBGSTAT_SCAN 01100 DBGSTAT +instruction DBGCTL_SCAN 00100 DBGCTL +instruction EMUIR_SCAN 01000 EMUIR +instruction EMUIR64_SCAN 01000 EMUIR64 +instruction EMUDAT_SCAN 10100 EMUDAT +instruction EMUDAT40_SCAN 10100 EMUDAT40 +instruction EMUPC_SCAN 11110 EMUPC bit 324 C 0 * bit 323 O 1 DATA0 324 0 Z diff --git a/urjtag/data/analog/bf548/bf548 b/urjtag/data/analog/bf548/bf548 index be2c70b4..2bc68d74 100644 --- a/urjtag/data/analog/bf548/bf548 +++ b/urjtag/data/analog/bf548/bf548 @@ -401,6 +401,13 @@ signal USB_XI register BSR 636 register BR 1 register DIR 32 +register DBGSTAT 16 +register DBGCTL 16 +register EMUIR 32 +register EMUIR64 64 +register EMUDAT 32 +register EMUDAT40 40 +register EMUPC 32 instruction length 5 @@ -408,6 +415,13 @@ instruction EXTEST 00000 BSR instruction SAMPLE/PRELOAD 10000 BSR instruction IDCODE 00010 DIR instruction BYPASS 11111 BR +instruction DBGSTAT_SCAN 01100 DBGSTAT +instruction DBGCTL_SCAN 00100 DBGCTL +instruction EMUIR_SCAN 01000 EMUIR +instruction EMUIR64_SCAN 01000 EMUIR64 +instruction EMUDAT_SCAN 10100 EMUDAT +instruction EMUDAT40_SCAN 10100 EMUDAT40 +instruction EMUPC_SCAN 11110 EMUPC bit 635 C 0 * bit 634 O 1 PORTA_10 635 0 Z diff --git a/urjtag/data/analog/bf561/bf561 b/urjtag/data/analog/bf561/bf561 index 84581fdd..b7e60553 100644 --- a/urjtag/data/analog/bf561/bf561 +++ b/urjtag/data/analog/bf561/bf561 @@ -235,6 +235,13 @@ signal GND_EXT18 register BSR 355 register BR 1 register DIR 32 +register DBGSTAT 16 +register DBGCTL 16 +register EMUIR 32 +register EMUIR64 64 +register EMUDAT 32 +register EMUDAT40 40 +register EMUPC 32 instruction length 5 @@ -242,6 +249,13 @@ instruction BYPASS 11111 BR instruction EXTEST 00000 BSR instruction SAMPLE/PRELOAD 10000 BSR instruction IDCODE 00010 DIR +instruction DBGSTAT_SCAN 01100 DBGSTAT +instruction DBGCTL_SCAN 00100 DBGCTL +instruction EMUIR_SCAN 01000 EMUIR +instruction EMUIR64_SCAN 01000 EMUIR64 +instruction EMUDAT_SCAN 10100 EMUDAT +instruction EMUDAT40_SCAN 10100 EMUDAT40 +instruction EMUPC_SCAN 11110 EMUPC bit 354 I 1 TEST bit 353 I 1 BMODE1