Debugging problems

Hi, I can’t get the source code to RAM/flash, every time i try to debug it sohws the message below. I think the debugger connects to the board, but to code won’t get there. The board is AT91SAM7X-EK and the jtag debugger is olimex usb-arm-ocd. And, what is the meaning a jumper named “J10”, the description is “Selects ICE mode or JTAG mode”,but there isn’t an actual jumper there is only a jumper-hole. Do i need to weld a jumper there if I’m going to use JTAG-debugger or what??

  • Info: openocd.c:93 main(): Open On-Chip Debugger (2008-02-02 15:00 CET) svn: 279

    Info: openocd.c:94 main(): $URL: http://svn.berlios.de/svnroot/repos/ope … /openocd.c $

    Info: jtag.c:1261 jtag_examine_chain(): JTAG device found: 0x3f0f0f0f (Manufacturer: 0x787, Part: 0xf0f0, Version: 0x3)

    Warning: arm7_9_common.c:755 arm7_9_assert_reset(): srst resets test logic, too

    Warning: arm7_9_common.c:954 arm7_9_halt(): target was already halted

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

    Warning: gdb_server.c:273 gdb_get_packet(): acknowledgment received, but no packet pending

    Warning: gdb_server.c:222 gdb_put_packet(): negative reply, retrying

    Warning: gdb_server.c:276 gdb_get_packet(): negative acknowledgment, but no packet pending

    Warning: gdb_server.c:273 gdb_get_packet(): acknowledgment received, but no packet pending

    Warning: gdb_server.c:222 gdb_put_packet(): negative reply, retrying

    Warning: gdb_server.c:273 gdb_get_packet(): acknowledgment received, but no packet pending

  • And i use debug the following commands

    target remote localhost:3333
    
    monitor soft_reset_halt
    monitor armv4_5 core_state arm
    monitor mww 0xffffff60 0x00320100
    monitor mww 0xfffffd44 0xa0008000
    monitor mww 0xfffffc20 0xa0000601
    monitor wait 100
    monitor mww 0xfffffc2c 0x00480a0e
    monitor wait 200
    monitor mww 0xfffffc30 0x7
    monitor wait 100
    monitor mww 0xfffffd08 0xa5000401
    set remote memory-write-packet-size 1024
    set remote memory-write-packet-size fixed
    set remote memory-read-packet-size 1024
    set remote memory-read-packet-size fixed
    monitor mww 0xfffffd00 0xa5000004
    monitor mww 0xffffff00 0x01
    monitor reg pc 0x00000000
    monitor arm7_9 sw_bkpts enable
    load
    continue
    

    .