User:Brainey

From Openmoko

Jump to: navigation, search

Bill Rainey's user page

Have a phase 1 Neo1973 which I finally got around to playing with. Found that I didn't have a root filesystem so I got it hooked up to flash a kernel and root fs. Tried to flash a new version of the kernel to match a recent root filesystem image.

That failed (don't have the output so can't give the specific fault) so tried to reflash the boot loader and that failed the same way the kernel. But it has left the device a brick at this point.

I think I have the debug board hooked up correctly - uplink to linux (direct to pc, no hub, no other ftdi devices plugged in), the neo1973 hooked to one of the hub ports on the debug board and the ribbon cable connecting the neo1973 to the daughter card.

Here is the output of the openocd command:

Debug:   arm920t.c:727 arm920t_target_command(): chain_pos: 0, variant: arm920t
Debug:   jtag.c:1407 jtag_init(): -
Debug:   ft2232.c:1421 ft2232_init_libftdi(): 'ft2232' interface using libftdi with 'jtagkey' layout  (1457:5118)
Debug:   ft2232.c:1463 ft2232_init_libftdi(): current latency timer: 2
Debug:   ft2232.c:1649 jtagkey_init(): 80 08 1b
Debug:   ft2232.c:1707 jtagkey_init(): 82 09 0f
Debug:   ft2232.c:253 ft2232_speed(): 86 00 00
Debug:   jtag.c:295 jtag_call_event_callbacks(): jtag event: TRST asserted
Debug:   jtag.c:295 jtag_call_event_callbacks(): jtag event: TRST asserted
Error:   jtag.c:1357 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan  returned 0x00
Debug:   jtag.c:295 jtag_call_event_callbacks(): jtag event: TRST asserted
Error:   jtag.c:1357 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan  returned 0x00
Debug:   jtag.c:295 jtag_call_event_callbacks(): jtag event: TRST asserted
Error:   jtag.c:1357 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan  returned 0x00
Debug:   jtag.c:295 jtag_call_event_callbacks(): jtag event: TRST asserted
Error:   jtag.c:1357 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan  returned 0x00
Debug:   jtag.c:295 jtag_call_event_callbacks(): jtag event: TRST asserted
Error:   jtag.c:1357 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan  returned 0x00
Debug:   jtag.c:295 jtag_call_event_callbacks(): jtag event: TRST asserted
Error:   jtag.c:1357 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x00
Error:   jtag.c:1442 jtag_init(): Could not validate JTAG chain, exit


and here is the openocd.cfg that I'm using with it:

#daemon configuration
telnet_port 4444
gdb_port 3333 

#interface
interface ft2232
jtag_speed 0
ft2232_vid_pid 0x1457 0x5118
ft2232_layout "jtagkey"
#ft2232_device_desc "Debug Board for Neo1973"
#interface parport
#parport_port 0 #x378
#parport_cable wiggler


#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst #srst_pulls_trst 

#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe

#target configuration
daemon_startup attach
#target <type> <startup mode>
target arm920t little reset_run 0 arm920t
#working_area 0 0x200000 0x4000 backup
run_and_halt_time 0 5000 

#flash configuration (K9D1208V0M: 512Mbit, x8, 3.3V, Mode: Normal, 1st gen)
#NOR flash configuration (SST39VF400A 4Mbit, x16, 3.3V, 128sect, 4k/sect, 8 blocks (64kByte per block)
#flash bank cfg addr length chip_width bus_width target
flash bank cfi 0x00000000 0x80000 2 2 0

also presessing the power or the power in combination with the AUX key fails to cause the hardware to appear on - i.e. no screen backlight nor vibrate.

Personal tools