Hi all,
My name is Naidu and I am working with SAM7S256 EK and using the OpenOCD USB JTAG for debugging purposes.I am using FT2232 as a JTAG adapter and OpenOCD v4.0. I am programing the whole thing in Eclipse environment. I am using the Eclipse Zylin to configure the GDB debugger. I have no probelems in downloading the bin file to flash.I have probelems in debugging on the target like in the Zylin configuration I have given the path for the elf file.But I can not debug.
Following are the commands that I include under the commands tab
target local host:3333
monitor reset halt
monitor sleep 500
monitor poll
monitor soft_reset_enable
With this commands I get always probelms with debugging.I either get the message like error read memory or error + address wrap (0x000000f, 0x04)…When I try to press the play and pause button in Eclipse I get the message on the debug window that SOuce not available.I am not sure where the probelem could be. Any kind of help is highly appreciated. If you need more info I could attach the cfg files used for flashing and debug. I am using the SRST signal for reset purposes. If I include load in the command list then every thing works fine but it takes 2 minutes to finish the load operation. I am not sure if we need to include load for every debug operation. If yes, is there a way so that I can increase the speed of load operation.
Kind Regards,
Naidu.