How to use J-LINK to debug FX3?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
waxi_1305956
Level 3
Level 3

Hi.,i use the j-link to debug the FX3,but it can not enter the CyU3PKernelEntry ();How can i debug enter the thread_enter function?

0 Likes
1 Solution

Hi,

CyU3PKernelEntry is not a non-returnable call. Instead of stepping into this API, try stepping over it.

Best Regards,
AliAsgar

View solution in original post

0 Likes
3 Replies
Anonymous
Not applicable

You can go through EzUsbSuite.pdf file given with the SDK

   

>> C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\doc\firmware

0 Likes

You mean EzUsbSuite_UG.pdf? I cannot find and KernelEntry keyword in the document

As soon as I step into CyU3PKernelEntry what happen is

...

Read 4 bytes @ address 0x40004C7C (Data = 0xE3A03000)

Reading 64 bytes @ address 0x10001FC0

Setting breakpoint @ address 0x40004C7C, Size = 4, BPHandle = 0x0005

Starting target CPU...

ERROR: Bad JTAG communication: Write to IR: Expected 0x1, got 0x0 (TAP Command : 2) @ Off 0x5.

...

i.e. the JTAG communication

0 Likes

Hi,

CyU3PKernelEntry is not a non-returnable call. Instead of stepping into this API, try stepping over it.

Best Regards,
AliAsgar

0 Likes