Skip to content

EDS v1.8.2 — Bug fix (#37)

Choose a tag to compare

@Xaloqi Xaloqi released this 23 Jun 04:46
180c166

Bug fix

0x11 ECUReset now actually resets the ECU (closes #37)

All 8 example on_isotp_rx_complete() callbacks were sending the 0x11 positive response but never calling ecu_reset() — the integration layer was missing the pending_reset_type check after dispatch.

Fix: after isotp_transmit(), check ctx->pending_reset_type and if non-zero: flush NVM, wait 50 ms (ISO 14229-1 As timer — lets the CAN frame reach the wire), then call ecu_reset().

Affected examples: basic_ecu, sensor_ecu, bms_ecu, ardep_ecu, safeboot_ecu, robot_joint_controller_ecu (Zephyr) · sensor_ecu_freertos, safeboot_freertos_ecu (FreeRTOS)

Also adds CONFIG_REBOOT=y to boards/native_sim/native_sim.conf (required to link sys_reboot() now that it is reachable code).

Upgrade

west update   # or git checkout v1.8.2

No API changes. Drop-in replacement for v1.8.1.