80 likes | 186 Views
Building Sample Projects LAB. More Debugging Details Build and Test the Projects of your Choice. More on Debugging – Breakpoints. NET+OS supports both software and hardware breakpoints. Software breakpoints (instruction fetches) are only possible while debugging from RAM
E N D
Building Sample Projects LAB More Debugging Details Build and Test the Projects of your Choice
More on Debugging – Breakpoints • NET+OS supports both software and hardware breakpoints. • Software breakpoints (instruction fetches) are only possible while debugging from RAM • Actual instruction is replaced with a special bit pattern that forces the ARM into debug mode. • Unlimited number of software breakpoints available. • Hardware breakpoints (data accesses) are possible while debugging from RAM or ROM. • Triggered by particular address access. • Maximum of one hardware breakpoint at a time. (Green Hills Limitation)
Software Breakpoints • Adding a software breakpoint takes one click!
Hardware Breakpoints • Hardware breakpoints installed via entering address or symbol name, r/w/x.
ThreadX Tools • Multi-2000 has a number of specific tools for debugging and analyzing ThreadX.
Build and Test Project(s) • Choose a project from \NETOSx\src\examples; must not require resources not available here • Build, download, and run the “debug” version • Experiment with breakpoints, watching variables, etc.