microchip-pic-avr-solutions / microchip-iot-developer-guides-for-aws

Microchip IoT Developer Guides for AWS is a set of tutorials tailored to get started with your IoT Design, from embedded to cloud. Starting with the sandbox, you can play around with sending and receiving data to the cloud with almost no setup.
34 stars 6 forks source link

Could not open None: Port must be configured before it can be used. #11

Open jhonSalazar opened 2 years ago

jhonSalazar commented 2 years ago

Hello, I am trying to run the command ./iotprovision-bin -c aws -m mar --force but I always have the following problem

Erase WINC TLS certificate sector
Traceback (most recent call last):
   File "iotprovision-bin.py", line 3, in <module>
   File "iotprovision/iotprovision.py", line 311, in main
   File "iotprovision/provisioner.py", line 308, in aws_provision
   File "iotprovision/aws/custom_kit_provision.py", line 83, in provision
   File "iotprovision/target/fw_protocol.py", line 37, in fw_request
   File "serial/serialposix.py", line 531, in write
serial.serialutil.SerialException: Attempting to use a port that is not open
[59649] Failed to execute script iotprovision-bin

The same thing happens to me in windows or macOs, any idea how to solve it? Thank you version: iotprovision-bin-1.4.3.120.26