Debugging with AVR JTAGICE

alexanderbaranov_at_hotmail.com
Date: 12/28/04


Date: 28 Dec 2004 10:10:48 -0800

Hi All.
I decided to enhance my tools and bought Olimex AVR JTAG ICE.
To make sure that all the connections between my board with mega128
processor and emulator are good, I successfully programmed it through
JTAG port. I could also, verify and read fuses.

I made simple program with two cycles, got coff-file, loaded it to AVR
studio in software emulation mode and made sure that AVR studio (ver.
4.10) understands it and I can simulate the C-code.

After that I tried to open the coff-file in JTAG ICE mode. It was read
but it gave me following messages:

Loaded plugin STK500
Loaded partfile: C:\Program Files\Atmel\AVR Tools\PartDescriptionFiles\
Loaded objectfile: C:\WinAVR_sos1\examples\demo\demo.cof
Error reading memory IO Address:0 Size:64
Error reading memory REGISTERS Address:0 Size:32
Error reading memory SRAM Address:96 Size:160

After that I could not step the program. Studio either hung up or gave
me error messages.

I am sure that I miss something in settings or configurations. Could
somebody give an advice?
PS Sorry for posting here but not to avrfreaks, but avrfreaks seem to
have died for a long time.
Thanks, Alex.



Relevant Pages

  • Re: AVR ADC multiplexer
    ... you should always step through all your code and test all execution ... I use the AVR JTAG ICE Mk II in my XP environment but I see reports on ... "Program and debug your Atmel AVR Microcontroller project with our ...
    (comp.arch.embedded)
  • Re: AVR ADC multiplexer
    ... Bob wrote: ... I use the AVR JTAG ICE Mk II in my XP environment but I see reports on ... I don't know anything about the futurlec box, but I can report that WniXP in Parallels runs AVR Studio and connects to the AVR JTAG ICE MkII with no problems at all. ...
    (comp.arch.embedded)
  • Re: AVR ADC multiplexer
    ... I use the AVR JTAG ICE Mk II in my XP environment but I see reports on ... "Program and debug your Atmel AVR Microcontroller project with our ... I don't know anything about the futurlec box, but I can report that WniXP in Parallels runs AVR Studio and connects to the AVR JTAG ICE MkII with no problems at all. ...
    (comp.arch.embedded)
  • Re: AVR compilers
    ... > CodeVision C for AVR ... You have JTAG ICE ... Download trial version from IAR webpage and they give you new trial license ... The next tool is GCC for AVR with Visual Micro Lab IDE. ...
    (comp.arch.embedded)
  • Re: avr butterfly and jtag
    ... > to compile and load programs into it using WinAVR, ... Jtag ICE can debug the target. ... but the Butterfly only takes up to 4.5 volts external power? ...
    (comp.arch.embedded)