Studio Simulator - Putting a Breakpoint in CRT0 or the Vector Table

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

As the topic title...how to put a breakpoint, when using the simulator, in CRT0 or on the IV table?

This topic has a solution.

#1 Hardware Problem? https://www.avrfreaks.net/forum/...

#2 Hardware Problem? Read AVR042.

#3 All grounds are not created equal

#4 Have you proved your chip is running at xxMHz?

#5 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand."

Last Edited: Sat. Jan 30, 2021 - 09:22 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Surely you just go to Disassembly view.   Focus on the IV table or CRT0 code.   Set a Breakpoint.   Re-start.

 

A subsequent rebuild and run should keep the IV Breakpoints.    I am not so sure about CRT0 because it might move with a rebuild.

 

David.

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

david.prentice wrote:

Surely you just go to Disassembly view.   Focus on the IV table or CRT0 code.   Set a Breakpoint.   Re-start.

 

That's where I was going wrong. 'Restart' isn't what you need, it's 'Reset'.

#1 Hardware Problem? https://www.avrfreaks.net/forum/...

#2 Hardware Problem? Read AVR042.

#3 All grounds are not created equal

#4 Have you proved your chip is running at xxMHz?

#5 "If you think you need floating point to solve the problem then you don't understand the problem. If you really do need floating point then you have a problem you do not understand."