arcachofo wrote:
Yes, hopefully solved at Rev 1992.
It seems that the PC out of range spamming is not fixed in R1995.
When reset pin's voltage dropped below 2.5v, m_ecu will restart and quickly PC out of range will set e_mcu's m_state to mcuStopped. Then mcu's volatgeChange() will call hardreset( false ) and restart the e_mcu, untill finally voltage is at 0. At least 500+ "eMcu::stepCpu: Error PC = 4096 PGM size = 4096 \n MCU stopped" messages is generated will be generated in this process.
That's why I add a new state in the first patch.
Last edited by royqh1979 on Mon Oct 16, 2023 3:45 pm; edited 1 time in total