simavr icon indicating copy to clipboard operation
simavr copied to clipboard

avr_reset not resetting IO properly

Open Nuxar1 opened this issue 1 year ago • 0 comments

Calling avr_reset doesnt reset IO correctly. The next time the simulator is run, pullups won't be set correctly. The reason is that it thinks the values are already set in the function avr_raise_irq_float and simply returns.

To fix the issue a possible fix would be manually setting the value to 0 in avr_ioport_reset.

Nuxar1 avatar Nov 17 '23 02:11 Nuxar1