Just got my newly arrived Xplained board and aeger to learn Debugging the proper way.
Soon got into trouble after my first debug attempt.
Once I 'Stop Debugging' I could no longer re-program the ATmega328P from the Xplained board.
I was getting an error message:
A quick search on this Forum lead me to This Comment proposing to click 'Disable debugWIRE and Close'.
It worked perfectly. I am now able to re-upload a new version of my program.
So, I am wondering if this is a bug of Studio7 or Xplained board or if this is a normal behavior ?
Why would Studio7 still offer to simply 'Stop Debugging' if it is surely lead to a subsequent error on the next programming attempt.
What would be the benefit of such behavior from the system ?
Am I doing the steps correctly ? Is there another way of going from Debugging to Programming so that this error doesn't happen ?
( Some reading suggestions welcome )