Single-chip offline programming unit and offline programming method
An off-line programming, single-chip technology, applied in the field of programmers, can solve the problems of complex circuits, large volume, and poor data security of off-line programmers, and achieve the effects of improving security, simplifying circuits, and reducing volume
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] figure 1 It is a structural diagram of a single-chip offline programmer provided by Embodiment 1 of the present invention. Such as figure 1 As shown, the offline programmer includes:
[0032] The microcontroller 101 is packaged with a non-volatile storage medium for storing program files.
[0033] In this embodiment, the storage medium may be a hard disk or a flash memory. There can be multiple stored program files.
[0034] The host computer communication interface 102 is connected with the microcontroller 101 and is used for connecting with external devices and transferring program files to the microcontroller 101 .
[0035] In this embodiment, the host computer communication interface may be a Universal Synchronous / Asynchronous Receiver / Transmitter (USART, Universal Synchronous / Asynchronous Receiver / Transmitter) interface. The USART interface is a full-duplex universal synchronous / asynchronous serial transceiver module, which is a highly flexible serial communic...
Embodiment 2
[0046] figure 2 It is a flow chart of the off-line programming method of the single-chip off-line programmer provided by the second embodiment of the present invention. The offline programming method of the single-chip offline programmer is used to use the single-chip offline programmer provided by Embodiment 1 of the present invention to perform offline programming of the device to be programmed, such as figure 2 As shown, the method includes:
[0047] 201. Connect the communication interface of the upper computer to the external device and the program download interface is suspended.
[0048] In this step, the external device may be a computer or other microcontrollers. The floating program download interface means that the program download interface is not connected to any device.
[0049] 202. Transmit the program file to the microcontroller through the communication interface of the host computer.
[0050] In this step, the method of transferring the program file to...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 