20-08-2014 дата публикации
Номер: CN103995717A
Принадлежит:
The invention discloses a method for upgrading software in an embedded device. The method comprises the steps that (1) the device reads the values of Boot parameter region initial addresses, upgrading files are written in a file system region with corresponding file names according to the different values, and the values of the Boot parameter region initial addresses are modified; (2) when the device starts normally, the step (3) is executed, and when wrong software is upgraded, the step (4) is executed; (3) a Boot program reads the values of the Boot parameter region initial addresses, corresponding file content in the file system region is read in a memory according to the different values, a kernel entry address is skipped to, and execution is started; (4) a serial port debugging tool is opened to carry out electrification again, a user presses the enter key to enter a user instruction mode in the waiting period, and an instruction for displaying and modifying the values of the Boot ...
Подробнее