Table of Contents:
- 1 Introduction: Hard resetting via RTS pin
- 2 PCBway:
- 3 Video Tutorial: Hard resetting via RTS pin
- 4 Hard resetting via RTS pin:
- 5 Why This Hard resetting via RTS pin is required ???
- 6 Why everybody is considering it as an Error ???
- 7 Video Tutorial: Hard resetting via RTS pin
Introduction: Hard resetting via RTS pin
I know you are struggling with this error/ issue so far, and it is killing your patience.
So let me explain why it’s happening and what you have to do to resolve the issue. Trust me, You will get how simple it is.
So without wasting time. let’s get started.
If you want to convert your prototype projects to realtime, applications & deploy in the realtime field, You need to design a PCB, because Devices with these Veroboards will not last long.
PCB way is one of the best ways to convert your prototypes into realtime applications. I have used their services to convert my prototypes into the realtime Applications.
PCBWAY is one of the best PCB manufacturers in the current industry. At PCBway.com we can get 10 pieces of 2 layered PCBs at just $5 with 24 hours build time & also PCB way offering PCB assembly services at just $30 along with Free shipping. PCBway is also offering services like PCB prototype, SMD Stencil, PCB assembly, Flexible PCBs & Advanced PCBs. The best part of PCBway is the Instant quote feature, just enter the PCB size, choose the quantity, layers, and thickness. That’s it, we will get the instant quote. place an order by clicking on saving to cart. check out their website for more details.
Video Tutorial: Hard resetting via RTS pin
Hard resetting via RTS pin:
First of all, I wanted to let you know that this “Hard resetting via RTS pin” is not an Error. Yes, You have read the correct one its not an error. It’s just whatever tool (Arduino IDE) you’re using telling you it’s going to reset the Module after the Code Successful uploading. It indicates that the system is rebooting the board to run your application.
Explanation: Hard resetting via RTS pin
UART Means – Universal Asynchronous Receiver-Transmitter (UART). In this Protocol, There is a is a method called UART Flow Control to decrease the risk of losing data when slow and fast devices to communicate with each other over UART.
There are two types in this Flow Control.
- Hardware Flow Control
- Software Flow Control
Hardware Flow Control is also called RTS/CTS Flow Control. In this Hardware Flow control, RTS and CTS will come into the picture.
RTS means “ready to send” CTS Means “clear to send”
The RTS signal is an output of the UART informing the other UART on the bus that it is ready to receive data. This RTS signal changes back afterward when the data transmission is completed.
This signal is used to perform a hardware reset when the transmission of the data from a laptop to Device(ESP32/ESP8266) is completed. This action will restart the program that is within the memory of the ESP module.
This is the theory behind it.
Why This Hard resetting via RTS pin is required ???
In the previous versions of the ArduinoIDE, this feature is not enabled. Sometimes, people are experiencing that the uploaded program is not executing properly. Even I have also faced this issue. At that time we used to restart the ESP module by pressing the onboard Reset button. To minimize this bug In the later versions(1.8.0) of ArduinoIDE this feature is developed. As soon the code has successfully uploaded, the ESP board will automatically be restarted via RTS pin to execute the uploaded program
Why everybody is considering it as an Error ???
Up to me Its just a human perception, Basically all the logs in the Arduino IDE are shown in the red-colored text. Most probably the All the errors we see in the red text color.
Whenever the log shows “Hard resetting via RTS pin…” we basically treat it like an error. This is the problem with text color and our perception.
My humble request to Adruino Team is to change this text clour to white or Green so that people will stop treating this log as an Error.
So, That’s it for this tutorial, this is all about the theory behind the “Hard resetting via RTS pin…”
Since it’s not an error there is no need for a specific fix… I hope Getting knew about the reason behind the issue is the fix.
So… See you soon on the next interesting project, bubyeee…