You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is, I believe, primarily an issue under Windows 7 and windows 8.
If you are using a built-in USB serial board like the Leny or Fubarino, and you are communicating with it using the Serial Monitor, and then you put the board into bootloader mode without first manually closing the Serial Monitor, the Serial Monitor has a hold of the COM port, which then went away (and came back) behind the back of the Serial Monitor when you put the board in bootloader mode. This then prevents the build/download button from working, as pic32prog won't be able to open up the com port since it no longer exists.
For now, the solution is to either
A) Always remember to close the serial monitor before resetting the board in any way, including going into bootloader mode
or
B) If you get yourself into the above situation, close the serial monitor, then put the board into bootloader mode again (hold down PRG while pressing and releasing RESET, making sure to hold RESET for probably 5 seconds to allow Windows to get things straightened out). then try doing the build/program and it should work.
Ideally (and this is the feature request) the Serial Monitor would watch for devices dropping off the USB (i.e. for COM ports to go away), and then immediately close the open com port if it ever notices that the COM port it has opened up gets closed. This may not be possible under all OSes, but it sure would be nice.
The text was updated successfully, but these errors were encountered:
This is, I believe, primarily an issue under Windows 7 and windows 8.
If you are using a built-in USB serial board like the Leny or Fubarino, and you are communicating with it using the Serial Monitor, and then you put the board into bootloader mode without first manually closing the Serial Monitor, the Serial Monitor has a hold of the COM port, which then went away (and came back) behind the back of the Serial Monitor when you put the board in bootloader mode. This then prevents the build/download button from working, as pic32prog won't be able to open up the com port since it no longer exists.
For now, the solution is to either
A) Always remember to close the serial monitor before resetting the board in any way, including going into bootloader mode
or
B) If you get yourself into the above situation, close the serial monitor, then put the board into bootloader mode again (hold down PRG while pressing and releasing RESET, making sure to hold RESET for probably 5 seconds to allow Windows to get things straightened out). then try doing the build/program and it should work.
Ideally (and this is the feature request) the Serial Monitor would watch for devices dropping off the USB (i.e. for COM ports to go away), and then immediately close the open com port if it ever notices that the COM port it has opened up gets closed. This may not be possible under all OSes, but it sure would be nice.
The text was updated successfully, but these errors were encountered: