I am having issues debugging the 9261, I am using the USB-OCD eclipse setup.
openocd always connects
sometimes it downloads and runs fine
Sometimes i get:
Configuring the master clock...
source C:\gccfd\projects\gput91sam9261-ek-sdram.gdb
C:\gccfd\projects\gput91sam9261-ek-sdram.gdb:6: Error in sourced command file:
Cannot access memory at address 0xfffffc20
target remote localhost: 3333
0x00000000 in ?? ()
monitor soft_reset_halt
requesting target halt and executing a soft reset
load
Loading section .fixed, size 0x2c8 lma 0x20000000
Load failed
break main
Breakpoint 20 at 0x2000015c: file main.c, line 484.
continue
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x2000015c: (undocumented errno -1).
Cannot access memory at address 0x0
sometimes it will download and get hung up in random places in code
these errors can come in the same sitting, ex: click debugger->error, stop, debugger again-> runs, stop, debugger->error.
sometimes it will download, but give “unable to set software breakpoint”
sometimes it will download, but get stuck at 27% of debugger opening.