Speeding down the system clock during debug session problem

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

Hi all,

anyone noticed following behaviour in Studio 5 and 6:

During runtime the software is switching between 4 and 1 MHz on internal clock. This works fine as long as there isn't any breakpoint near the "switch to 1 MHz routine". If I stop before the function and try to step over that function or try to break directly after the function, the debugger looses his debug connection and just jumps around in the code (the port register window is also trashed). Speed up to 4MHz works fine, even when breaking on it and stepping over.

While running without breakpoints, everything seems to be cool.
I never had this problem with AVR Studio 4. (I imported the Studio 4 project as it is)

The JTAG ICEII clock was at 1MHz and I also tested 100kHz.

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

OK,it seems that it happens when I have a studio 4 project opened before or in parallel.
As long as I don't use them both together or don't use a studio 4 project between computer startup and the usage of studio 5/6, everything is fine.