Greetings:
I am helping a friend with a small battery charger project. I chose the Atmega88 for this project because it has a good mix of peripherals, memory size and physical size.
I am using Winavr 4.11 to develop the code (which I found to be very easy to use) and a combination of AVR Studio, STK500 and JTAGICE mkII for debugging.
I am having a hell of time getting AVR Studio to work with JTAGICE mkII. I have encountered the following problems:
1- The USB interface does not work on the JTAGICE mkII, even where I work (I am working on PowerPC) they are using the same thing, they can't get the USB interface to work. The host is a Dell D505 laptop.2- Perhaps my choice of ATmega88 was not the best choice because it does have a debugwire interface and not a JTAG interface. Because the debugwire is also the reset pin, one can not use the debugwire and ISP simultaneously. It is either debugwire or ISP and the chip has to be re-prgrammed for either one.
3- The latest revision to the STK500 firmware does not work with avrdude 4.4 or even 4.3. I understand that there is avrdude 5.0 beta that solves this problem but I could never find it for Windoze and I don't want to switch to Linux just to be able to use avrdude 5.0.4- The worst problem is that JTAGICE mkII either loses connection to the debugwire and ISP or can't find them and I have to unplug the serial port connection from JTAGICE mkII and connect to the STK500, reconnect the parallel programing cables on the STK500 and re-program the chip for the JTAGICE mkII to declare that it can not see the debugwire again.
5- Even at the odd time when the JTAGICE mkII sees the debugwire, I am seeing ridiculous things, F11 (step into in the AVR Studio) goes through every line of code indiscriminately after loading the .elf file.Any bright ideas besides switching to a processor with JTAG interface? Unfortunately they are at least 40 pins and more expensive and the PCB is about to be routed (not too late to change though).
Best regards,
Mostafa