This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem using J-Link while debugging

Hi,
I have an AT91SAM9260 and use a segger J-Link for HW-debugging. The problem is, that debugging does only work on every second time.
That means, if I want to debug, I click onto start/stop debugging, wait for the debugger to load the code into external RAM and then the program counter is somewhere in the program but the main or I get an error "cannot stop arm device".
On the second try (after I switch off and on power of the device) debugging works fine.