I was working all day saturday and the USB debugger and IAR were playing fine. I made several changes to the code, downloaded and debugged several times without issue.
Today I made one or two changes to software and debugged my change one time. I had the error "Cannot write register" when I hit 'downlaod and debug" it allowed me to run once. After that when I hit reset I got the error "Stack pointer out of range" The stack pointer had something like 0xDFE after I hit reset.
I powered down and exited the debugger. Powered the target, plugged in the USBFET, and then tried to do download and debug and IAR crashed. Something about the IAR__PM.exe had a problem (not sure of hte actual name).
I tried 3 different target boards -- shut down my PC, powered back up - powered up the USBFet, powered up the Target board. Compiled my code, downloaded. Everything was fine. I stopped the debugger. Compiled my code again and when I went to "Download and debug" I now get "Could not find device" So the first time I debug it is ok but it wont connect after that. If it does then I get other issues.
Any suggestions?