Data breakpoints

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

I'm working on a bootloader that somewhere or other is corrupting the first byte of a buffer. I have no space left to be able to insert any sort of debugging code (well maybe 2 bytes) so I need to be able to use data breakpoints.

I know AS6 doesn't have them for some INSANE reason, but I remember some old version did support them. Is anyone able to tell me the most recent version of Studio that did? I think it is probably 4.something.

Can someone at Atmel tell me why they no longer exist and if there is any plan to restore the feature.

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

The AS4.19b730 is the last I know. I have never tried AS6. The data breakpoints also work on avarice (tested, v2.9).
Here is some hint about what it is all about.
You do know that does not work on tinys?

The documentation does not mention that but you can also insert data breakpoints on explicit access of IO registers ("rcall foo" is not, "out SPL,temp" is) but for those ranged 0x20 to 0x5F you need to use data breakpoints from 0x0 to 0x3F (same addressing as for in/out).

No RSTDISBL, no fun!

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

I should have mentioned I'm working with a Mega168PA and JTAGICE-mk2.

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

Quote:
I'm working with a Mega168PA

This one is still tiny. Tinys do not support any hardware breakpoints.

No RSTDISBL, no fun!