Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for preventing errors in online program writing

A program and application technology, applied in the field of preventing online program programming errors, can solve the problems of easy errors in online program programming, and achieve the effect of avoiding errors in the programming process, improving reliability and success rate, and ensuring correctness

Inactive Publication Date: 2015-12-23
GREE ELECTRIC APPLIANCES INC
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the embodiment of the present invention, a method for preventing errors in online program programming is provided to solve the problem of error-prone online program programming in the prior art

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
  • Method for preventing errors in online program writing
  • Method for preventing errors in online program writing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments, but not as a limitation of the present invention.

[0018] see figure 1 and figure 2 As shown, according to an embodiment of the present invention, the method for preventing online program programming errors includes: dividing FLASH into a BOOT area, a program flag area, and an application program area, and the application program area includes a plurality of application program partitions; In the state, execute the BootLoader program to burn the application program to other application program partitions other than the application program partition corresponding to the current program logo; rewrite the current program logo to the application program partition that completes online programming. In this embodiment, it will be described by taking that the application partitions include the first application partition Code1 and the secon...

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 present invention discloses a method for preventing errors in online program writing. The method for preventing the errors in online program writing comprises: dividing a FLASH into a BOOT area, a program mark area and an application program area, wherein the application program area comprises multiple application program sub-areas; under an online program writing state, executing a BootLoader program, writing application programs to other application program sub-areas except the application program sub-area corresponding to a current program mark; and rewriting the current program mark as an application program sub-area with online writing completed. According to the method for preventing the errors in online program writing disclosed by the present invention, the problem that errors easily occur to online program writing in the prior art can be solved.

Description

technical field [0001] The invention relates to the technical field of programming, in particular to a method for preventing errors in online programming. Background technique [0002] At present, IAP programming, that is, online programming, has been widely used in controller program upgrades, but the reliability of IAP programming is not as good as traditional ISP programming. [0003] The IAP method is usually used to upgrade the program on the project site. Because the application program file is large, it usually adopts a higher baud rate for transmission, which will easily cause frame loss and wrong frame problems and cause errors in the programming process. The flash of the application program segment in the device has been erased, and the controller will not work normally. It can only be solved by multiple attempts or even replacing the controller, which brings a lot of inconvenience to online program programming. Contents of the invention [0004] An embodiment o...

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): G06F9/445
Inventor 孙方华王文灿唐杰张光旭
Owner GREE ELECTRIC APPLIANCES INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products