DockStar JTAG

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: DockStar JTAG

Postby mrbill » Fri Sep 03, 2010 9:33 pm

I've put this pinout, along with TIAO example wire colors and their diagram, up at

http://www.mrbill.net/dockstar/tiao/
mrbill
 
Posts: 3
Joined: Fri Sep 03, 2010 9:31 pm

Re: DockStar JTAG

Postby ygator » Fri Sep 03, 2010 9:44 pm

I have just unbricked a dockstar with the steps in the wiki.
Thanks for everyone for doing the leg work on this.

@mrbill
Thanks. You might just want to add the purple as being no connection as well since people might think if was forgotten.
ygator
 
Posts: 97
Joined: Tue Aug 10, 2010 9:37 pm

Re: DockStar JTAG

Postby mrbill » Fri Sep 03, 2010 9:55 pm

Updated the diagram to reflect NOCONNECT for orange and purple, and added a snippet showing pin numbers for the Dockstar JTAG header.
mrbill
 
Posts: 3
Joined: Fri Sep 03, 2010 9:31 pm

Re: DockStar JTAG

Postby ygator » Fri Sep 03, 2010 10:19 pm

@mrbill

Looks good! Thanks
ygator
 
Posts: 97
Joined: Tue Aug 10, 2010 9:37 pm

Re: DockStar JTAG

Postby klingon » Fri Sep 03, 2010 10:41 pm

Glad it worked out for you. I struggled for 2 days thinking I got a bad JTAG and was about to exchange it! Until I contacted Kragorn for his wiring.
klingon
 
Posts: 5
Joined: Sun Jul 18, 2010 2:23 pm

Re: DockStar JTAG

Postby bzboi » Sat Sep 04, 2010 1:40 am

@mrbill - would you mind updating the Wiki to include your diagram and findings? Thanks!
bzboi
 
Posts: 55
Joined: Sun Jul 11, 2010 5:39 pm

Re: DockStar JTAG

Postby mrbill » Sat Sep 04, 2010 4:31 am

mrbill
 
Posts: 3
Joined: Fri Sep 03, 2010 9:31 pm

Re: DockStar JTAG

Postby jtagfun » Sat Sep 04, 2010 11:34 am

$this->bbcode_second_pass_quote('klingon', 'T')his is what I learnt from Kragorn if you're using Tiao's universal JTAG set to buffered mode and wiring instructions from http://www.tiaowiki.com/w/Image:Univers ... er.597.jpg

- Green wire -> pin 4 (of Dockstar)
- Yellow -> pin 5
- Red -> pin 3
- White -> pin 2
- Blue -> pin 6
- Black -> pin 10

Do NOT connect the orange wire (n_SRST in the JTAG) or openocd will give you the errors you're seeing. Also make sure you supply power to the JTAG using the mini-USB plug. Hope this works for you.


When n_SRST is not used, do you need to push the Reset button at all (the "work around" suggested by wiki) when starting OPENOCD?
jtagfun
 
Posts: 24
Joined: Sun Aug 29, 2010 11:37 am

Re: DockStar JTAG

Postby bzboi » Sat Sep 04, 2010 12:23 pm

I believe that the folks using the wiggler have not had to do it even without SRST#. I think that in this case, what matters is whether TRST# is connected. Try without the workaround first and if that doesn't work try with the workaround.

http://code.google.com/p/openrd/issues/detail?id=7

From what I understand, the cause of the problem is that the JTAG reset line is driven push-pull instead of open drain. Whether the reset actually happens depends on the initial (out of reset) state of the SoC I/O and the reset threshold of the chip, so it is likely to vary from board to board. I did not need the workaround when I had a working uBoot in mtd0, but after I erased mtd0, I needed the workaround to continue to load uboot to RAM.

It may very well be that I'm the only person that encountered this, so I welcome more feedback on who else had to do this so we can definitively keep/remove the workaround from the Wiki.
bzboi
 
Posts: 55
Joined: Sun Jul 11, 2010 5:39 pm

Re: DockStar JTAG

Postby klingon » Sat Sep 04, 2010 12:41 pm

$this->bbcode_second_pass_quote('jtagfun', '
')When n_SRST is not used, do you need to push the Reset button at all (the "work around" suggested by wiki) when starting OPENOCD?


Nope. Worked as is. One thing I noticed is that if you have a working DS (not bricked), you need to start Openocd as soon as you power up. Otherwise once it starts the boot sequence, Openocd comes back with a bunch of error msgs.
klingon
 
Posts: 5
Joined: Sun Jul 18, 2010 2:23 pm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 13 guests

cron