USBUART - Example code not work

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

cross mob
Tranzystomator
Level 1
Level 1
5 questions asked 10 sign-ins 5 replies posted

Hi,

Recently I used example code ot check how USBUART CDC works, but I can't connect to COM Port. I've got an error. Changing USB port and restart computer also not fix that issue.  It's seems to be Microsoft Error. As I was able to establish usbser.sys block this COM port, but I don't know how to unblock this port. Any suggestion?

Prusinowsky_0-1619281675988.png

Prusinowsky_1-1619281697179.png

Thanks for helping.

 

0 Likes
1 Solution
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello @Tranzystomator 

Can you please let me know if you have connected the USB port of the PSoC ( and not the kitprog USB port) to the PC?

Ekta_0-1619507086004.png

Make sure you have chosen the correct USB pins in the project.
Can you check if you are connecting to the correct COM port?

Ekta_2-1619507456024.png

 

 

After programming the PSoC device with the USBUART code example, if you go to device manager, under the PORTS section you should see the USB device as USB serial device, COM 21 in my case.

Can you try using some other terminal emulator, like tera term? I tried using the tera term and it worked for me.

Ekta_3-1619507568509.png

 

Ekta_1-1619507419562.png

Since Windows 10 has predefined drivers for the USB CDC class, I have also used the usbser.sys in my case.
Kindly let me know the exact error you are getting if the issue persists in your case.
Thanks and Regards
Ekta

 

View solution in original post

0 Likes
1 Reply
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello @Tranzystomator 

Can you please let me know if you have connected the USB port of the PSoC ( and not the kitprog USB port) to the PC?

Ekta_0-1619507086004.png

Make sure you have chosen the correct USB pins in the project.
Can you check if you are connecting to the correct COM port?

Ekta_2-1619507456024.png

 

 

After programming the PSoC device with the USBUART code example, if you go to device manager, under the PORTS section you should see the USB device as USB serial device, COM 21 in my case.

Can you try using some other terminal emulator, like tera term? I tried using the tera term and it worked for me.

Ekta_3-1619507568509.png

 

Ekta_1-1619507419562.png

Since Windows 10 has predefined drivers for the USB CDC class, I have also used the usbser.sys in my case.
Kindly let me know the exact error you are getting if the issue persists in your case.
Thanks and Regards
Ekta

 

0 Likes