On Tue, Feb 14, 2017 at 12:57:36PM +0000, Alex wrote:
> From: Kolja Waschk <[email protected]>
> Sent: Tuesday, February 14, 2017 12:34 PM
> > On Tue, Feb 14, 2017 at 08:49:24AM +0000, Alex wrote:
> > > Hi,
> > > I want to recover the flash data from a router board.The CPU ist
> > > a MIPS 24kec Dual Core Lantiq/Infineon DANUBE-S XWAY (known as
> > > PSB 50712 or easy50712 or "unofficial AR8").There is no datasheet
> > > public. But I have the UrJTAG discover output from the device.
> > > How can I use this output to set the JTAG declarations like
> > > EJCONTROL?

> > > jtag> detect
> > > IR length: 10
> > > Chain length: 2
> > > Device Id: 00000000000000000000000110000011 (0x00000183)
> > >   Unknown manufacturer! (00011000001) (/usr/share/urjtag/MANUFACTURERS)
> > > Device Id: 00000000000000000000000110000011 (0x00000183)
> > >   Unknown manufacturer! (00011000001) (/usr/share/urjtag/MANUFACTURERS)

> >
> > > UrJTAG ouptut (OpenOCD shows IR length 5):
> >
> > > IR length: 10
> > > Chain length: 2
> >
> > So it is probably 2 cores x 5 bit. After manually defining "instruction
> > length 5" and part number ("part 0" or "part 1") you should be able to
> > get further.
> >
> > https://www.linux-mips.org/wiki/JTAG
> >
>
> Thank You! The part command worked!I managed to get the bus working with this 
> sequence:
> detect
> part 0
> instruction length 5
> register        BSR             1
> register        BR              1
> register        DIR             32
> register        EJIMPCODE       32
> register        EJADDRESS       32
> register        EJDATA          32
> register        EJCONTROL       32
> register        EJALL           96
> register        EJFASTDATA      33
> instruction BYPASS              11111   BR
> instruction SAMPLE/PRELOAD      00010   BSR
> instruction IDCODE              00001   DIR
> instruction EJTAG_IMPCODE       00011   EJIMPCODE
> instruction EJTAG_ADDRESS       01000   EJADDRESS
> instruction EJTAG_DATA          01001   EJDATA
> instruction EJTAG_CONTROL       01010   EJCONTROL
> instruction EJTAG_ALL           01011   EJALL
> instruction EJTAGBOOT           01100   BR
> instruction NORMALBOOT          01101   BR
> instruction EJTAG_FASTDATA      01110   EJFASTDATA
> instruction TCBCONTROLA         10000   BR
> instruction TCBCONTROLB         10001   BR
> instruction TCBDATA             10010   BR
> part 1
> instruction length 5
> register        BSR             1
> register        BR              1
> register        DIR             32
> register        EJIMPCODE       32
> register        EJADDRESS       32
> register        EJDATA          32
> register        EJCONTROL       32
> register        EJALL           96
> register        EJFASTDATA      33
> instruction BYPASS              11111   BR
> instruction SAMPLE/PRELOAD      00010   BSR
> instruction IDCODE              00001   DIR
> instruction EJTAG_IMPCODE       00011   EJIMPCODE
> instruction EJTAG_ADDRESS       01000   EJADDRESS
> instruction EJTAG_DATA          01001   EJDATA
> instruction EJTAG_CONTROL       01010   EJCONTROL
> instruction EJTAG_ALL           01011   EJALL
> instruction EJTAGBOOT           01100   BR
> instruction NORMALBOOT          01101   BR
> instruction EJTAG_FASTDATA      01110   EJFASTDATA
> instruction TCBCONTROLA         10000   BR
> instruction TCBCONTROLB         10001   BR
> instruction TCBDATA             10010   BR
> part 1
> initbus ejtag
> part 0
> initbus ejtag
> part 1
> initbus ejtag
>
> output after the last initbus ejtag:
>
> ImpCode=01100000010000010100000000000000 60414000
> EJTAG version: 3.1
> EJTAG Implementation flags: R4k ASID_8 MIPS16 NoDMA MIPS32
> Processor entered Debug Mode.
> Initialized bus 2, active bus 0
> jtag>
> jtag> print
>  No. Manufacturer              Part                 Stepping Instruction      
>     Register
> -------------------------------------------------------------------------------------------------------------------
>    1                                                         EJTAG_DATA       
>     EJDATA
>
> Active bus:
> *0: EJTAG compatible bus driver via PrAcc (JTAG part No. 1)
>         start: 0x00000000, length: 0x20000000, data width: 8 bit
>         start: 0x20000000, length: 0x20000000, data width: 16 bit
>         start: 0x40000000, length: 0x20000000, data width: 32 bit
> jtag>

Is the above information something that should go
into the data/ directory of UrJTAG?

If so, what should be the manufacture name for 0x183 ?


@original poster ( alex / johannes ) :
  Are you willing to test updated /usr/share/urjtag/MANUFACTURERS ?


Groeten
Geert Stappers
-- 
Leven en laten leven

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to