How retrieve USB port physical address

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

cross mob
MaFa_974161
Level 5
Level 5
100 sign-ins 50 replies posted 50 questions asked

Hello.

I'm using FX3 device.

I develop a board without EEPROM and so I use Cypress BootLoader.

It's a very flexible system because if I have a new FW release I give it to my clients

and a custom software can reset the FX3, restart BootLoader and load new release.

But I have a question.

Can I retrieve USB port physical address using CyUSB.dll ? Or I have to develop custom driver ?

0 Likes
1 Solution

Hello,

We do not have any Cypress specific APIs to retrieve the port and hub number.

Best Regards,

Yatheesh

View solution in original post

0 Likes
4 Replies
YatheeshD_36
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello,

You can use API to retrieve the USB Address of a connected cypress device. Please refer to the CyUSB.pdf section "6.4 IOCTL_ADAPT_GET_ADDRESS" present in the FX3 SDK under doc -> SuiteUSB.

Best Regards,

Yatheesh

0 Likes

I dont' want USB address,

I want this address for example Port_#0001.Hub_#0001

0 Likes

Hello,

We do not have any Cypress specific APIs to retrieve the port and hub number.

Best Regards,

Yatheesh

0 Likes
KoKo_1287401
Level 1
Level 1

I would suggest looking at the source code for USBView in the WDK.

0 Likes