. Variables and constants in RAM (global, static), used 28008 / 80192 bytes (34%)
║ SEGMENT BYTES DESCRIPTION
╠══ DATA 1496 initialized variables
╠══ RODATA 920 constants
╚══ BSS 25592 zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 59143 / 65536 bytes (90%)
║ SEGMENT BYTES DESCRIPTION
╠══ ICACHE 32768 reserved space for flash instruction cache
╚══ IRAM 26375 code in IRAM
. Code in flash (default, ICACHE_FLASH_ATTR), used 231620 / 1048576 bytes (22%)
║ SEGMENT BYTES DESCRIPTION
╚══ IROM 231620 code in flash
esptool.py v3.0
Serial port COM11
A fatal esptool.py error occurred: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
Error while setting serial port parameters: 115,200 N 8 1
I moved your topic to an appropriate forum category @ershithvaran.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
If it isn't clear, alternatively you can provide the link to where you bought the board from and we'll see if we can determine the chip from the product listing.
When we investigated reports from some other users who experienced this "Error while setting serial port parameters" error when attempting to upload to ESP8266 boards with the WCH CH340 USB chip, it was found that the problem only occurs when using the latest version of the CH340 driver.
The affected users have reported that doing a "roll back" to an older version of the driver was an effective workaround. You can give that a try.
Select View > Devices by type from the Device Manager menus.
Open the "View" menu.
If there is a ✓ to the left of the "Show hidden devices" menu item, click on "Show hidden devices" to disable it.
Open the "Ports (COM & LPT)" section of the Device Manager tree.
You should see a port identified as "USB-SERIAL CH340 (COMn)" under the "Ports (COM & LPT)" section (where "COMn" is some serial port e.g., COM4). Double click on that item.
The "USB-SERIAL CH340 (COMn) Properties" dialog will open.
Select the "Driver" tab of the "USB-SERIAL CH340 (COMn) Properties" dialog.
You will see a "Roll Back Driver" button in the dialog. If it is not clickable, perform the following instructions:
Click the "Update driver" button.
An "Update Drivers Device - USB-SERIAL CH340 (COMn)" dialog will open.
Click on "Search automatically for drivers" in the "Update Drivers Device - USB-SERIAL CH340 (COMn)" dialog.
You should now see the driver installation wizard update the driver. Wait for the update to finish, as indicated by the message "Windows has successfully updated your drivers" in the dialog. It is possible you will instead see the message "The best drivers are already installed". If so, please stop following the instructions here and reply on the forum thread to let me know. I'll provide alternative instructions you can follow.
Click the "Close" button in the "Update Drivers Device - USB-SERIAL CH340 (COMn)" dialog.
The dialog will close.
Click the "Roll Back Driver" button in the "USB-SERIAL CH340 (COMn) Properties" dialog.
The "Driver Package rollback" dialog will open.
Click the radio button next to "My apps don't work with this driver" in the "Driver Package rollback" dialog .
Click the "Yes" button.
The "Driver Package rollback" dialog will close.
Click the "Close" button in the "USB-SERIAL CH340 (COMn) Properties" dialog.
Now start Arduino IDE again and repeat whatever you were doing before when you encountered that error before. Hopefully this time you will not encounter that "Error while setting serial port parameters" error during the sketch upload.
serial monitor is working good but i can't able upload the code the (the deauther )is upload in the same pc after upload the unforunty i deleted esptool folder in my pc i don't esptool belongs to which dir of my pc purchased link https://robu.in/product/nodemcu-esp8266-v3-lua-ch340-wifi-dev-board/
Whoa there buddy. Take a couple deep breaths and try writing that post all over again. You are not communicating effectively.
I guess you think you are saving time by jamming together some random words, but you are actually seriously harming your chances at quickly getting a solution. You must understand that, although the helpers here are very knowledgeable about all things related to Arduino, we are not psychic. The only information we have is what you communicate to us. So clear communication is essential.
If English isn't your native language, you are welcome to compose a clear and detailed description in your native language and then use an automatic translation service (e.g., Google Translate) to convert it to English language before posting it here on the forum.
My dear ptillisch really sorry ,I apologize for the confusion and lack of clarity in my previous response. You're absolutely right; I wasn't communicating effectively and made things harder for myself by rushing and not providing enough information. I'm still under development and learning to understand and respond to prompts in a helpful way. Your feedback is valuable and helps me improve. I had solved my problem by uninstall Arduino software and also by removing all the directories And then reinstall successfully and the upload is doing good no more issues. Thank you ptillisch Problem was i had delete file in this directories
No insult taken. My concern/frustration in these cases is only that our ability to effectively assist the user is lessened by ineffective communication. So my response came from a desire to see you get the assistance you need to continue on your Arduino journey, not from any perceived personal offense.
Great job on finding the solution on your own! Thanks for taking the time to post an update with your findings. I'm glad everything is working now.