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 aex » Tue Nov 23, 2010 6:26 pm

hi, i changed the port to 0xd800 and at least now i get to the "ThumbEE state", but cant change that to ARM state.

and now it says at start "Error: JTAG scan chain interrogation failed: all ones" instead all zeros.
Is that better or worse?

the giveio.bat has been executed, is a restart required?

$this->bbcode_second_pass_code('', 'interface parport
parport_port 0xd800
parport_cable wiggler')

$this->bbcode_second_pass_code('', 'Open On-Chip Debugger
> init
> sheevaplug_init
Embedded ICE version 15
feroceon.cpu: hardware has 1 breakpoint/watchpoint unit
unexpected Feroceon EICE version signature
target was in unknown state when halt was requested
ThumbEE -- incomplete support
target state: halted
target halted in ThumbEE state due to debug-request, current mode: System
cpsr: 0xffffffff pc: 0xfffffff9
MMU: enabled, D-Cache: enabled, I-Cache: enabled
> halt
> sheevaplug_init
unexpected Feroceon EICE version signature
> nand probe 0
unknown NAND flash device found, manufacturer id: 0xff device id: 0xff
probing failed for NAND flash device
>')

$this->bbcode_second_pass_code('', 'C:\Documents and Settings\Administrator>openocd -f board/dockstar.cfg
Open On-Chip Debugger 0.4.0 (2010-02-22-19:05)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
parport port = 0xd800
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
Warn : use 'feroceon.cpu' as target identifier, not '0'
Info : clock speed 500 kHz
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Command handler execution failed
Warn : jtag initialization failed; try 'jtag init' again.
Info : accepting 'telnet' connection from 0
Info : Embedded ICE version 15
Info : feroceon.cpu: hardware has 1 breakpoint/watchpoint unit
Error: unexpected Feroceon EICE version signature
Warn : target was in unknown state when halt was requested
Warn : ThumbEE -- incomplete support
target state: halted
target halted in ThumbEE state due to debug-request, current mode: System
cpsr: 0xffffffff pc: 0xfffffff9
MMU: enabled, D-Cache: enabled, I-Cache: enabled
Error: unexpected Feroceon EICE version signature
Error: unknown NAND flash device found, manufacturer id: 0xff device id: 0xff
probing failed for NAND flash device')

thanks
aex
aex
 
Posts: 8
Joined: Tue Aug 17, 2010 6:57 pm

Re: DockStar JTAG

Postby bzboi » Wed Nov 24, 2010 7:34 pm

Is this with SRST disconnected and Vcc connected? Can you confirm that the Dockstar is powered before you run openocd?
Barring a hardware failure which warrants an RMA, I'm afraid I've exhausted the obvious things to try, so I'll have to defer to folks who have the same programmer or have seen similar issues.
bzboi
 
Posts: 55
Joined: Sun Jul 11, 2010 5:39 pm

Re: DockStar JTAG

Postby jasonldf » Mon Dec 13, 2010 12:22 am

Has anybody tried Bus Pirate with dockstar jtag? It uses usb connection and is supported under OpenOCD.
jasonldf
 
Posts: 8
Joined: Sun Dec 12, 2010 3:47 am

Re: DockStar JTAG

Postby dockstarfan » Fri Dec 17, 2010 8:21 pm

The uboot of my Dockstar is still working but pogo linux is broken. I would like to restore my original docks firmware using serial connection using the method given in http://Arch Linux ARM.com/index.php5?title=Ha ... Reflashing. I have a question about the ramdisk file, though. Should I use the ce_ramdisk_v2.0b.img.gz file as stated in the directions, or its decompressed .img file?
I have probably already asked the question elsewhere but have not get the reply yet. Hope you more experience people can give me an answer, so I can try it out during the weekend :). Thanks.
dockstarfan
 
Posts: 18
Joined: Wed Sep 01, 2010 10:51 pm

Re: DockStar JTAG

Postby jasonldf » Sat Dec 18, 2010 2:24 am

$this->bbcode_second_pass_quote('dockstarfan', ' ') I have a question about the ramdisk file, though. Should I use the ce_ramdisk_v2.0b.img.gz file as stated in the directions, or its decompressed .img file?


This is actually off-topic since it's non-JTAG but img.gz is fine. Kernel will unpack the gzipped ramdisk. I've used the steps with a serial connection.
jasonldf
 
Posts: 8
Joined: Sun Dec 12, 2010 3:47 am

Re: DockStar JTAG

Postby N3x » Sat Feb 12, 2011 1:41 pm

$this->bbcode_second_pass_quote('jasonldf', 'H')as anybody tried Bus Pirate with dockstar jtag? It uses usb connection and is supported under OpenOCD.
Hi,

After I bricked my Dockstar, (with some kind of hazardous nand scrubing) I ordered a BusPirate from Sparkfun and after an evening of trials (and a lot of failed attempts) I managed to recover my Dockstar with my BusPirate and and FTDI USB-Serial Adapter under Linux (Archlinux in my case).
If you're interested, you can read the mains steps here: http://plume.redox.ws/article13/dockstar-debricking-jtag-with-buspirate
(There might be some language mistakes, I apologize. (and if someone wan't to correct, I'll edit the article) I'm a French student so I know It's perfectible, but iI wrote it in English to make it accessible to most people. Common steps are not really detailed, if you think it's necessary I can edit the article.

Thanks to everyone for the work previously done on JTAG with the Dockstar.

N3x
Last edited by N3x on Sun Mar 27, 2011 12:57 pm, edited 2 times in total.
N3x
 
Posts: 3
Joined: Sun Feb 06, 2011 1:21 am

Re: DockStar JTAG

Postby jasonldf » Sun Mar 27, 2011 12:42 pm

$this->bbcode_second_pass_quote('N3x', '
')If you're interested, you wan read the mains steps here: http://plume.redox.ws/article13/dockstar-debricking-jtag-with-buspirate
N3x

Thanks for this, I'll be trying this out to resurrect my dockstar with Bus Pirate JTAG soon.
jasonldf
 
Posts: 8
Joined: Sun Dec 12, 2010 3:47 am
Top

Re: DockStar JTAG

Postby ecc » Fri Apr 08, 2011 8:19 pm

I set up a JTAG connection to my DockStar and verified that I could use load_image and resume to run uboot from memory.

Then I flashed a test version of uboot which I expected might not work, and sure enough it doesn't.

So I fired up openocd again, loaded the known-good uboot into memory, tried to resume, and ... nothing. I verified (using dump_image) that the correct data is in memory. I am able to single-step it starting at 0x800200, but whenever I lose patience and type "resume", It hangs.

I also tried writing the good uboot directly to NAND from openocd, but that also fails:
$this->bbcode_second_pass_code('', '
> nand erase 0 0 0x80000
erased blocks 0 to 4 on NAND flash device #0 'NAND 256MiB 3,3V 8-bit'
> nand write 0 dockstar-uboot.bin 0 oob_softecc_kw
timed out while waiting for target halted
error executing hosted NAND write
Unable to write data to NAND device
failed writing file dockstar-uboot.bin to NAND flash 0 at offset 0x00000000
')

Any suggestions on what to try next? Thanks.
ecc
 
Posts: 5
Joined: Mon Sep 06, 2010 4:46 pm

Re: DockStar JTAG

Postby jasonldf » Sun Apr 10, 2011 2:23 am

$this->bbcode_second_pass_quote('ecc', '
')$this->bbcode_second_pass_code('', '
timed out while waiting for target halted
')

Any suggestions on what to try next? Thanks.

I'm new to openocd as well but this http://buffalo.nas-central.org/wiki/JTA ... our_LS_Pro seems to suggest that the state of the dockstar is wrong for flashing.

You may have better luck asking in the openocd mailing list/forum.
jasonldf
 
Posts: 8
Joined: Sun Dec 12, 2010 3:47 am
Top

Re: DockStar JTAG

Postby ecc » Mon Apr 11, 2011 12:04 am

I was able to use openocd to load another u-boot image (without the kwb header) and resume it at 0x800000. So then I was able to re-flash from within u-boot. Still not sure why the "nand write" command wouldn't work from openocd though.
ecc
 
Posts: 5
Joined: Mon Sep 06, 2010 4:46 pm

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 18 guests