Hellow
HW: LPC2478ARM TDMIS + Olimex USB ARM adapter
Soft: OpenOCD 0.4.0 + latest yagarto (arm-none-eabi-gdb v 4.5.1) + Codeblocks (The 12 september 2010 build (6583) DEBUGGER BRANCH)
Seems I can not put breakpoints in RAM
then addres is devided by two but not by 0x04
because
one 2byte thumb instruction can be unaligend by aling(4)
for examle breakpoint at 0x400000 – can bee set
for examle breakpoint at 0x400002 – can not bee set
for examle breakpoint at 0x400004 – can bee set
for examle breakpoint at 0x400006 – can not bee set
for examle breakpoint at 0x400008 – can bee set
for examle breakpoint at 0x40000a – can not bee set
and so on
OpenOCD writes that it CANNOT SET BREAK POINT (INKNOWN ERROR)
GDB writes what break point cannot be set
and it is error reading at 0x40002 adress
may be somefing is missing in cofiguration ???
plaing with gdb options
gdb_breakpoint_override soft
and
gdb_memory_map (‘enable’|‘disable’)
does not do any result
two hardware breakpoint worked on flash but RAM breakpoint are not worked
this internal memory is readed by openocd via jtag interfase -good
memory is dumpted at the adress range of 0x4000…
set mem inaccessible-by-default off
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 dcc_downloads enable
monitor arm7_9 fast_memory_access enable
set remote hardware-watchpoint-limit 2
set remote hardware-breakpoint-limit 2
monitor reset init
monitor halt
monitor soft_reset_halt
file RTOSDemo.elf
load
monitor soft_reset_halt