diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 812b2a4e..bb8cbaeb 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,11 @@ +2003-07-25 Marcel Telka + + * data/Makefile.am (nobase_dist_pkgdata_DATA): Added broadcom/bcm3310/STEPPINGS and + broadcom/bcm3310/bcm3310. + * data/broadcom/PARTS: Added BCM3310. + * data/broadcom/bcm3310/STEPPINGS: New file. + * data/broadcom/bcm3310/bcm3310: Ditto. + 2003-07-24 Marcel Telka * po/POTFILES.in: Removed missing files. diff --git a/jtag/NEWS b/jtag/NEWS index d0656822..ec8599c3 100644 --- a/jtag/NEWS +++ b/jtag/NEWS @@ -12,6 +12,8 @@ See libbrux/NEWS for more news. - removed explicit JTAG chain length detection (patch 753298, Matan Ziv-Av) - simplified output messages - removed support for report results to file + * Added initial JTAG declarations for Broadcom BCM3310 (see support request 770145 for + more info, thanks to Ramses VI). * Fixed invalid memory allocation size (core dump) in jtag_parse_line() function. * Minor bugs fixed. diff --git a/jtag/README b/jtag/README index 760f39d7..ed166d0f 100644 --- a/jtag/README +++ b/jtag/README @@ -46,6 +46,7 @@ JTAG adapters/cables (see 'help cable' command for more info): JTAG-aware parts (chips): - Atmel ATmega128 (partial support) - Broadcom BCM1250 +- Broadcom BCM3310 (partial support) - Broadcom BCM5421S - DEC SA1100 - Hitachi SH7727 diff --git a/jtag/THANKS b/jtag/THANKS index fae525f0..26a809cf 100644 --- a/jtag/THANKS +++ b/jtag/THANKS @@ -8,6 +8,7 @@ Jachym Holecek August Hörandl Stas Khirman Christian Pellegrin +Ramses VI Holger Schurig Matan Ziv-Av Alessandro Zummo diff --git a/jtag/data/Makefile.am b/jtag/data/Makefile.am index d2f5b273..8253223d 100644 --- a/jtag/data/Makefile.am +++ b/jtag/data/Makefile.am @@ -31,6 +31,8 @@ nobase_dist_pkgdata_DATA = \ broadcom/PARTS \ broadcom/bcm1250/STEPPINGS \ broadcom/bcm1250/bcm1250 \ + broadcom/bcm3310/STEPPINGS \ + broadcom/bcm3310/bcm3310 \ broadcom/bcm5421s/STEPPINGS \ broadcom/bcm5421s/bcm5421s \ dec/PARTS \ diff --git a/jtag/data/broadcom/PARTS b/jtag/data/broadcom/PARTS index bfb4a25e..80f6c56e 100644 --- a/jtag/data/broadcom/PARTS +++ b/jtag/data/broadcom/PARTS @@ -23,4 +23,5 @@ # bits 27-12 of the Device Identification Register 0001001001010000 bcm1250 BCM1250 +0011001100010000 bcm3310 BCM3310 0101010000100001 bcm5421s BCM5421S diff --git a/jtag/data/broadcom/bcm3310/STEPPINGS b/jtag/data/broadcom/bcm3310/STEPPINGS new file mode 100644 index 00000000..6c1bddbe --- /dev/null +++ b/jtag/data/broadcom/bcm3310/STEPPINGS @@ -0,0 +1,25 @@ +# +# $Id$ +# +# Copyright (C) 2003 ETC s.r.o. +# +# This program 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. +# +# 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 more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. +# +# Written by Marcel Telka , 2003. +# + +# bits 31-28 of the Device Identification Register +0000 bcm3310 0 diff --git a/jtag/data/broadcom/bcm3310/bcm3310 b/jtag/data/broadcom/bcm3310/bcm3310 new file mode 100644 index 00000000..ee33e5da --- /dev/null +++ b/jtag/data/broadcom/bcm3310/bcm3310 @@ -0,0 +1,37 @@ +# +# $Id$ +# +# JTAG declarations for Broadcom BCM3310 +# Copyright (C) 2003 ETC s.r.o. +# +# This program 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. +# +# 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 more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. +# +# Written by Marcel Telka , 2003. +# + +# mandatory data registers +register BSR 397 +register BR 1 +# optional data registers +register DIR 32 + +instruction length 5 +# mandatory instructions +instruction EXTEST 00000 BSR # TODO: EXTEST instruction value not verified +instruction SAMPLE/PRELOAD 00010 BSR # TODO: SAMPLE/PRELOAD instruction value not verified +instruction BYPASS 11111 BR +# optional instructions +instruction IDCODE 00001 DIR # TODO: IDCODE instruction value not verified