CN103870305A - Software upgrading method of vehicle-mounted sound box with USB (Universal Serial Bus) interface/memory card interface - Google Patents

Software upgrading method of vehicle-mounted sound box with USB (Universal Serial Bus) interface/memory card interface Download PDF

Info

Publication number
CN103870305A
CN103870305A CN201410056921.XA CN201410056921A CN103870305A CN 103870305 A CN103870305 A CN 103870305A CN 201410056921 A CN201410056921 A CN 201410056921A CN 103870305 A CN103870305 A CN 103870305A
Authority
CN
China
Prior art keywords
software
usb
vehicle
mcu
memory card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410056921.XA
Other languages
Chinese (zh)
Inventor
杨广平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JIANGSU TOPPOWER AUTOMOTIVE ELECTRONICS CO Ltd
Original Assignee
JIANGSU TOPPOWER AUTOMOTIVE ELECTRONICS CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JIANGSU TOPPOWER AUTOMOTIVE ELECTRONICS CO Ltd filed Critical JIANGSU TOPPOWER AUTOMOTIVE ELECTRONICS CO Ltd
Priority to CN201410056921.XA priority Critical patent/CN103870305A/en
Publication of CN103870305A publication Critical patent/CN103870305A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a software upgrading method of a vehicle-mounted sound box with a USB (Universal Serial Bus) interface/memory card interface, and relates to the technical field of software upgrading of the vehicle-mounted sound box. The vehicle-mounted sound box system is divided into a management system (ARM + Linux) and a control system (an SCM (Single Chip Microcomputer)), wherein two system software can be stored in a Flash which is expanded by the ARM (Advanced Risc Machines), and a backup is made; after the USB is inserted, data of an area of the Flash is firstly refreshed when updating need is detected by an ARM system, updated software of an MCU (Micro Controller Unit) is sent out through a Uart (Universal Asynchronous Receiver Transmitter) after the vehicle-mounted sound box is successfully started, and self updating can be made by the MCU. The software upgrading method of the vehicle-mounted sound box with the USB interface/memory card interface, disclosed by the invention, has the advantages that the defect that an emulator is needed for updating a SCM program in a traditional software upgrading method is solved, the operation is extremely simple, the whole process is automatically completed by a machine, meanwhile, a software backspacing protection mechanism is obtained, and the risk of system breakdown caused by failed software updating is completely eliminated.

Description

A kind of method for upgrading software of the vehicle audio that is provided with USB/ memory card interface
Technical field
The present invention relates to vehicle audio software upgrading technical field, specifically a kind of method of software upgrading of the vehicle audio that is provided with USB/ memory card interface.
Background technology
At present, vehicle mounted multimedia technical development is rapid, and for meeting people's amusement demand, on-vehicle acoustic apparatus function is more and more, and therefore the design of its software also becomes and becomes increasingly complex.Because vehicle audio is installed, when vehicle audio packs into after car load, want upgrade software or software maintenance, all need vehicle audio to disassemble from car, then complete software upgrading with special replication tool, troublesome poeration, expends time in and cost.And present most vehicle audio is all with USB/ memory card interface, so it is not only easy to operate to utilize USB, memory card interface that vehicle audio carries to carry out ROMPaq, more can save time and software upgrading cost.
Summary of the invention
Pack the situation of car load software upgrading inconvenience in order to solve existing vehicle audio, and upgrade and unsuccessfully cause situation the present invention's design of machine paralysis that a kind of method for upgrading software of vehicle audio of the USB/ of being provided with memory card interface is provided, upgrading is convenient, has stopped software upgrading and has unsuccessfully caused systemic breakdown risk.
The present invention realizes with following technical scheme: have USB and memory card interface, by the vehicle audio start that normally powers on, ARM system senses when having USB or memory card device to insert, has first judged whether AKU, obtain version number by file reading head, judge whether to upgrade; Upgrade and directly exit if do not need, if desired upgrade and carry out file integrality verification, by calculation document body CRC fall, CRC relatively realizes; Then carry out software upgrading, AKU in USB flash disk is write to one of them district of depositing software Flash, brush into the complete system of carrying out and restart; If have problem after restarting or start unsuccessfully, before copying backup area to automatically, system upgrades Guo district, realize version rollback; Out of questionly copy backup area to by upgrading Flash region if restart, realized software update all, sent update software request message to MCU simultaneously; If obtain MCU feedback information negate, or do not receive any message, whole software upgrading stops; If obtain MCU asserts feedback information, the software of MCU is sent over by Uart, receive MCU self and upgrade and restart.
The invention has the beneficial effects as follows: the method has solved tradition needs emulator could upgrade the drawback of Single Chip Microcomputer (SCM) program; and operate extremely simple; whole process is all that machine completes automatically; the method has software rollback protection mechanism simultaneously, has stopped software upgrading and has unsuccessfully caused systemic breakdown risk.
Accompanying drawing explanation
Fig. 1 is the hardware structure diagram that the present invention designs car audio system;
Fig. 2 is the software upgrading process flow diagram that the present invention designs car audio system.
Embodiment
As shown in Figure 1, car audio system is divided into management system and control system, is realized respectively by ARM and MCU.Management system comprises and modules such as extending out Flash, DDR, LCD, USB, IPOD, CD, Tuner, AUX is managed by operating system Linux; Control system mainly realizes power management and key-press input monitoring etc.
The method concrete steps of the software upgrading of the vehicle audio of a kind of USB/ of being provided with memory card interface that as shown in Figure 2, patent of the present invention provides are as follows:
Step a, by the vehicle audio start that normally powers on.
Step b, in the time having detected that USB or memory card device are inserted, fetch equipment internal information also judges whether to contain software upgrade data.
Step c, obtains version number by file reading head, judges whether to upgrade.
More specifically step c comprises following two steps:
Step c1, the version number obtaining lower than or equal current operation version, do not upgrade, directly exit.
Step c2, the version number obtaining, higher than current operation version, upgrades.
Steps d, checks AKU validity.
More specifically steps d comprises following two steps:
Steps d 1, AKU file incompleteness, abandons upgrading, directly exits.
Steps d 2, AKU file is complete, the lower step of upgrading.
Step e, writes Flash Yi Ge district by AKU, and restarts.
Step f, whether rear system is restarted in judgement problem.
More specifically step f comprises following two steps:
Step f1: system is restarted problem, returns to more new region by Flash backup area data, and exits renewal.
Step f2: system is restarted no problem, copies backup area to by having upgraded area data in Flash, realizes software and upgrades completely, and upgrade lower step.
Step g: send software upgrading request message to MCU, wait for that MCU responds.
More specifically step g comprises following two steps:
It negates to respond that step g 1:MCU provides, or wait timeout, finishes software upgrading.
Step g 2:MCU provides sure response, carries out lower step renewal.
Step h: MCU software is sent to MCU by UART.
Step I: MCU carries out self software upgrading, and restarts, and whole renewal process finishes.

Claims (1)

1. one kind is provided with the method for upgrading software of the vehicle audio of USB/ memory card interface, there is USB and memory card interface, it is characterized in that: by the vehicle audio start that normally powers on, ARM system senses is when having USB or memory card device to insert, first judged whether AKU, obtain version number by file reading head, judge whether to upgrade; Upgrade and directly exit if do not need, if desired upgrade and carry out file integrality verification, by calculation document body CRC fall, CRC relatively realizes; Then carry out software upgrading, AKU in USB flash disk is write to one of them district of depositing software Flash, brush into the complete system of carrying out and restart; If have problem after restarting or start unsuccessfully, before copying backup area to automatically, system upgrades Guo district, realize version rollback; Out of questionly copy backup area to by upgrading Flash region if restart, realized software update all, sent update software request message to MCU simultaneously; If obtain MCU feedback information negate, or do not receive any message, whole software upgrading stops; If obtain MCU asserts feedback information, the software of MCU is sent over by Uart, receive MCU self and upgrade and restart.
CN201410056921.XA 2014-02-19 2014-02-19 Software upgrading method of vehicle-mounted sound box with USB (Universal Serial Bus) interface/memory card interface Pending CN103870305A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410056921.XA CN103870305A (en) 2014-02-19 2014-02-19 Software upgrading method of vehicle-mounted sound box with USB (Universal Serial Bus) interface/memory card interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410056921.XA CN103870305A (en) 2014-02-19 2014-02-19 Software upgrading method of vehicle-mounted sound box with USB (Universal Serial Bus) interface/memory card interface

Publications (1)

Publication Number Publication Date
CN103870305A true CN103870305A (en) 2014-06-18

Family

ID=50908873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410056921.XA Pending CN103870305A (en) 2014-02-19 2014-02-19 Software upgrading method of vehicle-mounted sound box with USB (Universal Serial Bus) interface/memory card interface

Country Status (1)

Country Link
CN (1) CN103870305A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375855A (en) * 2014-09-24 2015-02-25 深圳市航盛电子股份有限公司 Device and method for upgrading firmware through storage devices on basis of multiple vehicle-mounted MCUs
CN104407897A (en) * 2014-12-02 2015-03-11 厦门雅迅网络股份有限公司 Intelligent upgrading method and system for program
CN104461654A (en) * 2014-12-27 2015-03-25 西安大唐电信有限公司 OBD equipment function unit and firmware classification optional upgrading method
CN105182941A (en) * 2015-09-21 2015-12-23 深圳市家信信息科技开发有限公司 Intelligent bicycle body equipment detection system based on bus
CN105260215A (en) * 2015-11-04 2016-01-20 福建星海通信科技有限公司 Method of updating vehicle-mounted automobile data recorder terminal by USB flash disk
CN105871598A (en) * 2016-03-28 2016-08-17 上海斐讯数据通信技术有限公司 Router equipment and upgrade method of router equipment
CN105867985A (en) * 2016-04-25 2016-08-17 广州路派电子科技有限公司 Method for upgrading file through vehicle-mounted decoder software
CN106095505A (en) * 2016-06-13 2016-11-09 天脉聚源(北京)传媒科技有限公司 A kind of method and device of software upgrading
CN106325962A (en) * 2016-09-29 2017-01-11 未来汽车科技(深圳)有限公司 Vehicle software update method and vehicle software update device
CN107484078A (en) * 2017-09-29 2017-12-15 奇瑞汽车股份有限公司 Car audio system and its startup control method
CN108304210A (en) * 2018-02-07 2018-07-20 深圳市布谷鸟科技有限公司 A kind of upgrade method of automobile instrument panel
CN108762794A (en) * 2018-04-03 2018-11-06 深圳市布谷鸟科技有限公司 Meter panel of motor vehicle upgrade-system and its upgrade method
CN109257203A (en) * 2017-07-14 2019-01-22 西安中兴新软件有限责任公司 A kind of upgrade method of vehicular communication equipment, device and vehicular communication equipment
CN110377301A (en) * 2019-06-27 2019-10-25 深圳市点嘀互联网络有限公司 The intelligent interactive system and its upgrade method of the seamless connection vehicle device of sustainable upgrading
CN110851157A (en) * 2019-10-28 2020-02-28 上海旗旌科技有限公司 Method and equipment for updating vehicle-mounted terminal equipment system
WO2023168746A1 (en) * 2022-03-07 2023-09-14 深圳市德驰微视技术有限公司 Usb upgrading method and device of arm linux operating system based on domain controller platform

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231592A (en) * 2007-01-26 2008-07-30 华为技术有限公司 Method and system for updating software
CN101770384A (en) * 2010-01-18 2010-07-07 深圳市航盛电子股份有限公司 Car audio system and software upgrading method thereof
CN102063318A (en) * 2010-12-22 2011-05-18 Tcl通力电子(惠州)有限公司 Upgrading method of power supply MCU (Micro Control Unit)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231592A (en) * 2007-01-26 2008-07-30 华为技术有限公司 Method and system for updating software
CN101770384A (en) * 2010-01-18 2010-07-07 深圳市航盛电子股份有限公司 Car audio system and software upgrading method thereof
CN102063318A (en) * 2010-12-22 2011-05-18 Tcl通力电子(惠州)有限公司 Upgrading method of power supply MCU (Micro Control Unit)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375855A (en) * 2014-09-24 2015-02-25 深圳市航盛电子股份有限公司 Device and method for upgrading firmware through storage devices on basis of multiple vehicle-mounted MCUs
CN104407897A (en) * 2014-12-02 2015-03-11 厦门雅迅网络股份有限公司 Intelligent upgrading method and system for program
CN104461654A (en) * 2014-12-27 2015-03-25 西安大唐电信有限公司 OBD equipment function unit and firmware classification optional upgrading method
CN105182941B (en) * 2015-09-21 2018-11-02 深圳市家信信息科技开发有限公司 A kind of intelligent bicycle vehicle body device detection system based on bus
CN105182941A (en) * 2015-09-21 2015-12-23 深圳市家信信息科技开发有限公司 Intelligent bicycle body equipment detection system based on bus
CN105260215A (en) * 2015-11-04 2016-01-20 福建星海通信科技有限公司 Method of updating vehicle-mounted automobile data recorder terminal by USB flash disk
CN105871598A (en) * 2016-03-28 2016-08-17 上海斐讯数据通信技术有限公司 Router equipment and upgrade method of router equipment
CN105867985A (en) * 2016-04-25 2016-08-17 广州路派电子科技有限公司 Method for upgrading file through vehicle-mounted decoder software
CN105867985B (en) * 2016-04-25 2018-12-21 广州路派电子科技有限公司 A kind of method of vehicle-mounted decoder software upgrade file
CN106095505A (en) * 2016-06-13 2016-11-09 天脉聚源(北京)传媒科技有限公司 A kind of method and device of software upgrading
CN106325962A (en) * 2016-09-29 2017-01-11 未来汽车科技(深圳)有限公司 Vehicle software update method and vehicle software update device
CN109257203A (en) * 2017-07-14 2019-01-22 西安中兴新软件有限责任公司 A kind of upgrade method of vehicular communication equipment, device and vehicular communication equipment
CN107484078A (en) * 2017-09-29 2017-12-15 奇瑞汽车股份有限公司 Car audio system and its startup control method
CN108304210A (en) * 2018-02-07 2018-07-20 深圳市布谷鸟科技有限公司 A kind of upgrade method of automobile instrument panel
CN108304210B (en) * 2018-02-07 2021-08-06 深圳市布谷鸟科技有限公司 Upgrading method of automobile instrument panel
CN108762794A (en) * 2018-04-03 2018-11-06 深圳市布谷鸟科技有限公司 Meter panel of motor vehicle upgrade-system and its upgrade method
CN110377301A (en) * 2019-06-27 2019-10-25 深圳市点嘀互联网络有限公司 The intelligent interactive system and its upgrade method of the seamless connection vehicle device of sustainable upgrading
CN110851157A (en) * 2019-10-28 2020-02-28 上海旗旌科技有限公司 Method and equipment for updating vehicle-mounted terminal equipment system
WO2023168746A1 (en) * 2022-03-07 2023-09-14 深圳市德驰微视技术有限公司 Usb upgrading method and device of arm linux operating system based on domain controller platform

Similar Documents

Publication Publication Date Title
CN103870305A (en) Software upgrading method of vehicle-mounted sound box with USB (Universal Serial Bus) interface/memory card interface
CN101770384B (en) Car audio system software upgrading method
CN102289397B (en) Method and device for automatically restoring embedded system of set top box
CN102681857B (en) A kind of realize vehicle-mounted software system reparation or the method for upgrading, device
CN106095620B (en) A kind of development approach of built-in Linux partition holding
CN102298526A (en) Mechanism for upgrading programs of peripheral equipment based on single chips without external extended memories
CN102098182B (en) Method for restoring allocation of distributed equipment and distributed equipment
CN101271396A (en) Electronic device and method for on-line updating firmware
WO2012071945A1 (en) Method and device for backing up and upgrading bootstrap
CN111142907B (en) Partition upgrading method for off-line keyword recognition system
WO2014161339A1 (en) Firmware upgrade method and device
CN103761112A (en) Vehicle-mounted multimedia device and control method thereof
CN103927239A (en) Method and device for restoring system of terminal equipment
CN102521289B (en) File synchronization method, device and system
CN101930372A (en) System and method for updating programs
CN101169729A (en) Embedded type system and method for renewing application program
CN103744708A (en) Method of fixing disk device names in Linux operating system
CN113377384A (en) Program burning method and device, vehicle-mounted terminal and medium
KR101027415B1 (en) Managing system of operating system for vehicle, managing method and error detecting method of the same
CN104423993A (en) Automotive electronic equipment software updating method and terminal and automotive electronic system
WO2017080225A1 (en) Data partition recovery method and apparatus and terminal
CN107015829B (en) Audio system upgrading method and device
CN104220981A (en) Firmware package to modify active firmware
CN102594591A (en) Log collection method and device
CN106935272B (en) Method and device for opening eMMC back door debugging

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140618

RJ01 Rejection of invention patent application after publication