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

USB superspeed peripherals

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
AliAsgar
Moderator
Moderator 50 likes received 500 replies posted 250 replies posted
Moderator

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
MaSt_4567191
Level 4
10 likes given 5 likes given First like received
Level 4

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
AliAsgar
Moderator
Moderator 50 likes received 500 replies posted 250 replies posted
Moderator

Hi,

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

Best Regards,
AliAsgar

0 Likes