My ATMEL AVRDRAGON started responding with “bad response to enter progmode” – Unpluging the device and rebooting the computer didn’t solve the problem.
I have seen this error before however I only remembered when I found the solution again – the firmware on the dragon needs to be reflashed – I’m sure there must be another way but this seems to fix it – Hence why I am making a note of it here before it happens again.
I normally use a Linux System when developing AVR software however it is the AVRDRAGON’s firmware that needs to be re-flashed and the tool is only available on windows. Luckily I still have an old Windows machine around with Atmel Studio 7 installed.
Open up a command prompt on a Windows System containing Atmel Studio 7 – it will probably work with other versions but you will have to update the paths.
cd "c:\Program Files (x86)\Atmel\Studio\7.0\atbackend"
atfw -t avrdragon -a ..\tools\AVRDragon\dragon_fw.zip
All done – the AVRDRAGON should be working normally again.