Pymakr can't connect to my board
-
Hi all,
I have a LoPy4 and a Pytrack board. Yesterday everything was fine with them, and I could send messages over Sigfox. However, something then changed (I'm not sure what) and now I can't connect to my board anymore. I keep getting the following message:
Failed to connect (Error: Port is not open)
I have the correct port in Pymakr settings. The LED on my LoPy flashes blue every 4 seconds when plugged in. Nothing is sent to Sigfox anymore
I've put my Pytrack in DFU mode to reinstall firmware and I've used the Pycom firmware upgrade tool for the LoPy, still nothing...
Can anyone help? I don't know what is left to try.
Thanks
-
Incase anyone else has this problem I managed to solve it. The problem was with my code. boot.py was set to launch main.py but there was a problem with main.py causing the connection to time out. The solution (which I found by accident) was to ctrl+c in the terminal window to kill main.py. It connected fine after that!