SVN:
https://svn.code.sf.net/p/rusefi/code/branches/20150227_fatal_issue/Same stuff as one zip:
https://svn.code.sf.net/p/rusefi/code/branches/20150227_fatal_issue.zipThere I have the firmware, Makefile, Eclipse and IAR project. By the way I would need to check if I can actually reproduce this issue with IAR.
Once the firmware starts on stm32f4, it starts a virtual serial port over USB. Also in the bundle there is a java testing utility rusefi_console.jar
Code: Select all
java -cp rusefi_console.jar com.rusefi.EnduranceTest COM41
where COM41 is the serial port name.
Blue LED is blinking to show that the code is alive. Once it does not blink that means the code is dead
RED led means fatal error, it now goes on because of assertVtList in chSysTimerHandlerI
This time it took 62 minutes and 456 cycles of test to get to the error
Fri Feb 27 09:02:14 EST 2015<EOT>: Starting COM41
Fri Feb 27 09:02:14 EST 2015<EOT>: SerialConnector: connecting
Fri Feb 27 09:02:14 EST 2015<EOT>: Sending command [set_engine_type 3]
Fri Feb 27 09:02:14 EST 2015<EOT>: postMessage CommandQueue: SerialIO started
Fri Feb 27 09:02:14 EST 2015<EOT>: Opening COM41 @ 115200
Fri Feb 27 09:02:27 EST 2015<EOT>: Starting COM41
Fri Feb 27 09:02:27 EST 2015<EOT>: SerialConnector: connecting
...
...
...
...
...
Fri Feb 27 10:06:41 EST 2015<EOT>: postMessage EngineState: setting fan No
Fri Feb 27 10:06:41 EST 2015<EOT>: postMessage EngineState: setting pump No
Fri Feb 27 10:06:41 EST 2015<EOT>: postMessage EngineState: setting fan No
Fri Feb 27 10:06:41 EST 2015<EOT>: ++++++++++++++++++++++++++++++++++++ 456 +++++++++++++++
Fri Feb 27 10:06:41 EST 2015<EOT>: Sending command [set_engine_type 3]
Fri Feb 27 10:06:41 EST 2015<EOT>: Sending [sec!17!set_engine_type 3]
Fri Feb 27 10:06:41 EST 2015<EOT>: postMessage PortHolder: Sending [sec!17!set_engine_type 3]
Fri Feb 27 10:06:41 EST 2015<EOT>: EngineState: unexpected header: sec!17!set_engine_type 3 while looking for line:
Fri Feb 27 10:06:42 EST 2015<EOT>: msg,setting pump No,msg,setting fan No,msg,setting pump No,msg,setting fan No,msg,setting pump No,msg,setting fan No,msg,confirmation_set_engine_type 3:17,msg,applyNonPersistentConfiguration(),msg,initializeTriggerShape(),msg, !!!!!!!!!!!!!!!!!!!! BE SURE NOT WRITE WITH IGNITION ON !!!!!!!!!!!!!!!!!!!!,msg,flash compatible with 6667,msg,Reseting flash: size=15172,msg,Flashing with CRC=208,msg,Flash programmed in (ms): 65,msg,Flashing result: 0,msg,Template Aspire/3 trigger TT_FORD_ASPIRE/LM_PLAIN_MAF,msg,configurationVersion=928,msg,RPM bin: 800.00 1213.32 1626.65 2040.00 2453.32 2866.65 3280.00 3693.32 4106.65 4520.00 4933.33 5346.65 5760.00 6173.33 6586.65 7000.00 ,msg,Y bin: 1.19 1.40 1.62 1.83 2.04 2.25 2.48 2.69 2.89 3.11 3.32 3.53 3.75 3.97 4.17 4.40 ,msg,CLT: 1.50 1.50 1.41 1.36 1.27 1.19 1.12 1.10 1.05 1.05 1.02 1.00 1.00 1.00 1.00 1.00 ,msg,CLT bins: -40.00 -30.00 -20.00 -10.00 0.00 10.00 20.00 30.00 40.00 50.00 60.00 70.00 80.00 90.00 100.00 110.00 ,msg,IAT: 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 1.00 ,msg,IAT bins: -40.00 -30.00 -20.00 -10.00 0.00 10.00 20.00 30.00 40.00 50.00 60.00 70.00 80.00 90.00 100.00 110.00 ,msg,vBatt: 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 ,
This is where I am stuck. I am pretty sure it could be my bug but I need advice on how to catch it while it develops - that's if I corrupt Chibi memory region.