Unlock instant, AI-driven research and patent intelligence for your innovation.

On-line programming method of MCU FLASH

A boot code and code technology, applied in software deployment, program control device, boot program, etc., can solve the problems of GPIO pin judging the boot mode, unable to provide BootROM, and limitation of the number of external interfaces

Active Publication Date: 2020-09-18
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF8 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in some extreme applications, the number of external interfaces is extremely limited, and the GPIO pins required by the Boot ROM cannot be provided to determine the boot mode, so the Boot ROM solution cannot be used to implement program flashing

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
  • On-line programming method of MCU FLASH
  • On-line programming method of MCU FLASH
  • On-line programming method of MCU FLASH

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0020] In order to cooperate with the program curing, there are many options for the program curing tools of the upper computer, and the ease of use and reliability of the tools are also quite different. Incorrect curing process may lead to deadlock of the chip, making it impossible to continue to use. Therefore, it is also necessary to select or develop a tool with strong ease of use and high reliability, which will greatly improve the curing process experience.

[0021] In this embodiment, refer to the Boot ROM code of TI's C28x series to simulate the SCI mode startup process. After the initialization operation is completed, the FLASH flashing program SBL brought by the third-party flashing software is received, and the third-party flashing is followed. The software communicates with its host computer to complete the program flashing. The invention provides a bridge-like function for the flashing of the MCU, realizes interface communication and SBL reception, and uses third...

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 an on-line programming method of an MCU FLASH. The pin level of the MCU is set, a starting mode is fixed as a FLASH starting mode, meanwhile, the boot code is solidified and started in the FLASH, so that after the MCU is powered on, the MCU skips to run the boot code in the FLASH; whether timeout occurs is detected through the baud rate and is taken as the basis of determination of whether program solidification is carried out or not, thus, under the condition that the level of the GPIO pin is not judged any more, online programming, namely program solidification, of the FLASH is achieved, and the method can be suitable for extreme occasions that a board card where the MCU is located is located in a closed shell, the number of external interfaces is limited, and theGPIO pin needed by the Boot ROM cannot be provided for judging the starting mode.

Description

technical field [0001] The invention belongs to the technical field of FLASH memory, and more specifically relates to an online programming method of MCU FLASH. Background technique [0002] In the development process of TI ((Texas Instruments, Texas Instruments) C28x real-time control MCU (MicrocontrollerUnit, micro control unit), the emulator (JTAG port) is generally used to solidify the application program into the FLASH memory (FLASH for short) of the MCU. However, in many applications, the board where the MCU is located may be located inside a closed shell, and the number of external interfaces is limited, so it is very inconvenient to flash with an emulator. Therefore, TI provides a solution for TI Boot ROM: in the ROM of the MCU (Read Only Memory, read-only memory) is placed in the boot code that is Bootloader, and the boot mode is judged by judging the fixed GPIO (General-Purpose Input / Output, general-purpose input and output) pin level at startup. In SCI (Serial Com...

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/61G06F9/4401
CPCG06F8/63G06F9/4401
Inventor 李焱骏陶扬张伟师奕兵倪星雨向泽明田阳
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA