My Debian have just updated my OpenOCD to 0.3.0 from 0.2.0.
I’ve read 0.3.0 was broken and I passed to the last version in the repository:
Open On-Chip Debugger 0.4.0-dev-00563-gb621090 (2009-11-25-09:37)
Well, I have an AT91SAM7S256 in a Olimex-DevBoard, I was able to debug using gdb with the 0.2.0 version, but now i have the next issue (with 0.3.0 and with the last version).
When i assign a breakpoint i recieve the next from OpenOCD:
accepting ‘gdb’ connection from 0
acknowledgment received, but no packet pending
Unable to set thumb software breakpoint at address 00000656 - check that memory is read/writable
Unable to set thumb software breakpoint at address 0000072c - check that memory is read/writable
Some idea of what is going wrong?
pd:
flash info 0
#0 : at91sam7 at 0x00100000, size 0x00040000, buswidth 4, chipwidth 0
0: 0x00000000 (0x4000 16kB) not protected
1: 0x00004000 (0x4000 16kB) not protected
2: 0x00008000 (0x4000 16kB) not protected
3: 0x0000c000 (0x4000 16kB) not protected
4: 0x00010000 (0x4000 16kB) not protected
5: 0x00014000 (0x4000 16kB) not protected
6: 0x00018000 (0x4000 16kB) not protected
7: 0x0001c000 (0x4000 16kB) not protected
8: 0x00020000 (0x4000 16kB) not protected
9: 0x00024000 (0x4000 16kB) not protected
10: 0x00028000 (0x4000 16kB) not protected
11: 0x0002c000 (0x4000 16kB) not protected
12: 0x00030000 (0x4000 16kB) not protected
13: 0x00034000 (0x4000 16kB) not protected
14: 0x00038000 (0x4000 16kB) not protected
15: 0x0003c000 (0x4000 16kB) not protected
at91sam7 driver information: Chip is AT91SAM7S256
Cidr: 0x270d0940 | Arch: 0x0070 | Eproc: ARM7TDMI | Version: 0x000 | Flashsize: 0x00040000
Master clock (estimated): 48054 KHz | External clock: 18432 KHz
Pagesize: 256 bytes | Lockbits(16): 0 0x0000 | Pages in lock region: 0
Securitybit: 0 | Nvmbits(2): 0 0x0
The memory is not protected, actually I can read and write it with the commands flash_erase flash_write_bank