Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

A program downloader based on STM32

A program downloading and SPI interface technology, applied in the computer field, can solve the problems of low flexibility of program downloader, difficulty in guaranteeing program file support, high design cost, etc., to achieve multiple supported file types, high practicability, and low cost Effect

Inactive Publication Date: 2019-01-18
HUNAN UNIV
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the program downloader for this type of chip on the market usually has a high price, which makes the design cost of this type of wireless communication solution high
Due to the limitation of the program downloader's own firmware, it is difficult for its supporting host computer program to support both HEX and BIN program files, which leads to lower flexibility of some existing program downloaders.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A program downloader based on STM32
  • A program downloader based on STM32
  • A program downloader based on STM32

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] Such as figure 1 As shown, the STM32 single-chip controller is the core of the present invention, including hardware SPI interface, serial port, timing circuit, etc., and its peripheral circuit is composed of CP2102 serial port module, voltage stabilizing circuit, buttons and indicator lights, and mainly completes the data reception of program files. And through the SPI interface to complete the FLASH erasing and writing of the external chip to realize the program download function; in addition, the STM32 microcontroller will feed back the real-time status of the program download to the computer. The present invention selects STM32F103RCT6 chip, because it has 48k internal storage space, meets the 16k / 32k requirement of external chip FLASH, the overall hardware circuit of the system is as follows figure 2 shown.

[0015] The initialization program of the STM32 MCU: the operating clock of the MCU is configured as 72M; the SysTick is configured as an interrupt once ever...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a program downloader based on STM32, which comprises a STM32 single chip microcomputer, a SPI interface, a CP2102 serial port chip, a USB interface, a voltage stabilizing circuit, a key and an indicator lamp, and realizes the FLASH reading and writing operations of NRF24LU / E series chips, etc. The USB interface is connected to the CP2102 chip, the serial port pin of the CP2102 chip is connected to the STM32 serial port terminal, the SPI interface of the STM32 is connected to the NRF24LU / E chip of the program to be downloaded, and the PROG, CSN and RST pins are respectively connected. The program download steps are as follows: connecting the USB interface of the downloader to the computer, sending instructions to the STM32 single-chip microcomputer by using the hostcomputer software, selecting the appropriate program download option according to the feedback information, opening the program files in the HEX and BIN formats by the host computer, and sending the program files to the STM32 single-chip microcomputer; STM32 single chip microcomputer converts the program into byte array according to the file type, and reads and writes the FLASH of NRF24LU / E serieschips through SPI interface. The program downloader is low in cost, fast in download speed, supports two program file formats, has high reliability and simple operation.

Description

technical field [0001] The invention belongs to the field of computers, and in particular relates to a program downloader based on STM32. Background technique [0002] The program programming of many chips is realized through the SPI interface, because the SPI interface has fast transmission speed and reliable data transmission. In particular, NRF24LU and NRF24LE series chips, as a wireless communication solution, are very suitable for wireless transmission of USB data. The FLASH of these chips is programmed through the SPI interface. However, the program downloader for this type of chip on the market usually has a relatively high price, which makes the design cost of this type of wireless communication solution high. Due to the limitation of the firmware of the program downloader itself, it is difficult for the supporting host computer program to support the program files in both HEX and BIN formats at the same time, resulting in lower flexibility of use of some existing p...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/65G06F13/42
CPCG06F8/65G06F13/4282
Inventor 叶佳卓李树帅黄飞陈少林唐艳
Owner HUNAN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products