IAR EWAVR and LiveWatch window

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

As u know, IAR EWAVR C-CPY debugger do not support LiveWatch window while working through Dragon driver. This is trouble for me. I cannot find any way to view a set of variables dynamically (as in AVR studio). How to fix?

IV

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

I cannot find any way to view a set of variables dynamically (as in AVR studio).

You cannot in AVR Studio either - it only updates watch windows and register views when the processor stops. True it has that "toy" mode where it does "auto step" so there are about 10 stops/starts per second which gives the impression of this happening but that is just that - a toy - it's of little use for serious debugging.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am not sure that Studio supports a LiveWatch anyway.

The AVR can only run at full speed until it hits a breakpoint. Once stopped, the debugger can download any registers, memories that it wants to update its windows.

You certainly notice the time involved for an xmega to copy data over the JTAG.

Any 'live' or animation will involve running for a number of cycles, stopping, dumping, running ...

This can look quite nice but is nothing like a real data transfer while running at full speed.

In answer to your C-SPY question, I am sure you can set up a run, stop, dump cycle. But I have no experience of it.

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

OK, is it possible to use macros and log breakpoints to make a "toy"? How to edit breakpoint properties for this?

IV

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Are you talking about a "trace"? No AVR Studio has ever had this except when using a real ICE such as ICE50.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
Are you talking about a "trace"? No AVR Studio has ever had this except when using a real ICE such as ICE50.
For simple projs all we need to debugging - in AVR Studio like mode: set up a run, stop, dump, cycle. How we will make it in EWAVR for a set of vars, for example in Watch window?

IV

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

But both debuggers are identical in that respect? Have you actually USED the IAR debugger??