Hello Celeste,
Thank you for the response and items to check. I am still experiencing the issue with no operation without the debugger - here are responses to the individual items to check:
- I monitored the RESET pin during powerup with an oscilloscope, and the reset pin level always drives to +5V on POR reset (i.e. not being held in reset). There is no jumping or other visuals of the part going back into repeated resets, the line stays logic high. I can manually pull the reset line low then release (manual reset), the signal just goes to logic high and stays there
- I have also maintained power (verified) and manually pulled RESET line low then released, still no operation. I would believe this would bypass any power supply powerup rate issues.
- I have powered up the board without the debugger attached (no run state but with power applied), then physically plugged in the debugger cable (external power still applied without interruption) and viewed the FES and DES registers in the debugger, they indicate only a POR reset reason, no other faults are present. The PC is pointing to the main() entry breakpoint, I assume the debugger issues a reset at the beginning of the debug session and hence the code runs and halts at the beginning of main - but since the board has maintained power the DES and RES should still be valid from the original POR when the part hangs up.
- I am not setting up the clock at all, it is using the default clock configuration on reset as provided by the SDK project. I have also attempted to set the clock up with code to use the external crystal and PLL, and under the debugger this operates and I indeed get the higher PLL clock in the debugger just fine. But with no debugger the part is just dead, does not matter if I set up a **bleep** in the code or I just let the part default to the internal clock source present on boot.
- As far as I can measure the power supply ramp-up is within specification. I will try to bring the board up with an external power supply just to add a variable to see if there is a difference. However I would assume that once the part is powered-up then an external reset would subsequently wake it up - and if the chip was latched up hard then maintaining board power and re-hooking up the debugger would stay in a locked state, but the debugger always works.
Any other checks or verifications I can perform let me know. I am running out of ideas. Thanks