Hi,
I’m using a ARM-USB-OCD with a OLIMEX SAM7-P256. My program stop at 27% while debugging with the message below:-
target remote localhost:3333
localhost:3333: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
monitor armv4_5 core_state arm
“monitor” command not supported by this target.
monitor mww 0xffffff60 0x00320100
“monitor” command not supported by this target.
monitor mww 0xfffffd44 0xa0008000
“monitor” command not supported by this target.
monitor mww 0xfffffc20 0xa0000601
“monitor” command not supported by this target.
monitor wait 100
“monitor” command not supported by this target.
monitor mww 0xfffffc2c 0x00480a0e
“monitor” command not supported by this target.
monitor wait 200
“monitor” command not supported by this target.
monitor mww 0xfffffc30 0x7
“monitor” command not supported by this target.
monitor wait 100
“monitor” command not supported by this target.
monitor mww 0xfffffd08 0xa5000401
“monitor” command not supported by this target.
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 arm7_9 force_hw_bkpts enable
“monitor” command not supported by this target.
symbol-file main.out
continue
The program is not being run.
My debugger configuration are as below:-
Initialize Commands
target remote localhost:3333
Run Commands
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 arm7_9 force_hw_bkpts enable
symbol-file main.out
continue
GDB debugger
arm-none-eabi-gdb.exe
I also change my makefile to “arm-none-eabi-” but I still dont know why the it cant communicate with my board