AnsweredAssumed Answered

Stuck in PBE mode when leave KBOOT and jump to application code

Question asked by Kyle Yang on Oct 12, 2017
Latest reply on Nov 17, 2017 by Abhishek Vishwakarma

The design concept of application code is support USB CDC and CAN bus.
So we create a project code support CDC and the clock configuration is source from IRC48M.
After leave KBOOT and jump to application, sometime the CDC device will not show up at device manager.
So we place several GPIO to toggle LEDs to trace the critical issue and found the system is stuck in "CLOCK_SetPbeMode" while loop to check external reference clock.

But I also try that CDC function without KBOOT, always can found CDC device in device manager.
Please help check this issue and clarify the workaround steps.
Thanks.

Original Attachment has been moved to: bm.7z.zip

Original Attachment has been moved to: Kyle_MKS22FN256xxx12.mex.zip

Outcomes