GDB + Eclipse + ARM-USB-OCD + Interrupts = Error

Hi,

I have troubles at debugging an interrupt program :slight_smile:

I’m running a simple, small test program, which is waiting in a while(1). A timer, initialized bevore, calls it’s interrupt service routine and increments a counter. If I step through the program using F6 (Single Stepping) the debugger enters enableIRQ(); and does not come back.

Can someone help me please?!

Kind regards Michael

void DefaultISR (void) __attribute__ ((interrupt)); 
void Timer0ISR (void) __attribute__ ((interrupt)); 

unsigned int volatile gTimerTick;

void DefaultISR (void){
  while (1){} // We should never get here, if we do it is an error
}

void Timer0ISR(void) {
  gTimerTick++;
  T0IR = 1; // Clear interrupt flag
  VICVectAddr = 0xFFFFFFFF; // Acknowledge Interrupt
}

int main(void){
  VICIntEnClr = 0xFFFFFFFFL; // Disable all Ints
  VICIntSelect = 0x00000000L;
  VICDefVectAddr = (unsigned long) DefaultISR; // set interrupt vector
  
  T0MR0 = 5999; // 100 microseconds = 6.000-1 counts
  T0MCR = 3; // Interrupt and Reset on MR0
  T0TCR = 1;  // Timer0 Enable

  VICVectAddr3 = (unsigned long) Timer0ISR; // set interrupt vector
  VICVectCntl3 = 0x20 | 4;  // use it for Timer 0 Interrupt
  VICIntEnable = 0x00000010;  // enable Timer0 Interrupt
  
  VPBDIV = 1; 
  
  enableIRQ();

  while(1){}
}

I’d like to attach a log but attachments aren’t accepted…

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜Z0,40000240,4’

Debug: gdb_server.c:1095 gdb_breakpoint_watchpoint_packet():

Debug: breakpoints.c:93 breakpoint_add(): added software breakpoint at 0x40000240 of length 0x00000004

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$OK#9a’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$Z0,40000138,4#a6’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜Z0,40000138,4’

Debug: gdb_server.c:1095 gdb_breakpoint_watchpoint_packet():

Debug: breakpoints.c:93 breakpoint_add(): added software breakpoint at 0x40000138 of length 0x00000004

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$OK#9a’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$Z0,40000124,4#a1’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜Z0,40000124,4’

Debug: gdb_server.c:1095 gdb_breakpoint_watchpoint_packet():

Debug: breakpoints.c:93 breakpoint_add(): added software breakpoint at 0x40000124 of length 0x00000004

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$OK#9a’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$Z0,4000023c,4#d2’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜Z0,4000023c,4’

Debug: gdb_server.c:1095 gdb_breakpoint_watchpoint_packet():

Debug: breakpoints.c:93 breakpoint_add(): added software breakpoint at 0x4000023c of length 0x00000004

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$OK#9a’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$Z0,4000018c,4#d6’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜Z0,4000018c,4’

Debug: gdb_server.c:1095 gdb_breakpoint_watchpoint_packet():

Debug: breakpoints.c:93 breakpoint_add(): added software breakpoint at 0x4000018c of length 0x00000004

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$OK#9a’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$s#73’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜s’

Debug: gdb_server.c:1042 gdb_step_continue_packet():

Debug: gdb_server.c:1061 gdb_step_continue_packet(): step

Debug: arm7_9_common.c:1127 arm7_9_restore_context():

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining User mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: r0

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: r1

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1206 arm7_9_restore_context(): writing register 0 of mode User with value 0x00000000

Debug: arm7_9_common.c:1206 arm7_9_restore_context(): writing register 1 of mode User with value 0x00000000

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining FIQ mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining IRQ mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Supervisor mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Abort mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Undefined mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1246 arm7_9_restore_context(): writing PC with value 0x40000228

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x00000077

Debug: embeddedice.c:299 embeddedice_write_reg(): 16: 0x40000228

Debug: embeddedice.c:299 embeddedice_write_reg(): 17: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 19: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 20: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 21: 0x000000f7

Debug: target.c:444 target_call_event_callbacks(): target event 1

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 16: 0x4000018c

Debug: embeddedice.c:299 embeddedice_write_reg(): 17: 0x00000003

Debug: embeddedice.c:299 embeddedice_write_reg(): 19: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 21: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 20: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 0: 0x00000005

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: arm7_9_common.c:944 arm7_9_debug_entry(): target entered debug from ARM state

Debug: arm7_9_common.c:976 arm7_9_debug_entry(): target entered debug state in System mode

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r0: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r1: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r2: 0x00000010

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r3: 0xe0000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r4: 0xe002c000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r5: 0x7ffffe3c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r6: 0x4000012c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r7: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r8: 0x2d7a6af5

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r9: 0x08e347c1

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r10: 0x40000180

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r11: 0x4000076c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r12: 0x40000770

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r13: 0x40000760

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r14: 0x400000f8

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r15: 0x4000022c

Debug: arm7_9_common.c:1011 arm7_9_debug_entry(): entered debug state at PC 0x4000022c

Debug: target.c:444 target_call_event_callbacks(): target event 0

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$T05#b9’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$pf#d6’

Debug: arm7_9_common.c:1528 arm7_9_step(): target stepped

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜pf’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$2c020040#bb’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$s#73’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜s’

Debug: gdb_server.c:1042 gdb_step_continue_packet():

Debug: gdb_server.c:1061 gdb_step_continue_packet(): step

Debug: arm7_9_common.c:1127 arm7_9_restore_context():

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining User mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: r0

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1206 arm7_9_restore_context(): writing register 0 of mode User with value 0x00000000

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining FIQ mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining IRQ mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Supervisor mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Abort mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Undefined mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1246 arm7_9_restore_context(): writing PC with value 0x4000022c

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x00000077

Debug: embeddedice.c:299 embeddedice_write_reg(): 16: 0x4000022c

Debug: embeddedice.c:299 embeddedice_write_reg(): 17: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 19: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 20: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 21: 0x000000f7

Debug: target.c:444 target_call_event_callbacks(): target event 1

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 16: 0x4000018c

Debug: embeddedice.c:299 embeddedice_write_reg(): 17: 0x00000003

Debug: embeddedice.c:299 embeddedice_write_reg(): 19: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 21: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 20: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 0: 0x00000005

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: arm7_9_common.c:944 arm7_9_debug_entry(): target entered debug from ARM state

Debug: arm7_9_common.c:976 arm7_9_debug_entry(): target entered debug state in System mode

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r0: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r1: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r2: 0x00000010

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r3: 0xe01fc000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r4: 0xe002c000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r5: 0x7ffffe3c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r6: 0x4000012c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r7: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r8: 0x2d7a6af5

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r9: 0x08e347c1

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r10: 0x40000180

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r11: 0x4000076c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r12: 0x40000770

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r13: 0x40000760

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r14: 0x400000f8

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r15: 0x40000230

Debug: arm7_9_common.c:1011 arm7_9_debug_entry(): entered debug state at PC 0x40000230

Debug: target.c:444 target_call_event_callbacks(): target event 0

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$T05#b9’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$pf#d6’

Debug: arm7_9_common.c:1528 arm7_9_step(): target stepped

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜pf’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$30020040#89’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$s#73’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜s’

Debug: gdb_server.c:1042 gdb_step_continue_packet():

Debug: gdb_server.c:1061 gdb_step_continue_packet(): step

Debug: arm7_9_common.c:1127 arm7_9_restore_context():

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining User mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: r0

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1206 arm7_9_restore_context(): writing register 0 of mode User with value 0x00000000

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining FIQ mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining IRQ mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Supervisor mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Abort mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Undefined mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1246 arm7_9_restore_context(): writing PC with value 0x40000230

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x00000077

Debug: embeddedice.c:299 embeddedice_write_reg(): 16: 0x40000230

Debug: embeddedice.c:299 embeddedice_write_reg(): 17: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 19: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 20: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 21: 0x000000f7

Debug: target.c:444 target_call_event_callbacks(): target event 1

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 16: 0x4000018c

Debug: embeddedice.c:299 embeddedice_write_reg(): 17: 0x00000003

Debug: embeddedice.c:299 embeddedice_write_reg(): 19: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 21: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 20: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 0: 0x00000005

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: arm7_9_common.c:944 arm7_9_debug_entry(): target entered debug from ARM state

Debug: arm7_9_common.c:976 arm7_9_debug_entry(): target entered debug state in System mode

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r0: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r1: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r2: 0x00000010

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r3: 0xe01fc100

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r4: 0xe002c000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r5: 0x7ffffe3c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r6: 0x4000012c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r7: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r8: 0x2d7a6af5

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r9: 0x08e347c1

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r10: 0x40000180

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r11: 0x4000076c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r12: 0x40000770

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r13: 0x40000760

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r14: 0x400000f8

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r15: 0x40000234

Debug: arm7_9_common.c:1011 arm7_9_debug_entry(): entered debug state at PC 0x40000234

Debug: target.c:444 target_call_event_callbacks(): target event 0

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$T05#b9’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$pf#d6’

Debug: arm7_9_common.c:1528 arm7_9_step(): target stepped

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜pf’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$34020040#8d’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$s#73’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜s’

Debug: gdb_server.c:1042 gdb_step_continue_packet():

Debug: gdb_server.c:1061 gdb_step_continue_packet(): step

Debug: arm7_9_common.c:1127 arm7_9_restore_context():

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining User mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: r0

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1206 arm7_9_restore_context(): writing register 0 of mode User with value 0x00000000

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining FIQ mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining IRQ mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Supervisor mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Abort mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Undefined mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1246 arm7_9_restore_context(): writing PC with value 0x40000234

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x00000077

Debug: embeddedice.c:299 embeddedice_write_reg(): 16: 0x40000234

Debug: embeddedice.c:299 embeddedice_write_reg(): 17: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 19: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 20: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 21: 0x000000f7

Debug: target.c:444 target_call_event_callbacks(): target event 1

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 16: 0x4000018c

Debug: embeddedice.c:299 embeddedice_write_reg(): 17: 0x00000003

Debug: embeddedice.c:299 embeddedice_write_reg(): 19: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 21: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 20: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 0: 0x00000005

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: arm7_9_common.c:944 arm7_9_debug_entry(): target entered debug from ARM state

Debug: arm7_9_common.c:976 arm7_9_debug_entry(): target entered debug state in System mode

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r0: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r1: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r2: 0x00000001

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r3: 0xe01fc100

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r4: 0xe002c000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r5: 0x7ffffe3c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r6: 0x4000012c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r7: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r8: 0x2d7a6af5

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r9: 0x08e347c1

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r10: 0x40000180

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r11: 0x4000076c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r12: 0x40000770

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r13: 0x40000760

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r14: 0x400000f8

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r15: 0x40000238

Debug: arm7_9_common.c:1011 arm7_9_debug_entry(): entered debug state at PC 0x40000238

Debug: target.c:444 target_call_event_callbacks(): target event 0

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$T05#b9’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$pf#d6’

Debug: arm7_9_common.c:1528 arm7_9_step(): target stepped

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜pf’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$38020040#91’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$s#73’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜s’

Debug: gdb_server.c:1042 gdb_step_continue_packet():

Debug: gdb_server.c:1061 gdb_step_continue_packet(): step

Debug: arm7_9_common.c:1127 arm7_9_restore_context():

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining User mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: r0

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1206 arm7_9_restore_context(): writing register 0 of mode User with value 0x00000000

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining FIQ mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining IRQ mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Supervisor mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Abort mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Undefined mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1246 arm7_9_restore_context(): writing PC with value 0x40000238

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x00000077

Debug: embeddedice.c:299 embeddedice_write_reg(): 16: 0x40000238

Debug: embeddedice.c:299 embeddedice_write_reg(): 17: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 19: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 20: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 21: 0x000000f7

Debug: target.c:444 target_call_event_callbacks(): target event 1

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 16: 0x4000018c

Debug: embeddedice.c:299 embeddedice_write_reg(): 17: 0x00000003

Debug: embeddedice.c:299 embeddedice_write_reg(): 19: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 21: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 20: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 0: 0x00000005

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: arm7_9_common.c:944 arm7_9_debug_entry(): target entered debug from ARM state

Debug: arm7_9_common.c:976 arm7_9_debug_entry(): target entered debug state in System mode

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r0: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r1: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r2: 0x00000001

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r3: 0xe01fc100

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r4: 0xe002c000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r5: 0x7ffffe3c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r6: 0x4000012c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r7: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r8: 0x2d7a6af5

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r9: 0x08e347c1

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r10: 0x40000180

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r11: 0x4000076c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r12: 0x40000770

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r13: 0x40000760

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r14: 0x400000f8

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r15: 0x4000023c

Debug: arm7_9_common.c:1011 arm7_9_debug_entry(): entered debug state at PC 0x4000023c

Debug: target.c:444 target_call_event_callbacks(): target event 0

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$T05#b9’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$pf#d6’

Debug: arm7_9_common.c:1528 arm7_9_step(): target stepped

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜pf’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$3c020040#bc’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$z0,40000240,4#c0’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜z0,40000240,4’

Debug: gdb_server.c:1095 gdb_breakpoint_watchpoint_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$OK#9a’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$z0,40000138,4#c6’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜z0,40000138,4’

Debug: gdb_server.c:1095 gdb_breakpoint_watchpoint_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$OK#9a’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$z0,40000124,4#c1’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜z0,40000124,4’

Debug: gdb_server.c:1095 gdb_breakpoint_watchpoint_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$OK#9a’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$z0,4000023c,4#f2’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜z0,4000023c,4’

Debug: gdb_server.c:1095 gdb_breakpoint_watchpoint_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$OK#9a’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$z0,4000018c,4#f6’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜z0,4000018c,4’

Debug: gdb_server.c:1095 gdb_breakpoint_watchpoint_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$OK#9a’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m4000023c,4#89’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m4000023c,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x4000023c, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x4000023c, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$020000eb#e9’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m40000180,4#5a’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m40000180,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x40000180, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x40000180, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$0dc0a0e1#4e’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m40000184,4#5e’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m40000184,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x40000184, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x40000184, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$00d82de9#30’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m40000188,4#62’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m40000188,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x40000188, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x40000188, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$04b04ce2#24’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m4000018c,4#8d’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m4000018c,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x4000018c, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x4000018c, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$fe3ee0e3#90’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m40000190,4#5b’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m40000190,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x40000190, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x40000190, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$0b3043e2#f3’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m40000194,4#5f’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m40000194,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x40000194, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x40000194, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$0020e0e3#ef’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m40000198,4#63’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m40000198,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x40000198, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x40000198, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$002083e5#c7’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m4000019c,4#8e’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m4000019c,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x4000019c, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x4000019c, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$ff3ee0e3#91’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001a0,4#83’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001a0,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001a0, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001a0, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$033043e2#c4’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001a4,4#87’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001a4,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001a4, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001a4, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$0020a0e3#eb’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001a8,4#8b’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001a8,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001a8, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001a8, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$002083e5#c7’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001ac,4#b6’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001ac,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001ac, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001ac, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$3f3de0e3#5d’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001b0,4#84’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001b0,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001b0, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001b0, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$0b3043e2#f3’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001b4,4#88’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001b4,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001b4, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001b4, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$88209fe5#0b’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001b8,4#8c’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001b8,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001b8, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001b8, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$002083e5#c7’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001bc,4#b7’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001bc,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001bc, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001bc, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$0e22a0e3#22’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$pb#d2’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜pb’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$6c070040#c4’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$qL1160000000000000000#55’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜qL1160000000000000000’

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$#00’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$qC#b4’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜qC’

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$#00’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜$p0#a0’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p0’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$00000000#80’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p1#a1’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p1’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$00000000#80’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p2#a2’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p2’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$01000000#81’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p3#a3’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p3’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$00c11fe0#20’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p4#a4’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p4’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$00c002e0#ea’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p5#a5’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p5’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$3cfeff7f#ca’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p6#a6’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p6’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$2c010040#ba’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p7#a7’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p7’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$00000000#80’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p8#a8’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p8’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$f56a7a2d#60’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p9#a9’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p9’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$c147e308#ff’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$pa#d1’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜pa’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$80010040#8d’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$pc#d3’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜pc’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$70070040#92’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$pd#d4’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜pd’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$60070040#91’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$pe#d5’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜pe’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$f8000040#c2’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p10#d1’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p10’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$000000000000000000000000#80’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p11#d2’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p11’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$000000000000000000000000#80’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p12#d3’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p12’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$000000000000000000000000#80’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p13#d4’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p13’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$000000000000000000000000#80’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p14#d5’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p14’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$000000000000000000000000#80’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p15#d6’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p15’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$000000000000000000000000#80’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p16#d7’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p16’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$000000000000000000000000#80’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p17#d8’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p17’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$000000000000000000000000#80’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p18#d9’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p18’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$00000000#80’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$p19#da’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜p19’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$df000060#f0’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜$Hc0#db’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜Hc0’

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$#00’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$s#73’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜s’

Debug: gdb_server.c:1042 gdb_step_continue_packet():

Debug: gdb_server.c:1061 gdb_step_continue_packet(): step

Debug: arm7_9_common.c:1127 arm7_9_restore_context():

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining User mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: r0

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: r1

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1206 arm7_9_restore_context(): writing register 0 of mode User with value 0x00000000

Debug: arm7_9_common.c:1206 arm7_9_restore_context(): writing register 1 of mode User with value 0x00000000

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining FIQ mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining IRQ mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Supervisor mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Abort mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1143 arm7_9_restore_context(): examining Undefined mode

Debug: arm7_9_common.c:1157 arm7_9_restore_context(): examining dirty reg: pc

Debug: arm7_9_common.c:1246 arm7_9_restore_context(): writing PC with value 0x4000023c

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x00000077

Debug: embeddedice.c:299 embeddedice_write_reg(): 16: 0x4000023c

Debug: embeddedice.c:299 embeddedice_write_reg(): 17: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 19: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 20: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 21: 0x000000f7

Debug: target.c:444 target_call_event_callbacks(): target event 1

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 16: 0x4000018c

Debug: embeddedice.c:299 embeddedice_write_reg(): 17: 0x00000003

Debug: embeddedice.c:299 embeddedice_write_reg(): 19: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 21: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 20: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 0: 0x00000005

Debug: embeddedice.c:299 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:299 embeddedice_write_reg(): 11: 0x00000000

Debug: embeddedice.c:299 embeddedice_write_reg(): 13: 0x000000f7

Debug: embeddedice.c:299 embeddedice_write_reg(): 12: 0x00000100

Debug: arm7_9_common.c:944 arm7_9_debug_entry(): target entered debug from ARM state

Debug: arm7_9_common.c:976 arm7_9_debug_entry(): target entered debug state in System mode

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r0: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r1: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r2: 0x00000001

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r3: 0xe01fc100

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r4: 0xe002c000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r5: 0x7ffffe3c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r6: 0x4000012c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r7: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r8: 0x2d7a6af5

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r9: 0x08e347c1

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r10: 0x40000180

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r11: 0x4000076c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r12: 0x40000770

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r13: 0x40000760

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r14: 0x40000240

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r15: 0x4000024c

Debug: arm7_9_common.c:1011 arm7_9_debug_entry(): entered debug state at PC 0x4000024c

Debug: target.c:444 target_call_event_callbacks(): target event 0

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$T05#b9’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$pf#d6’

Debug: arm7_9_common.c:1528 arm7_9_step(): target stepped

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜pf’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$4c020040#bd’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m4000024c,4#8a’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m4000024c,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x4000024c, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x4000024c, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$0dc0a0e1#4e’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$pd#d4’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜pd’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$60070040#91’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$pe#d5’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜pe’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$40020040#8a’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m40000240,4#57’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m40000240,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x40000240, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x40000240, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$feffffea#29’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m40000180,4#5a’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m40000180,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x40000180, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x40000180, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$0dc0a0e1#4e’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m40000184,4#5e’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m40000184,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x40000184, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x40000184, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$00d82de9#30’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m40000188,4#62’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m40000188,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x40000188, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x40000188, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$04b04ce2#24’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m4000018c,4#8d’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m4000018c,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x4000018c, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x4000018c, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$fe3ee0e3#90’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m40000190,4#5b’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m40000190,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x40000190, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x40000190, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$0b3043e2#f3’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m40000194,4#5f’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m40000194,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x40000194, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x40000194, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$0020e0e3#ef’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m40000198,4#63’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m40000198,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x40000198, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x40000198, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$002083e5#c7’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m4000019c,4#8e’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m4000019c,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x4000019c, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x4000019c, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$ff3ee0e3#91’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001a0,4#83’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001a0,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001a0, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001a0, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$033043e2#c4’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001a4,4#87’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001a4,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001a4, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001a4, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$0020a0e3#eb’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001a8,4#8b’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001a8,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001a8, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001a8, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$002083e5#c7’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001ac,4#b6’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001ac,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001ac, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001ac, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$3f3de0e3#5d’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001b0,4#84’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001b0,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001b0, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001b0, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$0b3043e2#f3’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001b4,4#88’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001b4,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001b4, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001b4, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$88209fe5#0b’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001b8,4#8c’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001b8,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001b8, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001b8, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$002083e5#c7’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$m400001bc,4#b7’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜m400001bc,4’

Debug: gdb_server.c:834 gdb_read_memory_packet(): addr: 0x400001bc, len: 0x00000004

Debug: arm7_9_common.c:1676 arm7_9_read_memory(): address: 0x400001bc, size: 0x00000004, count: 0x00000001

Debug: embeddedice.c:203 embeddedice_read_reg_w_check(): 1

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$0e22a0e3#22’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$pb#d2’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜pb’

Debug: gdb_server.c:680 gdb_get_register_packet():

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$6c070040#c4’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$Z0,40000240,4#a0’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜Z0,40000240,4’

Debug: gdb_server.c:1095 gdb_breakpoint_watchpoint_packet():

Debug: breakpoints.c:93 breakpoint_add(): added software breakpoint at 0x40000240 of length 0x00000004

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$OK#9a’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$Z0,40000138,4#a6’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜Z0,40000138,4’

Debug: gdb_server.c:1095 gdb_breakpoint_watchpoint_packet():

Debug: breakpoints.c:93 breakpoint_add(): added software breakpoint at 0x40000138 of length 0x00000004

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$OK#9a’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$Z0,40000124,4#a1’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜Z0,40000124,4’

Debug: gdb_server.c:1095 gdb_breakpoint_watchpoint_packet():

Debug: breakpoints.c:93 breakpoint_add(): added software breakpoint at 0x40000124 of length 0x00000004

Debug: gdb_server.c:177 gdb_put_packet(): sending packet β€˜$OK#9a’

Debug: gdb_server.c:124 gdb_get_char(): received β€˜+$Z0,4000023c,4#d2’

Debug: gdb_server.c:239 gdb_get_packet(): character: β€˜$’

Debug: gdb_server.c:1237 gdb_input(): recevied packet: β€˜Z0,4000023c,4’

Debug: gdb_serve

Do You have the function enableIRQ() in details?

When Your code is running in user mode it is not allowed to change the I and F bits in the CPSR.

So if You want to control them - enable/disable IRQ and FIQ - You must change to any of the privileged modes, change the bits and come back. It could be done by an SWI interrupt call, when disabling/enabling in implemented in the SWI handler.

If You don’t want to change these bits in Your code, just interrupts to be enabled then have a look at Your Startup.s or crt.s. In the startup code, where You sets up the stack pointers for different modes, You also initialize the CPSR for all these modes. For the last, user mode do not set I_BIT and F_BIT, so interrupts will be enabled by default. You can than disable/enable interrups using VIC.

focus:
I’m running a simple, small test program, which is waiting in a while(1). A timer, initialized bevore, calls it’s interrupt service routine and increments a counter. If I step through the program using F6 (Single Stepping) the debugger enters enableIRQ(); and does not come back.

VPBDIV = 1;

enableIRQ();

while(1){}