Tag Archives: IDE

esp32:A fatal error occurred: Timed out waiting for packet header

Question

When I download the program to esp32 with Arduino IDE, the following error message appears:

My board is the following Board:

 

Causes and Solutions

The reason is that there is an error in the baud rate selection. The baud rate I selected is 921600 by default. In fact, 115200 should be selected. In this way, you can download normally after downloading again.

As shown in the figure below, it is successful.

 

 

Stm32cube ide installation – NSIS error problem

Stm32cubeide is a tool officially launched by st for developing STM32. In fact, it integrates stm32cubemx and truestudio. For the development of STM32, this tool should become the mainstream in the future. This paper summarizes the problems encountered in installing this software to prevent similar problems in the future.

First attach the download connection to the official website, which is completely free. It is recommended to download from the official website.

https://www.st.com/content/st_ com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-ides/stm32cubeide.html?dl=dX5H5iG6jaTdAbPTEwejXA%3D%3D%2CrTf%2FR%2FW0bw3TdsE5geyarS%2Bx46lDPNXJJ%2FwoQwC2jvAqsWaJAv4gTkLJ4qSDWl0VdOI6vqvYjbxZpaN5e3OGR4Nu8KAJpfygznI%2FHtVJGBQ19G8mXVbW5rm9Y4ddBLs0dgsZ0plnr1i7c1v8BK7cFCIgEizW94LWN7PbjdeZgvyhhTJAibSp0V 5JbQ4Y9YAB8jXDKk0p77IW5172NlLbNRukH3uiA0oN%2FJ%2FXrRBHUNhifSJSL3q%2BTlfvAwIo1dQ8%2FlroraTNMB9f%2FeoHtreO5%2B76F7JZ22ct09VvzYrS5012d2J7R1KF0QJyZPMo1pVG9DAkfYduAj%2F8Kk%2FCCwOlh8vod3OfZ09kBaIbbTsXqvUzXuDgjZY3uvBFtlVpQ4d6wrPl3y8VwmHnS%2B6cLumUqqOOg75YeolR3ib%2F0PVDJvBIBLONtOLYQaOFojeuVoOw& uid=iNttJlvTrIR013Z64dbS0PWuF3wDZMRC#get-software

After downloading, be sure to decompress the compressed file into the file path of the standard ascall character set, otherwise you will encounter the following NSIS error problem

However, a lot of solutions have been found on the Internet:

    rename or relocate the installation files from the command prompt installer, re download programs, remove viruses and malware, update your Windows, turn off windows firewall, check your hard drive for errors, check your system language

    However, it doesn’t make any difference….

    Finally, I found that the most essential problem is that the installation package folder contains non ascall characters, which can be modified.

      In addition, a tutorial on the use of cube IDE is attached

    https://blog.csdn.net/Naisu_ kun/article/details/95935283

Resolve the idea error unable to Ping server at localhost: 1099 exception

Unable to Ping server at localhost: 1099
the solutions mentioned on the Internet are the first two, but mine is the third. I hope small partners can avoid the pit
1. The version of Tomcat and JDK matches
port 2 is occupied
3 check the idea configuration Tomcat. VM options cannot have spaces before and after the equals sign
(if there are spaces before and after the equals sign, there will always be an error.)

Error: enoent: no such file or directory

Recently, using cnpm to install spritejs, I have been reporting this error all the time. I checked a lot on the Internet and found no problem.

Finally, try again and again. After setting cnpm again, it’s OK.

npm install -g cnpm --registry=https://registry.npm.taobao.org

After executing this, you will be prompted that many files have been updated. Just install spritejs again.

This shows that the previous version of cnpm may be too old, so there is a problem.