EP9302 Boot Problems

hi guys,

I’m trying to boot a brand new CS-E9302 board and am having some difficulties getting it to boot.

Out of the box it appeared to be locked up as per various issues in the errata with both the green and red leds on. The only state which results in both leds going off is when EEDAT is pulled low, although the doc says “Should be pulled up”, and openocd returns 0x3f.

I’ve cycled through the various settings and nothing seems to get it to start.

Connecting with the arm-usb-ocd (2006-10-12 from yagarto), i can connect via jtag ok, but get timeouts and it doesn’t seem like i’m able to see any of the address space you would expect - syscon, boot rom etc - every address returns 0xFFFFFFFF, using both the mdw and arm920t mdw_phys.

Either i’ve got a dud rev silicon (E1) or perhaps i’m missing a crucial step. Any help would be greatly appreciated.

current openocd config is :

telnet_port 4444

gdb_port 3333

interface ft2232

ft2232_device_desc “Olimex OpenOCD JTAG A”

ft2232_layout “olimex-jtag”

ft2232_vid_pid 0x15ba 0x0003

jtag_speed 1

reset_config srst_only

jtag_device 4 0x1 0xf 0xe

jtag_nsrst_delay 100

jtag_ntrst_delay 100

daemon_startup attach

target arm920t little reset_halt 0

working_area 0 0x80014000 0x1000 backup

flash bank cfi 0x60000000 0x1000000 2 2 0

here’s the openocd startup, the lines “timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5” happen on pretty much most commands including resets and read/writes.

C:\Program Files\openocd-2006re115\bin>openocd-ftd2xx.exe -f configs\ep9302_ft2232.cfg -d 3

Info: openocd.c:82 main(): Open On-Chip Debugger (2006-10-12 18:00 CEST)

Debug: arm920t.c:726 arm920t_target_command(): chain_pos: 0, variant: (null)

Debug: jtag.c:1210 jtag_init():

Debug: ft2232.c:991 ft2232_init(): ‘ft2232’ interface using FTD2XX with ‘olimex-jtag’ layout

Debug: ft2232.c:1077 ft2232_init(): current latency timer: 2

Debug: ft2232.c:1330 olimex_jtag_init(): 80 08 1b

Debug: ft2232.c:1373 olimex_jtag_init(): 82 09 0f

Debug: ft2232.c:242 ft2232_speed(): 86 01 00

Debug: jtag.c:247 jtag_call_event_callbacks(): jtag event: 1

Debug: jtag.c:1096 jtag_reset_callback():

Debug: jtag.c:247 jtag_call_event_callbacks(): jtag event: 1

Debug: jtag.c:1096 jtag_reset_callback():

Debug: openocd.c:100 main(): jtag init complete

Debug: arm7_9_common.c:656 arm7_9_assert_reset(): target->state: unknown

Debug: jtag.c:247 jtag_call_event_callbacks(): jtag event: 0

Debug: jtag.c:1096 jtag_reset_callback():

Debug: jtag.c:247 jtag_call_event_callbacks(): jtag event: 1

Debug: jtag.c:1096 jtag_reset_callback():

Debug: jtag.c:247 jtag_call_event_callbacks(): jtag event: 0

Debug: jtag.c:1096 jtag_reset_callback():

Debug: ft2232.c:738 olimex_jtag_reset(): trst: 1, srst: 1, high_output: 0x02, high_direction: 0x0f

Debug: ft2232.c:738 olimex_jtag_reset(): trst: 0, srst: 1, high_output: 0x03, high_direction: 0x0f

Debug: arm7_9_common.c:838 arm7_9_halt(): target->state: reset

Debug: embeddedice.c:253 embeddedice_write_reg(): 0: 0x00000002

Debug: jtag.c:247 jtag_call_event_callbacks(): jtag event: 3

Debug: jtag.c:1096 jtag_reset_callback():

Debug: arm7_9_common.c:722 arm7_9_deassert_reset(): target->state: reset

Debug: jtag.c:247 jtag_call_event_callbacks(): jtag event: 2

Debug: jtag.c:1096 jtag_reset_callback():

Debug: ft2232.c:738 olimex_jtag_reset(): trst: 0, srst: 0, high_output: 0x09, high_direction: 0x0f

Debug: openocd.c:104 main(): target init complete

Debug: openocd.c:108 main(): flash init complete

Debug: gdb_server.c:1347 gdb_init(): gdb service for target arm920t at port 3333

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: arm7_9_common.c:620 arm7_9_poll(): DBGACK set, dbg_state->value: 0x5

Debug: embeddedice.c:253 embeddedice_write_reg(): 0: 0x00000005

Debug: embeddedice.c:253 embeddedice_write_reg(): 0: 0x00000005

Debug: arm7_9_common.c:944 arm7_9_debug_entry(): target entered debug from ARM state

Debug: arm7_9_common.c:976 arm7_9_debug_entry(): target entered debug state in System mode

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r0: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r1: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r2: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r3: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r4: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r5: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r6: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r7: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r8: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r9: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r10: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r11: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r12: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r13: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r14: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r15: 0xffffffe7

Debug: arm7_9_common.c:1011 arm7_9_debug_entry(): entered debug state at PC 0xffffffe7

Debug: arm920t.c:437 arm920t_post_debug_entry(): cp15_control_reg: 005884e0

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Error: arm7_9_common.c:561 arm7_9_execute_sys_speed(): timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Error: arm7_9_common.c:561 arm7_9_execute_sys_speed(): timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Error: arm7_9_common.c:561 arm7_9_execute_sys_speed(): timeout waiting for SYSCOMP & DBGACK, last DBG_STATUS: 5

Debug: arm920t.c:459 arm920t_post_debug_entry(): D FSR: 0xffffffff, D FAR: 0xffffffff, I FSR: 0xffffffff, I FAR: 0xffffffff

Debug: target.c:442 target_call_event_callbacks(): target event 0

Info: server.c:67 add_connection(): accepted ‘telnet’ connection from 0

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: arm7_9_common.c:620 arm7_9_poll(): DBGACK set, dbg_state->value: 0x5

hello llamatron,

now i have also bought an Olimex Ep9302 and ARM USb OCD .But am not able to use it with my eclipse cdt. I don’t know the configurations of the jumper pins.If you get some time to spend please kindly send my the first steps to connect the board and start coding for it.

just the environment