1 Reply Latest reply on Oct 21, 2019 3:11 PM by JoYa_4324706

    Cy_SysClk_PllManualConfigure return error when using Keil debugger


      Hi all,


      I am using CY8CPROTO-063-BLE board and had some issue with clock settings. I converted my project to Keil and it ran into the forever loop in CyClockStartupError() and never entered into main().


      It seems that the problem occurs when Cy_SysClk_PllManualConfigure() was called in ClockInit(). It returns error code 0x004A0003 and jumps to CyClockStartupError().


      The code works fine without any debugger or using PSoC Creator's GDB debugger, but it fails using Keil MDK debugging. Is there any setting needed to be done in order to debug using Keil?


      This is my clock settings for FLL/PLL.


      Thank you!