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

cross mob
YongseokJeon
Level 4
Level 4
Distributor
50 replies posted 50 questions asked 25 replies posted

Hello.
I'm using psoc6 and I'm having trouble connecting to segger J-link with cypress programmer (v4.0.0.708).
The user guide states that J-link is supported, but the Probe/Kit section of the GUI cannot be activated.
Of course it works fine in CY8CKIT-062-WIFI-BT EVK.
Please let me know how to connect J-link.

Regards,
YS

0 Likes
1 Solution

Hi @YongseokJeon 

In order to use J-Link with Cypress Programmer, you need to replace the J-Link driver with the libusbK driver:

  1. Download Zadig tool from https://zadig.akeo.ie/
  2. Run zadig-2.4 executable.
  3. Select “Options > List all devices”.
  4. Select J-Link in the drop-down menu.
  5. Select “libusbK (v3.0.7.0)” driver.
  6. Click Replace Driver.

AlenAn14_0-1645100918559.jpeg

AlenAn14_1-1645100918568.png

Please note,
To use the J-Link with the native software after this modification you will have to rollback to the native J-Link driver again.

Let me know if this works.

Warm Regards
Alen

 

View solution in original post

0 Likes
5 Replies
AlenAn14
Moderator
Moderator
Moderator
500 replies posted 100 solutions authored 250 replies posted

Hi @YongseokJeon ,

Can you please provide more details on the below

1. If you are using SEGGER J-Link Base and J-Link Ultra?

2. Is the probe detected in the systems 'Device Manager'? (Please provide a screenshot of the same here)

>>Of course it works fine in CY8CKIT-062-WIFI-BT EVK.
Did you use the KitProg for this communication or segger J-Link?

Warm Regards
Alen

0 Likes
lock attach
Attachments are accessible only for community members.
YongseokJeon
Level 4
Level 4
Distributor
50 replies posted 50 questions asked 25 replies posted

Hi, AlenAn14,

Thanks for your reply. Please refer to below.

1. I'm using SEGGER J-LINK Base.

2. I attached screenshot files.

3. I used KitProg3. 

    Additionally, when I used the SEGGER J-Flsah utility, I was able to download the firmware via J-Link.

    But it is not recognized by cypress programmer.

Thanks and Regards,
YS

0 Likes

Hi @YongseokJeon 

In order to use J-Link with Cypress Programmer, you need to replace the J-Link driver with the libusbK driver:

  1. Download Zadig tool from https://zadig.akeo.ie/
  2. Run zadig-2.4 executable.
  3. Select “Options > List all devices”.
  4. Select J-Link in the drop-down menu.
  5. Select “libusbK (v3.0.7.0)” driver.
  6. Click Replace Driver.

AlenAn14_0-1645100918559.jpeg

AlenAn14_1-1645100918568.png

Please note,
To use the J-Link with the native software after this modification you will have to rollback to the native J-Link driver again.

Let me know if this works.

Warm Regards
Alen

 

0 Likes
YongseokJeon
Level 4
Level 4
Distributor
50 replies posted 50 questions asked 25 replies posted

Hi, Alen.
It works fine. Thanks for your information.

It seems to be the following reasons. Please check if it is correct.
1. The Cypress Programmer works based on openocd.
2. The OpenOCD uses the libusbk driver.

Thanks and Regards,
YS

0 Likes

HI @YongseokJeon ,

Yes, this is correct.
Glad your query is resolved and please feel free to post any queries or issues you may have on Infineon products in the community and we will be happy to help.

Thanks and Regards,
Alen Austin