There were two ways to download the STM32 program. One was based on JTAG (SWD). This method required an simulator (such as J-Link and U-Link) to efficiently and quickly debugged the STM32 single-chip system. The other was based on serial port. The entire STM32 series supported this method. This method could download the HEX file to the STM32 chip through a USB cable and the corresponding ISP download software. In order to download the circuit through the serial port, one must first understand the several boot modes of the STM32. If you want to download the code through the serial port, you need to set BOOT0 to 1 and BOOT1 to 0. If you want the STM32 to run the code as soon as it is reset, you need to set BOOT0 to 0 and BOOT1 to any value. A circuit could be designed to control the one-button download circuit through the serial port to USB chip CH340G's DTL #and RTS#pin signals, thereby indirectly controlling the STM32's RESET and BOOT0 pin signals, achieving the effect of one-button download and operation through the serial port. The serial port download software can choose MCUSP, which can automatically allocate the BOOT0 and RESET signals through the DTL and RTS signals of the serial port. The user does not need to manually switch the state. Open MCUIsp, click Search serial port, and it will automatically find the onboard serial port of the circuit board. Choose the baudrate of 460800 in the bit rate, select the low level reset of DTL in the lower left corner, and then load the burn file into BootLoader at RTS high level. Before the program was written, click to read the device information. If the relevant information appeared, it meant that the serial port connection of the circuit board was successful. Then click to start programming, and the program began to be written. After the program was successfully written, a message indicating that the program was successfully written would appear. The specific process was as follows: mcuisp controls the DTL output to be low, so DTL #output is high. Then RTS is set to high, so RTS#output is low, so Q3 is turned on and BOOT0 is pulled high. At the same time, Q2 will also be turned on, and the reset pin of STM32 will be pulled low to achieve a reset. Then, after a delay of 100ms, mcuisp controls DTL to be at high level, DTL #will output low level, RTS will remain at high level, RTS#will continue to be at low level. At this time, the reset pin of STM32 will become high level because Q2 is no longer connected. STM32 will end the reset, but BOOT0 will still remain at 1, thus entering the SP mode. Then mcuisp can start to connect to STM32 and download the code, thus realizing one-click download. Read more exciting novels for free
C Language for Single-Chip Microprocessors A single-chip computer was a small electronic device used to control and monitor various devices and systems. The C language was a common programming language used to write programs for single-chip processors. If you want to learn the C language, you first need to understand the basic principles and structure of the microchip. Then you need to learn the basic grammar and programming skills of the C language. Next, you can learn the instruction set and interrupt system of the microchip in order to write programs that can control and monitor the microchip. You can also expand your knowledge by learning about the memory and input and output ports of the single-chip computer. Finally, you can practice writing programs for the single-chip computer and try out different control and monitoring methods. Through practice, you can better understand the use of the C language and improve your programming skills. The single-chip C language innovation tutorial requires the comprehensive use of the basic principles of the single-chip computer, the basic grammar of the C language, the instruction set and interrupt system of the single-chip computer, and the practice of writing single-chip computer programs. Through learning and practice, you can become an excellent program developer and succeed in the electronic field.
We can find some information about the circuit diagram of the countdown program. For example, document [2] mentioned the use of Logisim software to design the circuit schematics of the countdown circuit. The 30-second countdown design based on the 74LS192 was mentioned in document [3], which included the circuit diagram of the countdown timer. The countdown circuit diagram was also mentioned in document [4]. However, there was no specific circuit diagram for the countdown program. Therefore, we can't answer the question of the countdown program's circuit diagram accurately.
Single-chip computers could be used in the industrial field, while electric tools belonged to the industrial category. The 8-bit single-chip computer was a single-chip computer with an internal arithmetic unit that could process 8-bit binaries at a time. It could perform operations such as addition, reduction, multiplication, and division. The internal register was mostly 8-bit, so it could be regarded as a weak micro-computer system. Theoretically, an 8-bit single-chip processor could be used to develop and control functions related to power tools, but the specific application depended on the complexity of the power tool's function development. If the power tool needed to develop a simple function, an 8-bit single-chip processor might meet the demand. If more functions were needed, a single-chip processor with a higher number of digits might be needed. <a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
First of all, he needed to download the PDF-version of the e-book he wanted to print and save it on his computer. Find the e-book file in the computer, select the "copy" function, and then select the target USB drive in the "paste" function to paste. After saving the e-book to the USB drive, he could take it to the photo shop to print. However, due to the large number of pages in e-books, it was difficult to bind them at home, and the printing fee in the graphic shop was more expensive. They could also choose to print online. Online printing was based on the Internet cloud and integrated with the resources of printing service companies. It could upload the documents to be printed on a computer or mobile phone and print them remotely after setting them up. For example, the 66 printing platform supported A4 paper printing. It could also choose photos, ID photos, resumes, study materials, and other documents to print. It could also provide a variety of binding methods. Its price is relatively cheap. Take A4 paper size as an example: black and white single-sided printing 0.07 yuan/sheet, black and white double-sided printing 0.1 yuan/sheet, color single-sided printing 0.3 yuan/sheet, color double-sided printing 0.55 yuan/sheet. You can use the platform to search for "66 prints" in a green software. <a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
When writing a program for a single-chip computer, it is usually necessary to use interrupt to achieve some special functions. An interrupt is a special instruction that can pause the execution of a program and perform other tasks during its execution. When the single-chip computer program needs to use interrupt, the corresponding interrupt processing program needs to be added to the program. This processing program can perform the corresponding operations when the interrupt occurs, such as recording the interrupt source address, setting the interrupt enable, etc., and then return to the program to continue execution. If the interrupt is not used in the single-chip program, it is feasible not to write the corresponding interrupt processing program. However, if an interrupt is used in the program without adding an interrupt processor, the program may crash or fail to respond when an interrupt occurs. Therefore, when writing a program, interrupt handling routines should be added as much as possible to ensure the normal operation of the program.
When the power supply of the single-chip computer board was short-circuited, it might burn the single-chip computer. If 3.3V and gnd were short-circuited, the tester would detect a buzzing sound. This did not necessarily mean a short-circuit, but it was possible. There were many condensers, microcontrollers, and possible interface chips between 3.3V and gnd. Any short circuit would cause a short circuit between 3.3V and gnd. During the inspection, the 3.3V related to the chip can be removed and measured again to see if the chip is short-circuited. If it is short-circuited, the chip can be disassembled to measure the resistance between the chip's 3.3V and the ground. You can also measure the voltage of the microchip by welding one of the feet of the microchip's voltage. If the voltage is still connected to the voltage, the microchip may be damaged. In this case, the microchip may need to be replaced. If you are using the smallest system board such as the K60, you can change your own single-chip computer or send it back to the manufacturer for replacement. In addition, pay attention to static electricity protection during welding, otherwise static electricity may break through the chip and cause damage. <a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
If you want to self-study the single-chip computer, I suggest you buy a book called " Development and application of embedded systems." This book introduced the concepts, principles, and techniques of embedded systems in detail, and explained them with examples. At the same time, the book also provides a large number of programming exercises and cases to help readers better master the knowledge and skills of the single-chip computer.
You start by sketching the basic shape of the computer chip. Then, add details like circuits and components in a simple and exaggerated way for the cartoon style.
In a three-phase induction motor, many of the motor's damage is due to the electrical system, which may lead to the burning of the winding. The details are as follows: 1. The insulation of the motor is reduced; 2. The motor runs without phase; 3. The motor was overloaded. 4. Poor ventilation of the motor caused the temperature to be too high; 5. When the knife switch was used as the load switch, the motor was burned due to the power failure and forgetting to pull the brake. 6. Overvoltage or undervoltage operation. <a href="/?from=ask_words" style="color:red" target="_blank">Read more exciting novels for free</a>
Sure! Programs like Clip Studio Paint and Procreate offer great tools for graphic novel creation. They have features for drawing, coloring, and adding text that are very useful.