I have just retried programming the chip and debugging as follows:
- Set project properties to Alway program, compiled the code.
- Reset the chip and hit debug to upload the code.
- Once complete I reset the properties to Assume programmed, reset the chip and then pressed F5.
Doing this generates a SIGINT exception and the source windows shows the breakpoint in xPortGetCoreID method.
If I run without the debugger attached and check the output on the COM port I get the following message:
Guru Meditation Error of type IllegalInstruction occurred on core 0. Exception was unhandled.
along with a register dump and traceback. The chip then enters a cycle of software resets as the same error is generated over and over again.
BTW – I’m using a Segger J-Link EDU.
Regards
Mark