1 Reply Latest reply on Jun 10, 2020 6:05 AM by RakshithM_16

    [PSOC4 4147AZS-S475]: IAR debug failed when enable ECO

    yuyu_4712591

      Hi all,

          

            I use PSOC Creator 4.3 create a demo project for 4147AZS-S475, and system clock settings as blow,

               systemClock.png

      I can use PSOC Creator 4.3 debug the demo, it's OK. Then I export the demo to IAR, but IAR debugging is failed. Errors occur while initialize system clock, if codes enable EXCO, the debug is failed.The code is shown blow,

      step1.png

      step2.png

            It's so strange, if I download code to chip using IAR, it can run well. But I can't using IAR debug the code.

            While debug failed, IAR shows CPU status FAILED,

      step3.png

           I guess, IAR can't connect to MCU when enable EXCO. How can I fix the error..

       

      Best Regards