Please share the following information:
1. Screenshot of Main, Debugger and Startup Tabs of the Debug Configurations.
2. Where exactly the communication is breaking? Is it at CyU3PDeviceInit(NULL); call or is it anywhere else?
You can also try doing the following:
1. Put a break point at application define function (CyFxApplicationDefine)
2. Otherone at Thread_Entry function (for example - UVCAppThread_Entry in UVC An75779 firmware )
Thank you a lot for your answer.
Adding the breakpoints as you recommended has solved the problem. I'm now able to use the JTAG correctly and run the program step by step.
Why adding theses breakpoints enable the debug mode to run correctly please ? I don't really get it.
1 of 1 people found this helpful
As mentioned in the following thread,
CyU3PKernelEntry () is a non return call, you are not supposed to do Step into it. After setting the above breakpoints, if stepover is done at kernelentry, it will take you to Application Define. Then it will take you to Thread_Entry.