2 Replies Latest reply on Nov 27, 2019 7:57 AM by ChPa_1603671

    Debug problem for firmware of CYPD3125-40 adding TUSB1046I MUX control



      I am trying to modify the firmware of the CYPD3125-40 in Notebook mode to control our Mux from TI TUSB1046I.

      I have problems debugging the firmware using the MiniProg3 and SWD jtag interface. The pins are configured correctly for SWD debug.

      I am using the PSoC Creator 4.2 to build and debug the code and test it with the CY4531 development kit.

      After programming the device I "Select Debug Target". Than I select "Attach to Running Target" to get in debug mode.

      Most of the times i get stucked to the cy_bootloader() and dont come to the main.

      Sometimes i come to the main() and can stepwise debug for some lines but than i get the message:

      Error: dbg.M0015: Debugger exited unexpectedly during run.  Encountered error (Target disconnected See output window for more information.)


      can someone help me debugging the CYPD3125-40 with the CY4531 devkit?