EfiO2Meter BootSequence

From efiHacks Wiki
Jump to: navigation, search

Contents

System Boot-Up Sequence Description

The efiO2Meter provides at Power-Up Configuration and System Information on the Serial Channel.

This Configuration Information is displayed in readable ASCII Data upon applying power to the system.

This information is helpful for identifying some of the following :

  • Factory Default Start-Up Data.
  • Calibration Data Values.
  • Configuration Data.
  • Component Specific Data.
  • Firmware Module Revisions.
  • Start of Main Loop.

efiO2Meter Boot-Up Sequence

In case of errors it might not display the complete Boot-Up Sequence data and be terminated with a system specific error message. This will help the tech support engineer to identify most hardware or firmware issues.

It is also possible that diagnostic messages can appear within the Boot-Up Sequence Data list.

The Boot-Up Sequence consists of the following items, where most of them are user configurable with the Configuration Commands.

System Boot-Up Sequence Description

This is the Boot-Up Sequence Start Point.

The "Amp'ed Rf" BlueTooth Modem needs the AT command "AT+AB HostEvent Disable" to prevent it to echo error messages on every sent line while there is no active BlueTooth connection established ...

 AT+AB HostEvent Disable 

The next line identifies the Product and Global Firmware Revision Number.

The Version Number consists of a 6 digit Day Code followed by a 2 digit Suffix.
There is always the possibility for a customer specific version or product specific release which would be indicated after the Global Firmware Revision Number.

 -------------------------------------------------

 efiO2Meter 130309a 

EE-Memory Calibration Data

This section lists the current System Calibration Values.

The "EE-cal read" will read the EE-Memory and the "EE-cal init" will re-write the EE-Memory in case of a Reset Factory Calibration Default RESR operation.
It is advisable to re-configure the System Calibration Values after issuing a RESR command and reboot the system again to verify that the proper values are in the right Calibration Parameters.

 EE-cal read

 adc v33 3270

 adj-0 out 047 sim 000
 adj-1 out 000 sim 000 

adc v33 (mv) is the system CPU and ADC reference voltage. For accurate Analog Data readings it is important that this calibration voltage matches the measured on board 3.3 V supply voltage.
This value is preset by the factory and only needs to be changed in case of a Reset Factory Calibration Default RESR which only provides a generic 3.3 V value, or in case of a major drift of the boards 3.3 V supply voltage. More info can be found at "no link yet".

adj-x out 047 sim 000 indicate the zero-offset compensation settings for the PWM analog data output out 047 mV and PWM analog NB O2 sensor simulation output sim 000 mV.
These values are preset by the factory and only need to be changed in case of a Reset Factory Calibration Default operation RESR.
This would provide more accuracy on the PWM analog outputs.

Advise, if not absolutely necessary, avoid to issue the RESR Reset Reference Data Settings command, which would potentially require the re-calibration of the unit as outlined at "no link yet".

EE-Memory Configuration Data

This Section lists the current System Configuration Data.

The "EE-cfg read" will read the EE-Memory and "EE-cfg init" will re-write the EE-Memory in case of a Reset Factory Calibration Default RESC operation.
It is advisable to re-configure the System Configuration Values after issuing a RESC command and reboot the system again to verify that the proper values are in the right Calibration Parameters.

 EE-cfg read 

 lsu-0 fsel 2 Gasoline  rsel 0 650_1500 
 lsu-0 cair 0 
 lsu-0 plim  0000  5000 -  0200  1650 
 lsu-0 dset 00650 30000 - 00850 00950 0 

 lsu-1 fsel 2 Gasoline  rsel 0 650_1500 
 lsu-1 cair 0 
 lsu-1 plim  0000  5000 -  0000  1650 
 lsu-1 dset 00650 30000 - 00950 01050 0 

 pid-0 xp 100  xi 100 
 pid-1 xp 100  xi 100 

 htr-0 timw 05000 
 htr-1 timw 05000 

 tps in0  0000 in1  5000 
 tps out0 0000 out1 0100 

 ext in0  0000 in1  5000 
 ext out0 0000 out1 5000 

 rpm div 001 acc 001 
 
 cjena 1.0 
 lsu49 1.1 
 strtm 3 

lsu-x fsel fidx rsel ridx this line identifies the fuel selection index fidx and display range select index ridx.

Note : be aware that the fidx need to match by measurement unit types (fuel type) and ridx range selection.

lsu-x cair 0 is not in use at this time.

lsu-x plim 0000 5000 - 0000 1650 contains the PWM output voltage min / max limits.
The 1st set of min / max pairs is for the Analog Voltage Output signal where the 2nd set of min / max pairs is for the O2-Simulation Output signal.

lsu-x dset 00650 30000 - 00850 00950 contains the PWM Lambda, O2 ... min / max limit measurement units selected by the Fuel Index command LSUF.

Note : this lsu-x dset ... only applies to the rsel ridx = 4, Custom Measurement Range selection, LSUR command.

pid-x xp 100 xi 100 contains the sensor heater PID control P-term xp 100 value and the I-term xi 100 value. One programmable set for each sensor.
Change of these PID control values might only be necessary in rare occasions of extreme changes from standard sensor operating conditions.

htr-x timw 05000 contains the sensor condense water evaporation warm-up time in ms. Displayed for each sensor, but settable only for both combined.

tps in0 0000 in1 5000
tps out0 0000 out1 0100
and
ext in0 0000 in1 5000
ext out0 0000 out1 5000 these lines identify the TPS and EXT analog input in0 / in1 voltage calibration points and the corresponding output data unit values out 0 / out 1.
This is a 2-point calibration and all inter- and extra-polated values are along this by 2 points defined line.

rpm div 001 acc 001 contains the RPM Pulse Input configuration values.
div 001 holds the divisor count for the pulse count of 2 engine revolutions.
acc 001 is the conversion factor for relative acceleration calculations on the timing variations of the RPM crank-shaft pulse train. not implemented at the moment.

LPC1347 CPU Specific Data

This section provides CPU specific information.

 iap.partid 08020543 
 iap.bootcv 0502 
 iap.uid    1818291f.53580254.4fa2b022.f5000003 

The Part-ID is the CPUs revision indicator.
The Boot Code Version identifies the CPUs ROM'ed Boot Code Version.
The UID are four 32-bit numbers which might be used as a board serial number to provide licensing information where applicable.

Cj125 Specific Data

This section provides information about the Cj125 sensor pre-processor ICs revision number as well as initial Cj125 specific SPI bus communications diagnostic. The diagnostic byte displays the CJ125 inverse data read.

 cj125 e8-63 rev_BB 
 init1 ec-88 
 init2 ee-02 

Firmware Module Revision List

This list helps identifying the firmware module revisions to find out if newer ones are available or help to find firmware problems.

The version number consists of a 6 digit day code followed by a 2 digit suffix.

 TCppMain : 130309.00 
 TMainRev : 130309.00 
 TMainRt  : 130309.00 
 TAdc     : 130309.00 
 TRpm     : 130309.00 
 TCj125   : 130309.00 
 TCrc8s   : 130309.00 
 TEEmem   : 130309.00 
 TPid     : 130309.00 
 THtr     : 130309.00 
 TIap     : 130309.00 
 TLsu     : 130309.00 
 TmcMon   : 130309.00 
 TmcCmd   : 130309.00 
 TPwm16a  : 130309.00 
 TPwm16b  : 130309.00 
 TPwm32a  : 130309.00 
 TPwm32b  : 130309.00 
 TPwm     : 130309.00 
 TRtRegH  : 130309.00 
 TRtMacH  : 130309.00 
 TRtDefs  : 130309.00 
 TRtData  : 130309.00 
 TSioProc : 130309.00 
 TSpi     : 130309.00 
 TTick    : 130309.00 
 TUart    : 130309.00 
 TEnCode  : 130309.00 
 TMemon   : 130309.00 
 TUniTalk : 130309.00 
 TSioTalk : 130309.00 
 TSioPkgs : 130309.00 
 mprint   : 130309.00  

System Specific Data

 _vStackTop     = 10002000 

At this time there is no need to display more System Specific Data


Start of Main Loop

 main loop 

From this point on there are only system measurement and occasionally configuration data transferred.

Occurring System Errors will also be displayed.

Basically the selected data transfer mode determines the readability of this data, i.e. binary data packages vs ASCII data stream.


Miscellaneous Main Loop Messages

Some of the messages displayed below will occur when switching operating modes and do not constitute errors and will be explained at the message relevant section in this efiO2Meter Wiki.

 h0-nop 
 XmtPkg.Busy 0013 
 XmtPkg.P err -4 
 XmtPkg.0 err -4 
 XmtPkg.1 err -4 
 XmtPkg.2.1 err -4 



Note : All published design documentation is Copyright efiLabs.com and its use is without exception FOR NON COMMERCIAL PURPOSE ONLY. For commercial licenses contact efilabs.com ... try us, we're reasonable :)

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox