I’m mostly new to this. Currently I’m using the ESP32 S3 Touch LCD 4.3B display.
I got a code from online and added a UI to the code.
I’m able to build and upload the code.
But when I try to use monitor option, I’m getting error as
UserSideException: Cannot configure port, something went wrong. Original message: PermissionError(13, ‘A device attached to the system is not functioning.’, None, 31)
The terminal process “C:\Users\ics.insoft1.platformio\penv\Scripts\platformio.exe ‘device’, ‘monitor’, ‘–environment’, ‘WAVESHARE-ESP-LCD’, ‘–port’, ‘COM4’” terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
UserSideException: could not open port ‘COM4’: FileNotFoundError(2, ‘The system cannot find the file specified.’, None, 2)
The terminal process “C:\Users\ics.insoft1.platformio\penv\Scripts\platformio.exe ‘device’, ‘monitor’, ‘–environment’, ‘WAVESHARE-ESP-LCD’, ‘–port’, ‘COM4’” terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
This is the error I’m getting now.
I’m not even able to upload as it’s showing the COM4 error, I put the board to boot (I press and hold the boot button and then try to upload the code the code is uploading). Before it was not like this. I tried multiple cables.
Its taking more than an Hour to build the code. Why would it be taking that much time?
Set the COM-Port in the bottom statusbar to “Auto”.
Then upload the sketch and open the serial monitor by clicking on the plug-icon in the bottom statusbar.
I’m able to change the UI and change the values on the UI by hard coding the values to the variables in the UI.
I’m trying to use can communication now.
I tried flashing some of the demo code’s it was working.
Then I switched to this code and to platform IO. Initially COM4 had no issues I was able to upload the code.
But now both monitor and upload are not working
Please follow the official instructions from Waveshare for the ArduinIDE (see the link from above)
If everything works there, show the configuration here (screenshot) so that we can transfer it to platformio.ini and make your PlatformIO projects work.