USB based JTAG ??

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
Shawn360
DD-WRT Guru


Joined: 26 Jul 2008
Posts: 1237

PostPosted: Thu Mar 26, 2009 21:35    Post subject: Reply with quote
^So I guess if Tornado is working on adding USB support to Tjtag it will have to be for a specific device only?
Sponsor
tcharron
DD-WRT User


Joined: 12 Aug 2007
Posts: 112

PostPosted: Thu Mar 26, 2009 22:48    Post subject: Reply with quote
Tornado is in a better spot to answer that than I am. There may be more standardization of drivers than I think there is. I have little experience to draw from...
dellsweig
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1476
Location: New York, USA

PostPosted: Thu Mar 26, 2009 22:53    Post subject: Reply with quote
tcharron wrote:
Tornado is in a better spot to answer that than I am. There may be more standardization of drivers than I think there is. I have little experience to draw from...


I sent tornado an email offering my help - the device I have comes with developers software - I offered that to him as well as any testing I can do.
ewehrer
DD-WRT Novice


Joined: 29 Mar 2009
Posts: 1

PostPosted: Sun Mar 29, 2009 18:18    Post subject: Reply with quote
These are my exact thought, I do hope a USB JTAG will work.
dellsweig
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1476
Location: New York, USA

PostPosted: Sun Mar 29, 2009 20:27    Post subject: Reply with quote
ewehrer wrote:
These are my exact thought, I do hope a USB JTAG will work.


The device came this weekend - have not had a chance - but I am wondering if with the included sofware, it will recognize the standard JTAG interface and display the output from the interface - will keep everyone posted..

Does anyone know if Tornados software/driver is anything more than a charcter based i/o driver for the paralel interface?

From what i am reading, the board level JTAG is standard - that with this device I should be able to plug it in and see the "mornal" board level output from my router.....

like I said - will keep everyone posted.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Mon Mar 30, 2009 0:26    Post subject: Reply with quote
MIPS has their own version of JTAG (called EJTAG) which differs slightly in commands and sequences from the original JTAG standard so don't expect too much from the included software.

There is little if anything to choose between when it comes to USB software for EJTAG, URJTAG is the only free software I have found that support MIPS cpu's and EJTAG. You may have to edit the port pin assignment in the source to match your adapter.
dellsweig
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1476
Location: New York, USA

PostPosted: Mon Mar 30, 2009 13:26    Post subject: Reply with quote
LOM wrote:
MIPS has their own version of JTAG (called EJTAG) which differs slightly in commands and sequences from the original JTAG standard so don't expect too much from the included software.

There is little if anything to choose between when it comes to USB software for EJTAG, URJTAG is the only free software I have found that support MIPS cpu's and EJTAG. You may have to edit the port pin assignment in the source to match your adapter.


I checked the pin outs/signal for the adapter - it matches the 6 pin header no issues there

Sent a note to the vendor regarding EJTAG and MIPS processor support
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Mon Mar 30, 2009 14:30    Post subject: Reply with quote
dellsweig wrote:

I checked the pin outs/signal for the adapter - it matches the 6 pin header no issues there

Sent a note to the vendor regarding EJTAG and MIPS processor support


Ok, that was not exactly what I meant. Smile

Almost all of these USB JTAG devices are based on
a USB -> Serial converter from FTDI and that chip can run in 2 modes.
Either as a RS-232 serial port with all handshake signals or in bit-bang mode where you have full control over each pin and can set them as inputs or outputs, similar to a computer parallel port.

There are around 10 port pins available in that mode and there is not much of a standard for assigning a certain port pin to a certain JTAG pin.

The closest we come to a standard is when a vendor says that his USB-JTAG is OpenOCD compatible but there are a lot of vendors who aren't and who are providing their own program instead.

I guess what I wanted to say is that you can't just buy any USB-JTAG adapter and expect it to function with all USB JTAG softwares.
dellsweig
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1476
Location: New York, USA

PostPosted: Mon Mar 30, 2009 15:04    Post subject: Reply with quote
LOM wrote:
dellsweig wrote:

I checked the pin outs/signal for the adapter - it matches the 6 pin header no issues there

Sent a note to the vendor regarding EJTAG and MIPS processor support


Ok, that was not exactly what I meant. Smile

Almost all of these USB JTAG devices are based on
a USB -> Serial converter from FTDI and that chip can run in 2 modes.
Either as a RS-232 serial port with all handshake signals or in bit-bang mode where you have full control over each pin and can set them as inputs or outputs, similar to a computer parallel port.

There are around 10 port pins available in that mode and there is not much of a standard for assigning a certain port pin to a certain JTAG pin.

The closest we come to a standard is when a vendor says that his USB-JTAG is OpenOCD compatible but there are a lot of vendors who aren't and who are providing their own program instead.

I guess what I wanted to say is that you can't just buy any USB-JTAG adapter and expect it to function with all USB JTAG softwares.


LOM

This is the one I am looking at (already bought one)

http://www.digilentinc.com/Products/Catalog.cfm?Nav1=Products&Nav2=Cables&Cat=Cable
redhawk0
DD-WRT Guru


Joined: 04 Jan 2007
Posts: 11564
Location: Wherever the wind blows- North America

PostPosted: Mon Mar 30, 2009 15:16    Post subject: Reply with quote
dellsweig...where are you pulling ground from if this is only 6 pin cable?

redhawk

_________________
The only stupid question....is the unasked one.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Mon Mar 30, 2009 15:47    Post subject: Reply with quote
dellweig, that one seems to be missing the Reset output pin.
HyperVerbal
DD-WRT Novice


Joined: 05 Jul 2008
Posts: 9
Location: GA

PostPosted: Mon Mar 30, 2009 21:08    Post subject: cross posted: BlackCAT TCNISO 1.3 can this be used as a JTAG Reply with quote
ok i think i can use the tcniso USB jtag from the cable modem I have for the netgear wnr834bv2 to get dd-wrt running again, has anyone tried this?


IMG_1302 (Small).JPG
 Description:
BlackCAT TCNISO 1.3
 Filesize:  38.9 KB
 Viewed:  20739 Time(s)

IMG_1302 (Small).JPG


LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Tue Mar 31, 2009 3:18    Post subject: Reply with quote
That BlackCAT-USB looks interesting and you can probably use it for flashing a Linksys router.
The cable modems for which it is intended are Broadcomm MIPS based.

This design is not based on a FTDI USB chip, instead it has a programmable Atmel AVR cpu for USB -> JTAG conversion.

The software provided with it has cable modem specific menu items in a similar way as Tornado's software has Linksys specific switches.

The BlackCAT is USD 39.95 but can be had for USD 20.00 !! when bought in 10-pack.
HyperVerbal
DD-WRT Novice


Joined: 05 Jul 2008
Posts: 9
Location: GA

PostPosted: Tue Mar 31, 2009 3:27    Post subject: Reply with quote
LOM wrote:
That BlackCAT-USB looks interesting and you can probably use it for flashing a Linksys router.
The cable modems for which it is intended are Broadcomm MIPS based.

This design is not based on a FTDI USB chip, instead it has a programmable Atmel AVR cpu for USB -> JTAG conversion.

The software provided with it has cable modem specific menu items in a similar way as Tornado's software has Linksys specific switches.

The BlackCAT is USD 39.95 but can be had for USD 20.00 !! when bought in 10-pack.


So i'll need the software made just for this...right because the cable modem version is not he same.
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Tue Mar 31, 2009 3:46    Post subject: Reply with quote
You can probably program the flash chip in your Linksys router with the cable modem software by setting up address ranges manually but I haven't seen the software in action so it is hard to give a definite answer.

It would be nice if Tornado decided to include USB devices in tjtag and selected a device like this which
can be had cheap.
Goto page Previous  1, 2, 3, 4, 5, 6  Next Display posts from previous:    Page 2 of 6
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum