Forgive me if this has been asked before, but search isn't working for me at the moment.
How do I make data breakpoints in avr studio 5?
I'm currently using a JTAGICE mkII.
Forgive me if this has been asked before, but search isn't working for me at the moment.
How do I make data breakpoints in avr studio 5?
I'm currently using a JTAGICE mkII.
What do you mean with "data breakpoint"?
I think a breakpoint can be placed only on line with valid command.
What do you mean with "data breakpoint"?
I think (but am not sure) this is not available in AS5.
https://www.avrfreaks.net/index.p...
(that's from Atmel but the caveat is that he refers to 5.0 there - perhaps it is in 5.1 though I can't remember reading that in the release note).
Aww, Atmel get to work, you're advertising this as a feature :(
And this particular feature would have saved me days of debugging.
We have not gotten around to data breakpoints in Studio 5. AvrStudio 4 had limited support for data breakpoints though (depending on device), so you could try it if it saves you time.
You could e.g. compile in AS5, and load and debug the ELF file in AS4.
Dan
We have not gotten around to data breakpoints in Studio 5. AvrStudio 4 had limited support for data breakpoints though (depending on device), so you could try it if it saves you time.
You could e.g. compile in AS5, and load and debug the ELF file in AS4.Dan
Any plans to support data breakpoints - tracing - watchpoints to AS 5.2? Release?
AFAIK watchpoints are supported. (With the usual remark that they are not updated while the AVR is free-running).
AFAIK watchpoints are supported. (With the usual remark that they are not updated while the AVR is free-running).
I think you mean watch-points as the variables watch window?
I am confused.
From here http://sourceware.org/gdb/onlinedocs/gdb/Set-Watchpoints.html
it written that watch-point its also called data break-point. What's the difference?
What are Catchpoints?
No, I was probably wrong and "watchpoints" should be interpreted the same as "data breakpoints".
Re "catchpoints" the documentaiton you yourself link to says
You can use catchpoints to cause the debugger to stop for certain kinds of program events, such as C++ exceptions or the loading of a shared library.
Some of these makes little or no sense for 8-bit AVR work, but remember that GCC is a compiler that is aimed for many different taget architectures.
Does anyone knows if the AS6 Final or the next version (AS6.1 BETA?) will have data breakpoints and tracing features?
I can confirm that databreakpoints (that is breaking when a memory location is accessed), and trace is not going to make it into 6.0 :(
Both features are on our catch-up list.
Thanks for the reply!
To have these features with all the AVRs is ONLY with IAR AVR & AVR32 Compilers-IDEs right?
I can confirm that databreakpoints (that is breaking when a memory location is accessed), and trace is not going to make it into 6.0 :(Both features are on our catch-up list.
So I just tried out AVR Studio 6 SP2 hoping that data breakpoints had been added (I knew they were missing in 5) and I was disappointed to see that they are still not here. This means I am still stuck using AVR Studio 4 as I consider this feature a must have for detecting when the stack grows too big and starts interfering with application data (the data breakpoint feature of AVR Studio 4 and the AVR Dragon _totally_ saved me).