Failed to connect (Port is not open)
-
@crumble Reconfiguring P0/P1 should not affect the cisibility as COM port. The UART/USB bridge should always be registered by Windows as such, even is the ESP32 is not connected to it. So I still guess it's a driver problem. Try to reinstall the USB driver from the vendor's web site: http://www.ftdichip.com/Drivers/VCP.htm
-
@mj have you changed boot.py? You need these lines in it:
'''
from machine import UARTuart = UART(0, baudrate=115200)
os.dupterm(uart)
'''And the pins P0, P1 shall not be used by your hardware extensions or reconfigured in your program.
-
@robert-hh Thanks for replying. I have try for another usb cable and port instead but the problem is still the same.
-
@mj I understand that it worked before. Did you change anything in the set-up, even such a trivial thing like the USB cable or the USB port you used?
-
@robert-hh i have tried to install the driver and done for the step but the problem is still there showing 0 serial port. How can i fix it?
How can i fix it? Hopefully can solve this in a very short time, need it urgently.
-
@mj You may need a driver. There was discussion here:
https://forum.pycom.io/topic/1291/solved-pytrack-usb-driver
and here:
https://forum.pycom.io/topic/1840/pytrack-guidelines
-
Hi @robert-hh , i checked in device manager it only showing pytrack without the COM port number and i have no program running on the same port.
Any ideas on solving this problem? I have no problem to connect my lopy and expansion board but pytrack together with lopy can not work for it.
-
@mj a) Did you check in the device manager, which port is actually used?
b) Is another program running wich uses this port?