Hi,
 
i start working with the SAM3S4C, but having trouble with openOCD. When I start 
debugging, the very first instructions are working fine, but after the 3rd 
instruction, its jumping acrross the code. 
 
This is my main.cpp
 
int main(void) {

   int a, i = 0;
   a = 5;
 
   for(i = 0; i <10; i++)
      a = a+5;
 
}
 
 
the first instructions (int a, i = 0; and a = 5;) are working. At the begining 
when the curser is at int a... the PC is pointing to 400107 (the next 
instruction a = 5).
When I press step into, the curser goes to a = 5 and the PC is pointing to the 
next instruction (for(i...)), but when i press step into again, it jumps into 
the adress 400d50.
 
 
Thx                                       
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to