First off: I am a SAM newbee so there may be very something fundamental i have missed.
I am trying to get the uC on a custom board to do something basic like switch gpio, but the program does not reach the first breakpoints on the most basic sw for some unknown reason
If i pause the uC and step around in the disassembly that pops up the cpu is running code from 204000F2-20400324 in a continues loop, so i am guessing it is waiting/checking something before it will start main()
About the software:
I have tried various minimal sw from atmel studio, but the result it the same
New project->GCC C executable Project->Select ATSAME70Q21->Press Alt+f5 (Start debugging and break)
Programming settings is set to boot from flash
The loading of the software into the uC is done without any error/warnings, but after that the program does not get to the first breakpoint :(
About the board:
The board does not have any external flash/ram
The 3.3v power looks stable using a scope
It has an external crystall
About the debugger setup
A am using atmel studio 7, connected to the board using atmel-ice using SWD
Using swd i can read device signature and other information without any problems, so i think that part is okay.
Any help will be appropriated.
Not sure what information is needed so just shout out if something is missing