Closed rusefillc closed 1 year ago
i believe that rev B in original form is not sending not receiving CAN messages
testing in "rusEFI broadcast" mode with CAN hacker. Same test works on rev A in OEM configuration
@andreika-git what tests/changes would you suggest on rev B to get CAN to work?
correction: I was confused by silkscreen
now that I've soldered proper C5 & C6 I have CAN rx and tx working
CAN standby does not work as expected - I get board stand-by and reboot right away :(
@andreika-git asking for start up log
@rusefillc TODO https://github.com/rusefi/rusefi/issues/3990
@andreika-git some board ID messages
2022-03-12_14_43_23_018: ConsoleUI: COMPOSITE_OFF_RPM=300
2022-03-12_14_43_23_987: EngineState: initHardware()
2022-03-12_14_43_23_987: EngineState: led: CRITICAL status on PG0
2022-03-12_14_43_23_987: EngineState: initRtc()
2022-03-12_14_43_23_988: EngineState: engine chart: No
2022-03-12_14_43_23_988: EngineState: engine chart size=0
2022-03-12_14_43_23_988: EngineState: USB DM on PA11
2022-03-12_14_43_24_022: EngineState: USB DP on PA12
2022-03-12_14_43_24_022: EngineState: *** rusEFI LLC (c) 2012-2022. All rights reserved.
2022-03-12_14_43_24_022: EngineState: *** rusEFI v20220312@37012
2022-03-12_14_43_24_028: EngineState: *** Chibios Kernel: 6.1.4
2022-03-12_14_43_24_031: EngineState: *** Compiled: Mar 12 2022 - 17:16:38
2022-03-12_14_43_24_034: EngineState: *** COMPILER=9.3.1 20200408 (release)
2022-03-12_14_43_24_034: EngineState: *** detected HSE clock 20.04 MHz PLLM = 20
2022-03-12_14_43_24_038: EngineState: UID=310035 35305118 38323431
2022-03-12_14_43_24_038: EngineState: can read 0x20000010 1
2022-03-12_14_43_24_041: EngineState: can read 0x20020010 0
2022-03-12_14_43_24_042: EngineState: can read 0x20070010 0
2022-03-12_14_43_24_044: EngineState: MCU rev=413 flashSize=1024
2022-03-12_14_43_24_047: EngineState: CORTEX_MAX_KERNEL_PRIORITY=2
2022-03-12_14_43_24_047: EngineState: STM32_ADCCLK=21000000
2022-03-12_14_43_24_050: EngineState: STM32_TIMCLK1=84000000
2022-03-12_14_43_24_050: EngineState: STM32_TIMCLK2=168000000
2022-03-12_14_43_24_051: EngineState: STM32_PCLK1=42000000
2022-03-12_14_43_24_053: EngineState: STM32_PCLK2=84000000
2022-03-12_14_43_24_054: EngineState: PORT_IDLE_THREAD_STACK_SIZE=32
2022-03-12_14_43_24_057: EngineState: CH_DBG_ENABLE_ASSERTS=1
2022-03-12_14_43_24_058: EngineState: CH_DBG_SYSTEM_STATE_CHECK=1
2022-03-12_14_43_24_061: EngineState: CH_DBG_ENABLE_STACK_CHECK=1
2022-03-12_14_43_24_063: EngineState: EFI_LOGIC_ANALYZER=0
2022-03-12_14_43_24_063: EngineState: EFI_TUNER_STUDIO=1
2022-03-12_14_43_24_065: EngineState: EFI_SIGNAL_EXECUTOR_SLEEP=0
2022-03-12_14_43_24_067: EngineState: EFI_SIGNAL_EXECUTOR_HW_TIMER=0
2022-03-12_14_43_24_067: EngineState: EFI_SHAFT_POSITION_INPUT=1
2022-03-12_14_43_24_069: EngineState: EFI_INTERNAL_ADC=1
2022-03-12_14_43_24_070: EngineState: readFromFlash 80E0000
2022-03-12_14_43_24_071: EngineState: Reading second configuration copy
2022-03-12_14_43_24_072: EngineState: readFromFlash 80C0000
2022-03-12_14_43_24_073: EngineState: applyNonPersistentConfiguration()
2022-03-12_14_43_24_074: EngineState: initializeTriggerWaveform(TT_TOOTHED_WHEEL_60_2/8)
2022-03-12_14_43_24_075: EngineState: Hellen board pin states = 0 1
2022-03-12_14_43_24_077: EngineState: * Hellen 144-pin mcu detected!
2022-03-12_14_43_24_079: EngineState: Starting Hellen Board ID detection...
2022-03-12_14_43_24_079: EngineState: boardId on PF1
2022-03-12_14_43_24_080: EngineState: boardId on PF1
2022-03-12_14_43_24_080: EngineState: boardId on PF1
2022-03-12_14_43_24_080: EngineState: boardId on PF0
2022-03-12_14_43_24_081: EngineState: boardId on PF0
2022-03-12_14_43_24_081: EngineState: boardId on PF0
2022-03-12_14_43_24_081: EngineState: * RESULT: BordId = 3, R1 = 510.000000000, R2 = 1000.000000000 (Elapsed time: 308 ms)
2022-03-12_14_43_24_081: EngineState: Primary UART RX on PD5
2022-03-12_14_43_24_082: EngineState: Primary UART TX on PD6
2022-03-12_14_43_24_082: EngineState: led: comm status on PE7
2022-03-12_14_43_24_082: EngineState: led: warning status on PE8
2022-03-12_14_43_24_082: EngineState: led: running status on PG1
2022-03-12_14_43_24_083: EngineState: a-EN on PG14
2022-03-12_14_43_24_083: EngineState: a-tach on PD3
2022-03-12_14_43_24_083: EngineState: a-temp on PG5
2022-03-12_14_43_24_084: EngineState: a-crank-p on PA9
2022-03-12_14_43_24_084: EngineState: a-crank-n on PD2
2022-03-12_14_43_24_084: EngineState: a-2step on PG3
2022-03-12_14_43_24_084: EngineState: a-cam on PG4
2022-03-12_14_43_24_084: EngineState: initAdcInputs()
2022-03-12_14_43_24_084: EngineState: SPI clock on PB13
2022-03-12_14_43_24_085: EngineState: SPI master out on PB15
2022-03-12_14_43_24_085: EngineState: SPI master in on PB14
2022-03-12_14_43_24_085: EngineState: SD CS on PB12
2022-03-12_14_43_24_085: EngineState: Injector 1 on A8 - Injector A
2022-03-12_14_43_24_086: EngineState: Injector 2 on B8 - Injector B
2022-03-12_14_43_24_086: EngineState: Coil 1 on A6 - Ignition A
2022-03-12_14_43_24_086: EngineState: Coil 3 on A7 - Ignition B
2022-03-12_14_43_24_086: EngineState: tachOut on A4 - Tachometer
2022-03-12_14_43_24_086: EngineState: Fuel pump Relay on A3 - Fuel Pump
2022-03-12_14_43_24_087: EngineState: Fan Relay on C1 - Fan Relay
2022-03-12_14_43_24_087: EngineState: extiTriggerTurnOnInputPin Trigger #1 C2/C3 Crank Sensor VR
2022-03-12_14_43_24_087: EngineState: Trigger #1 on C2/C3 Crank Sensor VR
2022-03-12_14_43_24_087: EngineState: extiTriggerTurnOnInputPin Trigger #2 C7 - CAM Hall/Digital
2022-03-12_14_43_24_087: EngineState: Trigger #2 on C7 - CAM Hall/Digital
2022-03-12_14_43_24_087: EngineState: clutch down switch on PE13
2022-03-12_14_43_24_088: EngineState: CAN TX on PD1
2022-03-12_14_43_24_088: EngineState: CAN RX on PD0
2022-03-12_14_43_24_088: EngineState: initHardware() OK!
2022-03-12_14_43_24_088: EngineState: BatteryVoltage on PA5
2022-03-12_14_43_24_089: EngineState: MapSlow on PC1
2022-03-12_14_43_24_089: EngineState: BarometricPressure on PA2
2022-03-12_14_43_24_089: EngineState: Tps1Primary on PA4
2022-03-12_14_43_24_089: EngineState: Clt on PC2
2022-03-12_14_43_24_089: EngineState: Iat on PC3
2022-03-12_14_43_24_089: EngineState: AFR on PA1
2022-03-12_14_43_24_090: EngineState: Length should be positive
2022-03-12_14_43_24_090: EngineState: VR PWM on PD14
2022-03-12_14_43_24_090: EngineState: Emulating MINIMAL_PINS
2022-03-12_14_43_24_090: EngineState: Length should be positive
2022-03-12_14_43_24_090: EngineState: Running main loop
2022-03-12_14_43_24_090: EngineState: LUA loading script length: 21...
2022-03-12_14_43_24_091: EngineState: LUA script loaded successfully!
2022-03-12_14_43_24_091: EngineState: USB: got Query command
2022-03-12_14_43_24_091: EngineState: got S/H (queryCommand) mode=1
2022-03-12_14_43_24_091: EngineState: Primary UART RX
2022-03-12_14_43_24_091: EngineState: Primary UART TX
2022-03-12_14_43_24_091: EngineState: TunerStudio size=640 / total=32 / errors=0 / H=1 / O=0 / P=0 / B=0
2022-03-12_14_43_24_091: EngineState: TunerStudio W=0 / C=0 / P=0
2022-03-12_14_43_24_092: EngineState: USB: got Query command
2022-03-12_14_43_24_092: EngineState: got S/H (queryCommand) mode=1
2022-03-12_14_43_24_092: EngineState: Primary UART RX
2022-03-12_14_43_24_092: EngineState: Primary UART TX
2022-03-12_14_43_24_092: EngineState: TunerStudio size=640 / total=40 / errors=0 / H=2 / O=0 / P=0 / B=0
2022-03-12_14_43_24_093: EngineState: TunerStudio W=0 / C=0 / P=0
2022-03-12_14_43_24_093: EngineState: READ mode=1 offset=0 size=256
2022-03-12_14_43_24_093: EngineState: READ mode=1 offset=256 size=256
2022-03-12_14_43_24_093: EngineState: READ mode=1 offset=512 size=256
2022-03-12_14_43_24_094: EngineState: READ mode=1 offset=768 size=256
2022-03-12_14_43_24_094: EngineState: READ mode=1 offset=1024 size=256
2022-03-12_14_43_24_094: EngineState: READ mode=1 offset=1280 size=256
TLS115 test looks GOOD to me:
R40 removed and TLS115 added
USB power: get 4.9v on sensor 5v on connector 12v power: get 5.0v on sensor 5v on connector
with ECU disconnected applied 12v to sensor 5v on connector and GND - no smore board have started just fine after +12 applied to 5v
DFU works power from +12 works BT JDY works!