I'm making the jump from 8 bit AVR controllers to the SAM series of microcontrollers and I'm still trying to fill in knowledge gaps. I prefer to go with the baremetal C approach rather than the ASF files so I'm working on sorting through the millions of sub calls of the ASF to get to the core register calls so I can actually use the datasheet.
I'm working with the SAM E70 development board and opened a project called "IOPORT_EXAMPLE3", which basically reads the value of the button and displays it on the LED. Pretty straight easy project that should take 5 minutes on an 8 bit AVR but apparently, it's a lot more complicated to do something this basic on the SAM controllers (at least in terms of setting up the clocks, but that's probably to be expected).
Anyway, when trying to dive into the code, I tried to put a few breakpoints in and it doesn't appear to let me set breakpoints on them (it says breakpoint unable to be hit):
Are you unable to set breakpoints on ASF's or is this likely an optimization setting related to this project? Any help you can give me to help dissect this a bit further would be appreciated! I'm actually able to follow the "go to implementation" to find where the code calls go but I'd like to understand why my debug mode doesn't appear to want to let me debug anything of value.