Kindly refer my post second recommendation on this thread. How to debug cypd3135 in cy4531?
The way you debug is difficult to support, since you are using Bootloader +application project. If you would like to debug it with miniProg3, please kindly use no_boot project in your workspace.
I was debugging with the noboot project and this is where I was running into problems. I was able to step through to a certain point, but then it crashed. It sounds like the UART debugger is more what I am looking for anyways as I can receive information as the PD negotiations are happening. Is this correct? Can you point me into the direction of where to find/ how to implement the UART debug tool.
Also, I need support on my other problem. I have loaded a single PDO into the CY4532 EVK and noticed that the there is a hard reset that occurs on the CC line after PD negotiations have taken place and the current draw is as expected. This reset lasts for about a second and the the PD devices renegotiate with no problem. I am wondering why this could be happening.
My setup is as follows: CY4532 EVK with 5V/3A Source PDO with iPad Pro 11" 3rd Generation.
After negotiations are complete, there is a hard reset. After a period of time, the negotiation takes place again the EVK works as expected. I have included my CC log describing this behavior.
I have tracked down what I believe to be the piece of code being called to display the hard reset.
/* Start bad sink timer */
timer_start(port, APP_BAD_SINK_TIMEOUT_TIMER, APP_AME_TIMEOUT_TIMER_PERIOD, app_bad_sink_timeout_cbk);