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>

      From: Kolja Waschk <[email protected]>
 To: [email protected] 
 Sent: Tuesday, February 14, 2017 12:34 PM
 Subject: Re: [UrJTAG-dev] MIPS 24kec set registers etc.
   
> the device. How can I use this output to set the JTAG declarations like
> EJCONTROL?

 > 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

Regards,
Kolja

------------------------------------------------------------------------------
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


   
------------------------------------------------------------------------------
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