Re: HOW2: Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD December 09, 2015 08:02AM |
Registered: 10 years ago Posts: 94 |
Re: HOW2: Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD December 09, 2015 09:43AM |
Registered: 9 years ago Posts: 2 |
zhfst
Re: HOW2: Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD December 17, 2015 03:23AM |
Re: HOW2: Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD December 17, 2015 04:38AM |
Registered: 10 years ago Posts: 94 |
Victor Lopez
Re: HOW2: Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD December 18, 2015 12:41PM |
Victor Lopez
Re: HOW2: Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD December 28, 2015 08:49AM |
Re: HOW2: Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD February 18, 2016 02:18AM |
Registered: 10 years ago Posts: 94 |
Mark
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD April 19, 2016 01:26AM |
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD April 19, 2016 03:40AM |
Registered: 10 years ago Posts: 94 |
Repair NSA325V1 ? December 17, 2016 05:35AM |
Registered: 8 years ago Posts: 25 |
> pogo_init feroceon.cpu: target state: halted target halted in Thumb state due to debug-request, current mode: Supervisor cpsr: 0x200000f3 pc: 0xffff0a0e MMU: enabled, D-Cache: enabled, I-Cache: enabled > soft_reset_halt requesting target halt and executing a soft reset feroceon.cpu: target state: halted target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x200000d3 pc: 0x00000000 MMU: disabled, D-Cache: disabled, I-Cache: disabled > nand write 0 uboot.kwb 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 uboot.kwb to NAND flash 0 at offset 0x00000000
Re: Repair NSA325V1 ? December 17, 2016 03:33PM |
Admin Registered: 13 years ago Posts: 19,010 |
J. Carlos
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD January 29, 2017 05:44PM |
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD January 29, 2017 06:26PM |
Registered: 10 years ago Posts: 94 |
J. Carlos
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD January 30, 2017 07:04AM |
J. Carlos
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD January 31, 2017 12:30PM |
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD January 31, 2017 02:27PM |
Registered: 10 years ago Posts: 94 |
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD February 15, 2017 04:42AM |
Registered: 10 years ago Posts: 38 |
> pogo_init > soft_reset_halt requesting target halt and executing a soft reset target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x200000d3 pc: 0x00000000 MMU: disabled, D-Cache: disabled, I-Cache: disabled > nand probe 0 memory write caused data abort (address: 0xd8000001, size: 0x1, count: 0x1) NAND flash device 'NAND 128MiB 3.3V 8-bit (Hynix)' found > nand erase 0 0x0 0xa0000 erased blocks 0 to 4 on NAND flash device #0 'NAND 128MiB 3.3V 8-bit' > nand write 0 uboot.kwb 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 uboot.kwb to NAND flash 0 at offset 0x00000000 >In a second moment I get
> nand write 0 uboot.kwb 0 oob_softecc_kw memory write caused data abort (address: 0xd8000001, size: 0x1, count: 0x1) memory write caused data abort (address: 0xd8000001, size: 0x1, count: 0x1) memory read caused data abort (address: 0xd8000000, size: 0x1, count: 0x1) timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 0 failed writing file uboot.kwb to NAND flash 0 at offset 0x00034800Here is another error
> nand write 0 uboot.kwb 0 oob_softecc_kw invalid mode value encountered 0 invalid mode value encountered 3 cpsr contains invalid mode value - communication failure error executing hosted NAND write Unable to write OOB data to NAND device failed writing file uboot.kwb to NAND flash 0 at offset 0x00047800 target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0xe00000d3 pc: 0x00300064 MMU: disabled, D-Cache: disabled, I-Cache: disabled
adapter_khz 200
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD February 22, 2017 02:38AM |
Registered: 10 years ago Posts: 94 |
# adapter speed in khz # my Raspi/Pogo combo accepted 2000 khz but safely it should work with adapter_khz 200 # adapter nsrst delay in ms # if you try to flash goflexnet or iomega uncomment next line to increase delay from 200ms to 500ms # adapter_nsrst_delay 500-joerg_999
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD April 12, 2017 10:30PM |
Registered: 7 years ago Posts: 67 |
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD April 13, 2017 12:55AM |
Registered: 10 years ago Posts: 94 |
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD September 07, 2017 04:57PM |
Registered: 10 years ago Posts: 10 |
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD September 13, 2017 02:02AM |
Registered: 10 years ago Posts: 10 |
John Mulroy
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD February 12, 2018 05:34PM |
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD February 20, 2018 02:11AM |
Registered: 10 years ago Posts: 94 |
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD March 11, 2018 12:09PM |
Registered: 8 years ago Posts: 25 |
Martin from Dortmund
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD October 14, 2018 11:29AM |
## Raspi ## Note: be careful and don´t mix GPIO and Pin number on Raspi! ## we use the Pins from SPI Interface (violett) 19,21,23,26 and 22 + 20 for GND see GPIO schematic Raspi GPIO--------Pin#--color ------------ JTAG Dockstar GND ------- 20 - (Green) GND ----------- GND (2) GPIO 10 --- 19 - (Grey) MOSI ----------- TDI (5) GPIO 9 ---- 21 - (Black) MISO ---------- TDO (10) GPIO 11 --- 23 - (Violett) CLK --------- CLK (9) GPIO 25 --- 22 - (White) CS ------------ TMS (7) GPIO 7 --- 26 - (Blue) AUX/TRST ------- RES (3) -------------------------------------------------------------------------------- ## JTAG cable you have to build ## Create a JTAG cable with the following pinout: Pin Name Raspi(PinHeader) Dockstar TRST ---------- 26 ------------------- 3 GND ----------- 20 ------------------- 2 JTAG_TMS ------ 22 ------------------- 7 JTAG_TDI ------ 19 ------------------- 5 JTAG_TDO ------ 21 ------------------- 10 JTAG_TCK ------ 23 ------------------- 9
pi@raspberrypi:~/shares/daten/martin/Dockstar $ sudo openocd -f dockstar.cfgOpen On-Chip Debugger 0.10.0+dev-00548-g06589d2d (2018-10-14-13:24) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html BCM2835 GPIO config: tck = 11, tms = 25, tdi = 10, tdo = 9 BCM2835 GPIO nums: swclk = 25, swdio = 24 BCM2835 GPIO config: trst = 7 trst_only separate trst_push_pull adapter speed: 200 kHz Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'. trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst adapter_nsrst_delay: 200 jtag_ntrst_delay: 200 dcc downloads are enabled fast memory access is enabled Warn : use 'feroceon.cpu' as target identifier, not '0' dockstar_reset_cpu Info : Listening on port 6666 for tcl connections Info : Listening on port 4444 for telnet connections Info : BCM2835 GPIO JTAG/SWD bitbang driver Info : JTAG and SWD modes enabled Info : clock speed 200 kHz Error: JTAG scan chain interrogation failed: all zeroes Error: Check JTAG interface, timings, target power, etc. Error: Trying to use configured scan chain anyway... Error: feroceon.cpu: IR capture error; saw 0x00 not 0x01 Warn : Bypassing JTAG setup events due to errors Info : Embedded ICE version 0 Info : feroceon.cpu: hardware has 1 breakpoint/watchpoint unit Error: unexpected Feroceon EICE version signature Info : Listening on port 3333 for gdb connections
Martin from Dortmund
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD October 14, 2018 11:48AM |
martin@martin-D2836-S1 /usr/share/openocd/scripts/board $ sudo openocd -f dockstar.cfg Open On-Chip Debugger 0.10.0+dev-00548-g06589d2 (2018-10-11-22:36) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Warn : Adapter driver 'usb_blaster' did not declare which transports it allows; assuming legacy JTAG-only Info : only one transport option; autoselect 'jtag' trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst adapter_nsrst_delay: 200 jtag_ntrst_delay: 200 dcc downloads are enabled fast memory access is enabled Warn : use 'feroceon.cpu' as target identifier, not '0' dockstar_reset_cpu Info : Listening on port 6666 for tcl connections Info : Listening on port 4444 for telnet connections Info : No lowlevel driver configured, using ftdi Info : usb blaster interface using libftdi Error: unable to get latency timer Info : This adapter doesn't support configurable speed Info : JTAG tap: feroceon.cpu tap/device found: 0x20a023d3 (mfg: 0x1e9 (Marvell Semiconductors), part: 0x0a02, ver: 0x2) Info : Embedded ICE version 0 Info : feroceon.cpu: hardware has 1 breakpoint/watchpoint unit Info : Listening on port 3333 for gdb connections
martin@martin-D2836-S1 ~ $ telnet localhost 4444 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. Open On-Chip Debugger > halt target halted in Thumb state due to debug-request, current mode: Supervisor cpsr: 0x400000f3 pc: 0xffff0a42 MMU: enabled, D-Cache: enabled, I-Cache: enabled > halt target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x000000d3 pc: 0xffff0000 MMU: disabled, D-Cache: disabled, I-Cache: disabled > sheevaplug_init feroceon.cpu mww address data [count] mww ['phys'] address value [count] > nand probe 0 unknown NAND flash device found, manufacturer id: 0x00 device id: 0x00
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD October 14, 2018 12:34PM |
Registered: 6 years ago Posts: 23 |
pi@raspberrypi:~/shares/daten/Martin/Dockstar $ sudo openocd -f dockstar.cfgOpen On-Chip Debugger 0.10.0+dev-00548-g06589d2d (2018-10-14-13:24) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html BCM2835 GPIO config: tck = 11, tms = 25, tdi = 10, tdo = 9 BCM2835 GPIO nums: swclk = 25, swdio = 24 BCM2835 GPIO config: trst = 7 trst_only separate trst_push_pull adapter speed: 200 kHz Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'. trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst adapter_nsrst_delay: 200 jtag_ntrst_delay: 200 dcc downloads are enabled fast memory access is enabled Warn : use 'feroceon.cpu' as target identifier, not '0' dockstar_reset_cpu Info : Listening on port 6666 for tcl connections Info : Listening on port 4444 for telnet connections Info : BCM2835 GPIO JTAG/SWD bitbang driver Info : JTAG and SWD modes enabled Info : clock speed 200 kHz Info : JTAG tap: feroceon.cpu tap/device found: 0x20a023d3 (mfg: 0x1e9 (Marvell Semiconductors), part: 0x0a02, ver: 0x2) Info : Embedded ICE version 0 Info : feroceon.cpu: hardware has 1 breakpoint/watchpoint unit Info : Listening on port 3333 for gdb connections Info : accepting 'telnet' connection on tcp/4444 target halted in ARM state due to debug-request, current mode: Supervisor cpsr: 0x000000d3 pc: 0xffff0000 MMU: disabled, D-Cache: disabled, I-Cache: disabled invalid command name "dockstar_init" feroceon.cpu mww address data [count] mww ['phys'] address value [count] Error: unknown NAND flash device found, manufacturer id: 0x00 device id: 0x00
"NAND flash device 'NAND 256MiB 3.3V 8-bit (Micron)' found"
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD October 14, 2018 03:31PM |
Registered: 6 years ago Posts: 23 |
U-Boot 2016.11+dfsg1-4 (Mar 27 2017 - 18:39:51 +0000)
Seagate FreeAgent DockStar
SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
WARNING: Caches not enabled
NAND: 256 MiB
*** Warning - bad CRC, using default environment
Re: HOW2: Repair Pogo E02 with Raspberry PI (1,2 or 3) JTAG and OpenOCD October 14, 2018 04:29PM |
Admin Registered: 13 years ago Posts: 19,010 |
uboot.2017.07-tld-1.dockstar.bodhi.tar md5 6a375a0bb5e8941d2fa416edc687f493 sha256 3b926930d0dc9d5c8b0405f1210d72b780170f1f88da29105b7c9d6a13a1cded
uboot.2016.05-tld-1.environment.img (the default envs image to be flashed)