CN101868378A - Method for writing control data into on-vehicle controller and on-vehicle controller - Google Patents

Method for writing control data into on-vehicle controller and on-vehicle controller Download PDF

Info

Publication number
CN101868378A
CN101868378A CN200980101033.2A CN200980101033A CN101868378A CN 101868378 A CN101868378 A CN 101868378A CN 200980101033 A CN200980101033 A CN 200980101033A CN 101868378 A CN101868378 A CN 101868378A
Authority
CN
China
Prior art keywords
data
transfer frame
control
nonvolatile memory
data transfer
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.)
Granted
Application number
CN200980101033.2A
Other languages
Chinese (zh)
Other versions
CN101868378B (en
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.)
Aisin AW Co Ltd
Original Assignee
Aisin AW 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
Priority claimed from JP2008078682A external-priority patent/JP5120010B2/en
Priority claimed from JP2008078681A external-priority patent/JP5120009B2/en
Application filed by Aisin AW Co Ltd filed Critical Aisin AW Co Ltd
Publication of CN101868378A publication Critical patent/CN101868378A/en
Application granted granted Critical
Publication of CN101868378B publication Critical patent/CN101868378B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/40Specific encoding of data in memory or cache
    • G06F2212/401Compressed data

Abstract

Disclosed is a method for writing control data into an on-vehicle controller wherein writing of a control program, or the like, on-vehicle controller can be carried out by either compressed into an data transfer or uncompressed data transfer without increasing the storage capacity of an RAM or a nonvolatile memory particularly or without increasing the read/write processing particularly. A first-kind transfer frame for uncompressed transfer of control data including a control program and reference data and a second-kind transfer frame for compressed transfer have an identical fixed size, and each transfer frame includes compression identification information indicating uncompressed/compressed. When a received transfer frame is uncompressed in an on-vehicle controller, control data of the frame is stored in a nonvolatile memory (27). When a received transfer frame is compressed, control data of the frame is written in an RAM (26) and decompression processing is started, decompressed control data is written in the RAM, the decompression processing is interrupted when the amount of the control data reaches a set level, decompressed control data is stored in the nonvolatile memory (27), and then decompression is resumed at the point of the interruption.

Description

Use the wiring method and the car upper controller of data to the control of car upper controller
Technical field
The present invention relates to car upper controller that the action of automatic equipment on the car is controlled and this car upper controller is write control program and/or is used to carry out the method for the comparable data of this program.The present invention is not limited only to this, can also be used for speed-change control device that the action of the automatic transmission with hydraulic torque converter on the car is controlled and the computing machine that the action of automatic equipment on other cars is controlled, controller (controller).
Background technology
Patent documentation 1:JP spy opens the 2003-202072 communique,
Patent documentation 2:JP spy opens the 2006-283832 communique,
Patent documentation 3:JP spy opens the 2001-034601 communique.
In patent documentation 1, put down in writing such controller of vehicle: calculate target velocity based on road information and motoring condition,, thereby make car speed become this target velocity by the speed change of automatic transmission with hydraulic torque converter on the computer controlled car.Zhang offer in patent and to have put down in writing such controller of vehicle in 2: utilize the CPU (central process unit) and the EEPROM (electricallyerasable ROM (EEROM)) of built-in RAM (random access memory), control automatic transmission with hydraulic torque converter based on MLP and engine mode of operation.
In patent documentation 3, (Micro computer: nonvolatile memory microcomputer) writes the method for control program to have put down in writing the single-chip microcomputer that is adopted to a lot of car upper controllers.(EPROM (EPROM (Erasable Programmable Read Only Memory)) EEPROM) is main body to microcomputer, and the memory capacity of RAM is littler than nonvolatile memory with CPU, RAM and nonvolatile memory.In first embodiment shown in Figure 1 of patent documentation 3, in order to shorten the delivery time of transmitting the control program that to store from exterior PROM (programmable read only memory) write device (Writer) to microcomputer (nonvolatile memory), control program is compressed the back to be transmitted, but control program is changed by the unit block (block) with the dummy section that can write RAM fully, is compressed transmission with block unit.But, after transmitting, to write, disproportionate with high compression is that bulk compressibility is low, in addition, when packed data is decompressed its expansion soon, compress transmission with the unit that can write the dummy section of RAM fully, it is few to cause the amount of compressed data of a block promptly to transmit data volume, and the effect of saving the delivery time is lower.Therefore, in a second embodiment, the packed data of the block unit of receiving control program and it is write after the RAM in order, write non-volatile memory again, if the packed data with whole control programs is stored in the nonvolatile memory, decompress after then from this nonvolatile memory, in order packed data being read out to RAM, with the data write non-volatile memory after decompressing.Thus, shorten to delivery time from PROM programmer, and can adopt the compress mode of high compression rate, further shorten the delivery time as the single-chip microcomputer transmission control procedure of control setup.
Summary of the invention
The problem of Xie Decision is Yaoed in invention
But nonvolatile memory needs to preserve concurrently the packed data and the expanding data of (maintenance) control program, so the memory capacity increase of nonvolatile memory must be used to preserve the capacity of packed data.In addition, when writing control program, must write same packed data twice to RAM, and must read writing and reading of packed data, cause the reading and writing data of RAM and nonvolatile memory to handle increase nonvolatile memory.
Yet, when writing the used comparable data of control program and/or this control program, under the situation of utilizing unpacked data to transmit and under the situation that packed data transmits, data transfer frame (frame) difference with PROM programmer or the generation of other means of conveyance, that carries out in the car upper controller of single-chip microcomputer etc. in addition, will receive the stores processor difference that data deposit nonvolatile memory in.But, have sometimes in the situation of wanting to transmit total data, and want to transmit data conditions with the mixing of packed data and unpacked data with unpacked data.Therefore especially, the used comparable data of control program changes the frequency height in design, exists to want situation about handling with the unpacked data of confirming easily.In addition, when writing specific recognition value, also exist and want to use and to be used as text data by cognitive unpacked data.
First purpose of the present invention is, utilizes the transmission of packed data or the transmission of unpacked data, can both realize to the car upper controller write, append write or partial update write control program or control comparable data; Second purpose of the present invention is, can the memory capacity of RAM and nonvolatile memory be increased because of realizing first purpose; The 3rd purpose of the present invention is, can not make the reading and writing data of RAM and nonvolatile memory handle increase especially because of realizing above-mentioned two purposes.
The method that is used to deal with problems
In order to reach above-mentioned purpose, the invention provides a kind of wiring method of using data towards the control of car upper controller, receive fixed size first kind of data transfer frame or with second kind of data transfer frame of the identical size of described fixed size, described first kind of data transfer frame contains and deposits in data and represent incompressible compression identifying information, described first kind of data transfer frame to deposit in data be that the incompressible described control that will be used to deposit in described nonvolatile memory is divided into a plurality of data with data and forms, second kind of data transfer frame contains the compression identifying information that deposits in data and represent to compress, the depositing in of described second kind of data transfer frame is divided into a plurality of data with compression control with data with data and forms, described compression control data are that the data that form are compressed in the described control that is used to deposit in described nonvolatile memory with data, when the compression identifying information of the data transfer frame that is received is represented non-compression, deposit depositing in of this data transfer frame in described nonvolatile memory with data, when the compression identifying information of the data transfer frame that is received is represented to compress, with depositing in of this data transfer frame with depositing described nonvolatile memory after the data decompression in, if this decompression that deposits in data finishes, then interrupt decompression, if receive next data transfer frame, then begin the decompression of using data that deposits in of this next data transfer frame from described interruption part, and deposit the data of gained after the described decompression in described nonvolatile memory, repeat to receive described data transfer frame and deposit the incompressible control data of this data transfer frame in, till the whole incompressible described control that is used to deposit in described nonvolatile memory is deposited in described nonvolatile memory with data to described nonvolatile memory.The control towards the car upper controller of the present invention that realizes this purpose is designated as (1) below with the wiring method of data.
(1) provide the wiring method of a kind of control towards the car upper controller with data,
This car upper controller has RAM and nonvolatile memory, described RAM is used for temporarily writing data, described nonvolatile memory is used for stored programme and control data, described program is used to control the action of automatic equipment on the car, described control contains the comparable data of using when carrying out this program with data
This car upper controller can utilize the control data of this nonvolatile memory, the status data of the state of automatic equipment on the expression car is kept among the described RAM, generate output data based on this status data of being preserved, control the action of automatic equipment on this car according to this output data
Described control is used for depositing described control the described nonvolatile memory of described car upper controller in data with method for writing data, and described control is characterised in that with method for writing data,
Receive fixed size first kind of data transfer frame or with second kind of data transfer frame of the identical size of described fixed size, described first kind of data transfer frame contains and deposits in data and represent incompressible compression identifying information, described first kind of data transfer frame to deposit in data be that the incompressible described control that will be used to deposit in described nonvolatile memory is divided into a plurality of data with data and forms, second kind of data transfer frame contains the compression identifying information that deposits in data and represent to compress, the depositing in of described second kind of data transfer frame is divided into a plurality of data with compression control with data with data and forms, described compression control data are that the data that form are compressed in the described control that is used to deposit in described nonvolatile memory with data
When the compression identifying information of the data transfer frame that is received is represented non-compression, deposit depositing in of this data transfer frame in described nonvolatile memory with data,
When the compression identifying information of the data transfer frame that is received is represented to compress, with depositing in of this data transfer frame with depositing described nonvolatile memory after the data decompression in, if this decompression that deposits in data finishes, then interrupt decompression, if receive next data transfer frame, then begin the decompression of using data that deposits in of this next data transfer frame, and deposit the data of gained after the described decompression in described nonvolatile memory from described interruption part
Repeat to receive described data transfer frame and deposit the incompressible control data of this data transfer frame in, till the whole incompressible described control that is used to deposit in described nonvolatile memory is deposited in described nonvolatile memory with data to described nonvolatile memory.
In addition, for easy understanding, corresponding key element or the corresponding item Reference numeral of mark aftermentioned embodiment shown in the drawings come reference as illustration in parantheses.Below also identical.
The effect of invention
Thus, the first kind of data transfer frame that transmits with non-compress mode all is identical fixed size with the second kind of data transfer frame that transmits with compress mode, therefore can be sent to the car upper controller with identical frame structure.Contain the compression identifying information in the data transfer frame, therefore can easily whether need select decompression based on this.For big control data, with its portioning, each part transmitted to the car upper controller as the data transfer frame respectively, therefore in RAM, only write and preserve a number according to transfer frame, and, as long as its capacity can be preserved as the control set amount of the unit that writes to nonvolatile memory, after decompressing with data, do not need to preserve simultaneously whole controls with the packed data of data and to the whole controls after this packed data decompression with the so big memory capacity of data.That is, need not increase the capacity of RAM in order to write.Do not handle owing to can not increase the read-write of RAM and nonvolatile memory especially, therefore can shorten the write time.
(2) as (1) the described wiring method of using data towards the control of car upper controller, it is characterized in that, described compression identifying information is an address date, this address date is used to specify the described control memory address of data on described nonvolatile memory, represent that incompressible described compression identifying information is this address date itself, the described compression identifying information of expression compression is represented outside the address realm of described nonvolatile memory.
In embodiment described later of the present invention, this address date is 3 bytes, " 01 " expression " compression " of upper 2 bits of its upper byte (byte ahead) (2 bits ahead), and " 00 " represents non-compression.In addition, under this situation, with regard to the maximum address of the storage area of nonvolatile memory, its bit is limited to " 0 ".The transmission elder generation address date of the first head (agreement) of data transfer frame is used for the compression identifying information, therefore make first kind of data transfer frame seem that with second kind of data transfer frame structure is identical, also transmit and the transmission of compression control data easily and with non-compression control data thus.
(3) provide a kind of car upper controller, have RAM and nonvolatile memory, described RAM is used for temporarily writing data, described nonvolatile memory is used for stored programme and control data, described program is used to control the action of automatic equipment on the car, described control contains the comparable data of using when carrying out this program with data, this car upper controller can utilize the control data of this nonvolatile memory, the status data of the state of automatic equipment on the expression car is kept among the described RAM, generate output data based on this status data of being preserved, control the action of automatic equipment on this car according to this output data
This car upper controller is characterised in that,
Receive the data transfer frame, this data transfer frame contains and is useful on the described control data that deposit described nonvolatile memory in, perhaps, what contain that the packed data that will control with data is divided into that a plurality of data form deposits in data and represents whether this deposits in data is the compression identifying information of packed data, whether no matter described to deposit in data be packed data, described data transfer frame all is identical fixed size
When the compression identifying information of the data transfer frame that is received is represented non-compression, deposit depositing in of this data transfer frame in described nonvolatile memory with data,
When the compression identifying information of the data transfer frame that is received is represented to compress, with depositing in of this data transfer frame with depositing described nonvolatile memory after the data decompression in, if this decompression that deposits in data finishes, then interrupt decompression, if receive next data transfer frame, then begin the decompression of using data that deposits in of this next data transfer frame, and deposit the data of gained after the described decompression in described nonvolatile memory from described interruption part
Repeat to receive described data transfer frame and deposit the incompressible control data of this data transfer frame in, till the whole incompressible described control that is used to deposit in described nonvolatile memory is deposited in described nonvolatile memory with data to described nonvolatile memory.
Thus, the first kind of data transfer frame that transmits with non-compress mode all is identical fixed size with the second kind of data transfer frame that transmits with compress mode, therefore can be sent to the car upper controller with identical frame structure.Contain the compression identifying information in the data transfer frame, therefore can easily whether need select decompression based on this.For big control data, with its portioning, each part transmitted to the car upper controller as the data transfer frame respectively, therefore in RAM, only write and preserve a number according to transfer frame, and, as long as its capacity can be preserved as the control set amount of the unit that writes to nonvolatile memory, after decompressing with data, do not need to preserve simultaneously whole controls with the packed data of data and to the whole controls after this packed data decompression with the so big memory capacity of data.That is, need not increase the capacity of RAM in order to write.Do not handle owing to can not increase the read-write of RAM and nonvolatile memory especially, therefore can shorten the write time.
(4) as (3) described car upper controller, it is characterized in that, described compression identifying information is an address date, this address date is used to specify the described control memory address of data on described nonvolatile memory, represent that incompressible described compression identifying information is this address date itself, the described compression identifying information of expression compression is represented outside the address realm of described nonvolatile memory.
Description of drawings
Fig. 1 is the block diagram of summary of the change control system of the expression car upper controller (22) of having equipped one embodiment of the present of invention.
Fig. 2 is the block diagram of the keystone configuration key element of expression microcomputer 22 shown in Figure 1.
The diagram of circuit of Fig. 3 control summary that to be expression CPU24 shown in Figure 2 implement according to EEPROM27 institute program stored.
The explanation of Reference numeral
25: versabus
The specific embodiment
With reference to accompanying drawing following embodiment is described, thereby makes the other objects and features of the invention more clear.
First embodiment
Fig. 1 has represented to equip the summary of change control system of the car upper controller of one embodiment of the present of invention.Automatic transmission with hydraulic torque converter 1 has: speed-changing mechanism, drive the oil hydraulic circuit of this speed-changing mechanism, to the through-flow electromagnetic valve group of controlling (solenoid valve group) of the oil pressure of this oil hydraulic circuit.Speed-changing mechanism is used for travel direction conversion, that is, be the rotary power that the wheel drive shaft rotation drives usefulness with the rotary power speed change of engine 3, and this speed-changing mechanism comprises: tor-con, be used to carry out planetary wheel mechanism of car, power-transfer clutch and the drg of multi-change speed.Oil hydraulic circuit comprises: Hydraulic Pump, a plurality of mechanical valve, cutoff port (orifices), fluid flowing path.The opening of each electromagnetic valve by being positioned at the electromagnetic valve group on this fluid flowing path (ON: open)/close (OFF: close) or oil pressure switches makes oil hydraulic circuit open (ON: apply)/close (OFF: remove) oil pressure to power-transfer clutch, the drg of speed-changing mechanism.Thus, the gear (Parking P retreats R, neutral N, the D that advances, S, L) of decision automatic transmission with hydraulic torque converter 1, in addition, the velocity stage (first speed~the 6th speed) that decision is advanced, retreated.In electromagnetic valve group, the electromagnetic valve of setting the usefulness of advancing is arranged, set the electromagnetic valve that the electromagnetic valve, setting speed level and the locking that retreat usefulness used.
To electronic control package (ECU) 2 input brake signals, the status signal of flow regulating valve (throttle) aperture signal, engine rotational speed signal, vehicle speed signal etc. and other should reference when decision gear and velocity stage status signal, and the gear indicator signal of the key of the expression driver's operation of input gear options button group (electric switch group) 4.ECU2, according to status signal and gear indicator signal, generate the opening of each electromagnetic valve (making screw actuator (solenoid) energising) of indication electromagnetic valve group/the close solenoid-operated signal of (non-energising), this solenoid-operated signal output to automatic transmission with hydraulic torque converter 1 built-in being used to made the solenoid driver (power-on circuit) of each screw actuator energising, this solenoid-operated signal is used to determine the gear that set and determines velocity stage, automatic transmission with hydraulic torque converter 1 is set at gear and the velocity stage that is determined.Make each electromagnetic valve energising thus, or stop energising.
ECU2 is made of IO interface (I/F) 21, IO interface (I/F) 23, gearbox controller 22.Described IO interface (I/F) 21 is used for, receive the status signal of the operating state of the operating state of expression engine and automatic transmission with hydraulic torque converter from engine 3 and automatic transmission with hydraulic torque converter 1, in addition, the gear that receives gear options button group 4 is selected signal, exports to automatic transmission with hydraulic torque converter 1 such as the indicator signal (operation signal) of the opening/closing of the various electromagnetic valves of the oil hydraulic circuit of automatic transmission with hydraulic torque converter 1, oil pressure switching etc.; Described IO interface (I/F) 23 is used for, from receiving the driving condition of expression vehicle, the status signal of motoring condition, with the transmission state signal output of the operating state of expression automatic transmission with hydraulic torque converter 1 system controller VSCC to the car as system controller VSCC on the car of the master controller of computer system on the car; Described gearbox controller 22 is used to utilize the variable speed control program as the car upper controller of one embodiment of the invention, generates the operation output data according to the input state signal, and exports the data that generated to I/F21.
The operation output data is decoded into the transmission operating signal in I/F21, this transmission operating signal is output to the solenoid driver of automatic transmission with hydraulic torque converter 1.In the present embodiment, gearbox controller 22 uses single-chip microcomputer (microcomputer), according to microcomputer 22 in-to-ins as the nonvolatile memory (being EEPROM27 in the present embodiment) of program store in the variable speed control program of storage, with the input state signal accordingly (according to the input state signal) generate the control output data and export it to I/F21.
Fig. 2 represents the keystone configuration key element of microcomputer 22.Microcomputer 22 has CPU24, versabus 25, RAM26, as the EEPROM and the input/output port 28 of nonvolatile memory.In variable speed control, RAM261 preserve by I/F21 with a byte (byte) be unit integrated the status data of status signal (incoming signal), and temporary transient preservation the: the data of the pilot process of inputoutput data such as the service data that is used to export to automatic transmission with hydraulic torque converter 1 and the status data that is used to export to system controller VSCC on the car and computing, logical process with inferior data.
EEPROM27 is the operation program of non-volatile preservation CPU24 and the memory device of comparable data, in the present embodiment, write the zone 273 except in EEPROM27, being set with " control data ", also be set with preamble and write zone 271, described " control data " writes zone 273 and is used for storage (installation: install) comparable data (the velocity stage data boundary of decision speed change characteristic, locking data boundary etc.).Below, variable speed control program and comparable data are generically and collectively referred to as " control data ".Data write state when Fig. 2 represents that CPU24 is installed to microcomputer 22 in-to-ins as the EEPROM27 of nonvolatile memory according to preamble with " control use data ".
When microcomputer 22 was installed " control data ", as shown in Figure 2, will store (dress) via I/F23 had the instrument that writes 29 of data transfer frame to be connected to input/output port 28, described enrolled in the data transfer frame " control data ".In the present embodiment, be used to transmit, be divided into first kind and second kind of these two kinds of data transfer frame from writing the data transfer frame of instrument 29 to " the control data " of microcomputer 22 installations.
In the present embodiment, first kind of data transfer frame, writing of the non-compression " control data " of " first set amount " of the size that transmits data regional added the agreement (protocol) that writes address date (3 byte) that contains EEPROM27 ahead, the size of described transmission data is fixed amounts below 1/2 of the vacant capacity of the RAM26 when beginning this installation.
Second kind of data transfer frame, the packed data of " control use data " should " first set amount " write regional ahead, added the agreement that writes address date (3 byte) that contains EEPROM27, and, make 3 byte address data the upper byte upper 2 bits (2 bits ahead) for the expression " compression " " 01 ".This address date has represented to exceed the address of the maximum address that writes the zone of EEPROM27, that is, expression breaks away from the address of (exceeding) storage area.The actual address of this situation data representation that this 2 bit is changed to " 00 ".That is, be rewritten as " 00 ", thereby obtain the actual address data by " 01 " with this 2 bit.Write the actual address that address date represents this 2 bit is changed to " 00 " in aforementioned first kind of data transfer frame.In addition, also can replace and be rewritten as " 00 " by " 01 " with 2 bits and obtain this mode of actual address, but with actual address storage (dress) in packed data, obtain actual address by packed data is decompressed.
Utilizing first kind of data transfer frame to transmit under the situation of incompressible " control data " to microcomputer, in writing instrument 29, whole amounts at incompressible " control data " surpass under the situation of described " first set amount ", with " first set amount " is that whole amounts are cut apart in unit, generates the incompressible first kind of data transfer frame respectively cut apart and is kept in the instrument of writing 29.
Utilizing second kind of data transfer frame to transmit under the situation of " control data " compressed to microcomputer, compression " control data " in writing instrument 29, whole amounts at packed data surpass under the situation of " first set amount ", with " set amount " is that packed data is cut apart in unit, generates second kind of data transfer frame of the packed data respectively cut apart and is kept in the instrument of writing 29.Fig. 2 represents to generate like this second kind of data transfer frame and it is kept at state in the instrument of writing 29.
After propping up, power supply opening contains program 272 in the preamble 271 of starting at once, in the present embodiment, this program 272 is used for the compression (compression to above-mentioned second kind of data transfer frame, encryption) " control data " decompresses and (launches, deciphering), utilize this gunzip 272 that compression " control data " is decompressed.That is, revert to incompressible " control data ".
Fig. 3 represents CPU24's " control data " summary of install handling.If opening power applies operation voltage, then CPU24 starting preamble 271 (step s1) according to this preamble, judges whether write connectivity port (communication port of 1/O28) is connected with the instrument of writing (step s2).In addition, below in parantheses, omit " step " speech, only put down in writing the step distinguishing mark.
If do not connect the instrument 29 that writes, then CPU24 starting control program writes the control program in zone 273, begins variable speed control (s2-s11-s12) according to this control program.
But, do not write under the situation of instrument 29 having to connect, communicate with writing instrument 29, receive first data transfer frame and it is write RAM26 (s2~s4).Then, data (compression identifying information) according to upper 2 bits of the upper byte that writes address date of 3 bytes of received frame, if it is " 00 ", then directly " control data " of first data transfer frame write this 3 byte of expression among the EEPROM27 address date address (address, top) afterwards (s5, s6).
At the compression identifying information is under the situation of " 01 ", utilize gunzip that " control data " (packed data) of first data transfer frame decompressed, " control data " after decompressing is accumulated among the RAM26, if accumulation becomes more than described " set amount ", then interrupt decompressing, in EEPROM27 (s5-s7~s9), described particular data is meant that upper 2 bits (compression identifying information) with the address date of this 3 byte change the data that read " 00 " into by writing after the address shown in the particular data (address, top).Then, begin to proceed once more decompress (s10-s7) from the next packed data that interrupts, in addition, " control data " that has decompressed is if amount becomes more than " second set amount " of the unit-sized that writes " control data ", then interrupt decompressing, the next address of the final address that has write previous control data in EEPROM27 writes later on.Like this, at every turn be " second set amount " when above, interrupt decompressing, " control data " that decompresses write EEPROM27, if write end then proceed decompression once more in " control data " quantitative change that has decompressed.
In addition, first set amount is different with second set amount, and first set amount is the size that transmits data, and second set amount is the size that writes the unit of " control data " after the decompression.
If the decompression of the compression of first data transfer frame " control data " finishes, then interrupt decompressing, the control data that has decompressed is write EEPROM27.
If " control data " of first data transfer frame write the EEPROM27 end, then CPU24 transmits " READY " (being ready to) to writing instrument 29, in response to this, write instrument 29 with second number according to transfer frame be sent to microcomputer 22 (s3, s4).
Is under the situation of non-compression in this second number according to the transmission data of transfer frame, the data handing of CPU24 identical with the processing of the situation that receives above-mentioned first data transfer frame (s5, s6).
Is under the situation of packed data in second number according to " control data " of transfer frame, utilize second number to continue to carry out the decompression of having interrupted once more, " control data " after decompressing write after the next address that writes the end address of " control data " of first (before receiving) the data transfer frame among the EEPROM27 according to " control data " of transfer frame.Other handle identical (s5-s7~s10) with the processing of the situation of above-mentioned first data transfer frame of reception.
The reception of the 3rd later data transfer frame is handled and is handled identical with above-mentioned second number according to the reception of transfer frame.Take in zone (accommodating area) at " control data " of initial data transfer frame, write the data size information after the decompression.If detecting whole packed datas decompressions according to the data size information after decompressing, finishes CPU24, " control data " that then will be accumulated in the last data transfer frame among the RAM writes EEPROM27, after the post-processing that writes end executes, the starting control program writes the control program in zone 273, begins variable speed control (s10-s3-s11-s12) according to this control program.In addition, also can carry out like this: " control data " taken in the zone at " control data " of last data transfer frame writes end (end) information afterwards, take in regional mode to replace " control data " that data size information after will decompressing writes initial data transfer frame, and, if CPU24 detects this ending message, " control data " that then will be accumulated in the last data transfer frame among the RAM writes EEPROM27, after the post-processing that writes end executed, the starting control program write the control program in zone 273.
According to this embodiment, the first kind of data transfer frame that transmits with non-compress mode all is identical fixed size with the second kind of data transfer frame that transmits with compress mode, therefore can be sent to the car upper controller with identical frame structure.Contain the compression identifying information in the data transfer frame, therefore can easily whether need select decompression based on this.For big control data, be divided into n part, each part transmitted to microcomputer 22 as the data transfer frame respectively from first to n, and deposit them in EEPROM27 as non-volatile program store, in RAM26, only write and preserve a number according to transfer frame, and, as long as its capacity can be preserved as the set amount of the unit that writes to EEPROM27, control after the decompression gets final product with data, do not need to preserve simultaneously whole controls with data (1~n) packed data and this packed data decompressed after whole controls with the so big memory capacity of data.Can not increase especially at the same data write of RAM26 and EEPROM2727 yet and handle.
In this embodiment, in the decompression of a number according to the compression " control data " of transfer frame, if the control after RAM26 writes decompression with data and the control data amount after decompressing reach set amount, then interrupt decompression, deposit the control after decompressing in EEPROM27 with data, continue to carry out decompression again from interruptions then, repeat this decompression and deposit processing in to what nonvolatile memory carried out, up to this number according to the compression control of transfer frame with data whole decompress(ion)s contract deposit described nonvolatile memory in till, therefore can not produce RAM and overflow.In this embodiment, owing to this set amount is set at below 1/2 of vacant capacity of RAM26, therefore can not increase the memory capacity of RAM26 especially, and can realize using first kind of data transfer frame non-compression control data transmission and to the processing that deposits in of EEPROM27, also can realize certainly using second kind of data transfer frame compression control data transmission and to the decompression stores processor of EEPROM27.

Claims (4)

1. one kind to the control of the car upper controller wiring method with data,
This car upper controller has RAM and nonvolatile memory, described RAM is used for temporarily writing data, described nonvolatile memory is used for stored programme and control data, described program is used to control the action of automatic equipment on the car, described control contains the comparable data of using when carrying out this program with data
This car upper controller can utilize the control data of this nonvolatile memory, the status data of the state of automatic equipment on the expression car is kept among the described RAM, generate output data based on this status data of being preserved, control the action of automatic equipment on this car according to this output data
Described control is used for depositing described control the described nonvolatile memory of described car upper controller in data with method for writing data, and described control is characterised in that with method for writing data,
Receive fixed size first kind of data transfer frame or with second kind of data transfer frame of the identical size of described fixed size, described first kind of data transfer frame contains and deposits in data and represent incompressible compression identifying information, described first kind of data transfer frame to deposit in data be that the incompressible described control that will be used to deposit in described nonvolatile memory is divided into a plurality of data with data and forms, second kind of data transfer frame contains the compression identifying information that deposits in data and represent to compress, the depositing in of described second kind of data transfer frame is divided into a plurality of data with compression control with data with data and forms, described compression control data are that the data that form are compressed in the described control that is used to deposit in described nonvolatile memory with data
When the compression identifying information of the data transfer frame that is received is represented non-compression, deposit depositing in of this data transfer frame in described nonvolatile memory with data,
When the compression identifying information of the data transfer frame that is received is represented to compress, with depositing in of this data transfer frame with depositing described nonvolatile memory after the data decompression in, if this decompression that deposits in data finishes, then interrupt decompression, if receive next data transfer frame, then begin the decompression of using data that deposits in of this next data transfer frame, and deposit the data of gained after the described decompression in described nonvolatile memory from described interruption part
Repeat to receive described data transfer frame and deposit the incompressible control data of this data transfer frame in, till the whole incompressible described control that is used to deposit in described nonvolatile memory is deposited in described nonvolatile memory with data to described nonvolatile memory.
2. the control to the car upper controller as claimed in claim 1 is characterized in that with the wiring method of data,
Described compression identifying information is an address date, and this address date is used to specify the described control memory address of data on described nonvolatile memory,
Represent that incompressible described compression identifying information is this address date itself,
The described compression identifying information of expression compression is represented outside the address realm of described nonvolatile memory.
3. car upper controller, have RAM and nonvolatile memory, described RAM is used for temporarily writing data, described nonvolatile memory is used for stored programme and control data, described program is used to control the action of automatic equipment on the car, described control contains the comparable data of using when carrying out this program with data, this car upper controller can utilize the control data of this nonvolatile memory, the status data of the state of automatic equipment on the expression car is kept among the described RAM, generate output data based on this status data of being preserved, control the action of automatic equipment on this car according to this output data
This car upper controller is characterised in that,
Receive the data transfer frame, this data transfer frame contains and is useful on the described control data that deposit described nonvolatile memory in, perhaps, what contain that the packed data that will control with data is divided into that a plurality of data form deposits in data and represents whether this deposits in data is the compression identifying information of packed data, whether no matter described to deposit in data be packed data, described data transfer frame all is identical fixed size
When the compression identifying information of the data transfer frame that is received is represented non-compression, deposit depositing in of this data transfer frame in described nonvolatile memory with data,
When the compression identifying information of the data transfer frame that is received is represented to compress, with depositing in of this data transfer frame with depositing described nonvolatile memory after the data decompression in, if this decompression that deposits in data finishes, then interrupt decompression, if receive next data transfer frame, then begin the decompression of using data that deposits in of this next data transfer frame, and deposit the data of gained after the described decompression in described nonvolatile memory from described interruption part
Repeat to receive described data transfer frame and deposit the incompressible control data of this data transfer frame in, till the whole incompressible described control that is used to deposit in described nonvolatile memory is deposited in described nonvolatile memory with data to described nonvolatile memory.
4. car upper controller as claimed in claim 3 is characterized in that,
Described compression identifying information is an address date, and this address date is used to specify the described control memory address of data on described nonvolatile memory,
Represent that incompressible described compression identifying information is this address date itself,
The described compression identifying information of expression compression is represented outside the address realm of described nonvolatile memory.
CN200980101033.2A 2008-03-25 2009-02-24 Method for writing control data into on-vehicle controller and on-vehicle controller Expired - Fee Related CN101868378B (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP2008078682A JP5120010B2 (en) 2008-03-25 2008-03-25 Method of writing control data to on-vehicle control device and on-vehicle control device
JP2008-078681 2008-03-25
JP2008078681A JP5120009B2 (en) 2008-03-25 2008-03-25 Method of writing control data to on-vehicle control device and on-vehicle control device
JP2008-078682 2008-03-25
PCT/JP2009/053248 WO2009119224A1 (en) 2008-03-25 2009-02-24 Method for writing control data into on-vehicle controller and on-vehicle controller

Publications (2)

Publication Number Publication Date
CN101868378A true CN101868378A (en) 2010-10-20
CN101868378B CN101868378B (en) 2013-03-13

Family

ID=41113431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200980101033.2A Expired - Fee Related CN101868378B (en) 2008-03-25 2009-02-24 Method for writing control data into on-vehicle controller and on-vehicle controller

Country Status (4)

Country Link
US (1) US7987300B2 (en)
CN (1) CN101868378B (en)
DE (1) DE112009000047B4 (en)
WO (1) WO2009119224A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107422658A (en) * 2011-09-21 2017-12-01 日立汽车系统株式会社 Programing change acquisition methods
CN107713992A (en) * 2013-03-15 2018-02-23 雅培糖尿病护理公司 Data handling system

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008008646A1 (en) * 2008-02-11 2009-08-13 Robert Bosch Gmbh CNC control and data transmission method
US8370544B2 (en) * 2009-07-23 2013-02-05 Stec, Inc. Data storage system with compression/decompression
JP5522155B2 (en) * 2011-12-09 2014-06-18 株式会社デンソー Program rewriting method, program rewriting device, and electronic control device
US20140108704A1 (en) * 2012-10-16 2014-04-17 Delphi Technologies, Inc. Data decompression method for a controller equipped with limited ram
KR102005227B1 (en) * 2013-03-12 2019-07-30 삼성전자 주식회사 Data processing system and method for operating the same
US11010765B2 (en) 2016-06-29 2021-05-18 Square, Inc. Preliminary acquisition of payment information
US10817869B2 (en) 2016-06-29 2020-10-27 Square, Inc. Preliminary enablement of transaction processing circuitry
JP6851110B2 (en) * 2016-10-31 2021-03-31 日立Astemo株式会社 Electronic control device
US10990969B2 (en) 2018-12-21 2021-04-27 Square, Inc. Point of sale (POS) systems and methods for dynamically processing payment data based on payment reader capability
US11049095B2 (en) 2018-12-21 2021-06-29 Square, Inc. Point of sale (POS) systems and methods with dynamic kernel selection
US10762196B2 (en) 2018-12-21 2020-09-01 Square, Inc. Point of sale (POS) systems and methods with dynamic kernel selection

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07129079A (en) * 1993-11-04 1995-05-19 Fuji Electric Co Ltd Method for installing programming loader
US5875454A (en) * 1996-07-24 1999-02-23 International Business Machiness Corporation Compressed data cache storage system
US6879266B1 (en) * 1997-08-08 2005-04-12 Quickshift, Inc. Memory module including scalable embedded parallel data compression and decompression engines
DE19836748C1 (en) * 1998-08-13 2000-04-20 Siemens Ag Method for applying control data of an electronic motor vehicle control unit
US20010054131A1 (en) * 1999-01-29 2001-12-20 Alvarez Manuel J. System and method for perfoming scalable embedded parallel data compression
JP2001034601A (en) * 1999-07-21 2001-02-09 Nec Ic Microcomput Syst Ltd Method of writing data to nonvolatile memory built into one-chip microcomputer
US20040201765A1 (en) * 2001-03-19 2004-10-14 Gammenthaler Robert S. In-car digital video recording with MPEG compression
JP3970025B2 (en) 2001-12-28 2007-09-05 アイシン・エィ・ダブリュ株式会社 VEHICLE CONTROL DEVICE, CONTROL METHOD, AND CONTROL PROGRAM
US6674373B1 (en) * 2002-07-03 2004-01-06 Storage Technology Corporation System and method for data decompression
US7170400B2 (en) * 2004-05-20 2007-01-30 Lear Corporation System for customizing settings and sounds for vehicle
JP4294001B2 (en) 2005-03-31 2009-07-08 ジヤトコ株式会社 Vehicle control device
US8244883B2 (en) * 2006-08-03 2012-08-14 Citrix Systems, Inc. Systems and methods of for providing multi-mode transport layer compression
JP2008056193A (en) * 2006-09-04 2008-03-13 Nippon Seiki Co Ltd Vehicular display unit
US7975109B2 (en) * 2007-05-30 2011-07-05 Schooner Information Technology, Inc. System including a fine-grained memory and a less-fine-grained memory

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107422658A (en) * 2011-09-21 2017-12-01 日立汽车系统株式会社 Programing change acquisition methods
CN107422658B (en) * 2011-09-21 2020-03-10 日立汽车系统株式会社 Program change acquisition method
CN107713992A (en) * 2013-03-15 2018-02-23 雅培糖尿病护理公司 Data handling system

Also Published As

Publication number Publication date
US20090248912A1 (en) 2009-10-01
DE112009000047T5 (en) 2010-09-16
CN101868378B (en) 2013-03-13
DE112009000047B4 (en) 2015-12-03
WO2009119224A1 (en) 2009-10-01
US7987300B2 (en) 2011-07-26

Similar Documents

Publication Publication Date Title
CN101868378B (en) Method for writing control data into on-vehicle controller and on-vehicle controller
CN102639895B (en) Method for quickly filling a hydraulically actuated multiple disc shifting element of a motor vehicle transmission
CN101454746B (en) Method for communication with a multi-function memory card
CN101687447A (en) Universal tire pressure monitoring sensor
US6371162B1 (en) Electric actuator for fluid control valves
CN101266585B (en) Direct storage access controller data-transmission system and method
EP1854687A2 (en) Electronic control system for vehicle and control method thereof
US20150057894A1 (en) Vehicle control system and virtual electronic control unit development method
CN102866683B (en) Signal conversion device and automatic testing system
US20110270423A1 (en) Method for transferring parameter data in the case of uploading and/or downloading parameter settings between field devices and/or a control station
US8036786B2 (en) On-vehicle control apparatus
WO2017200682A1 (en) A computer program product, system, and method for dynamically increasing the capacity of a storage device
CN204415057U (en) tire pressure monitoring device
CN103348588A (en) Current control device
US11126382B2 (en) SD card-based high-speed data storage method
US20200174781A1 (en) Method and Device for Updating Software
CN108138505A (en) The self adaptive control of hydraulic tool on remote control robot for disassembling work
CN203412029U (en) Water supply system
CN1333333C (en) Code flow broadcast card and driving method of code flow collection card
CN102745083B (en) Automobile cruise control system and control method thereof
CN102222054A (en) Data transmission device, method and controller
JP5120009B2 (en) Method of writing control data to on-vehicle control device and on-vehicle control device
JP5120010B2 (en) Method of writing control data to on-vehicle control device and on-vehicle control device
WO2000017764A1 (en) Device driver for automatic conversion of device type data
CN101561760B (en) Method for upgrading firmware of interface card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130313

Termination date: 20180224

CF01 Termination of patent right due to non-payment of annual fee