problem with "Data Breakpoint" window

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

Hello,

I would like to know when the value of a variable is changed. I opened the "Data Breakpoint" window and made the settings, but I got an error, saying: "Unable to set data breakpoint with size 2. Only single byte data types are supported." Please see my attachment. What is the problem?

Thank you
Senmeis

Attachment(s): 

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

Quote:
What is the problem?
Quote:
Only single byte data types are supported
So whatever you are trying to watch is a 2 bytes value I would suspect.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

You can certainly set all types of breakpoints with different conditions in the Simulator.

I do not use JTAG but I would imagine that life becomes a lot more complicated to watch a wide variable via JTAG.

You can always ask it to check for a change in the lo-byte of your variable. This is probably what you want to do anyway.

David.

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

In fact I can use it by forcing "size" to 1. But I think this tool should allow variables with more than 1 byte if the length could be configured!

Thank you
Senmeis