I am currently trying to debug an application that has delays using the _delay_ms() routine. These delays are necessary as it will give certain components time to setup properly. The code that I am debugging is past these delays.
If I have the optimization turned off, then the delays will not work and my application will fail and restart (surprise!).
So, I was thinking that I could print out debug information to the console. What I ma calling the console is actually the output screen in atmel studio. I am debugging on an AT90USB1287 using the ATMEL ICE. The interface that I am utilizing is JTAG.
I was wondering if I could print to the debug console over the JTAGE interface? Or if that is still a no go? I was reading that I could use the OCDR register but there were some issues (see this link: https://www.avrfreaks.net/forum/d...). Since it has been sometime since AVR studio 4, I was wondering if this method has been fixed and is now viable?