My journey with ATTiny4313 (part 6)
Part 6: Debugging Bugs are everywehere... Simulating MO44.DRV During my journey, I used my Atari with Cubase and the driver MO44.DRV. However, since my prototype is not yet recognized by the driver, my testing ability is limited. To overcome this issu, I decided to use another ATTiny to simulate the driver. I wrote a quick program (simulmo4) and checked the result with Saleae Logic. Slowing down the simulation My simulator was too fast for an easy debugging. So I decided to slow it down in 2 ways: By setting the CKDIV8 fuse using this link https://www.engbedded.com/fusecalc/ By setting the system clock prescaler (datasheet page 33) Not a good idea, since I'm not able to communicate anymore with the ATTiny :-( I've added the option -F (force, i.e. continue even if signature is incorrect) to avrdude, but still unable to communicate due to the bad timing. The reading and overwriting of the fuses is also impossible. $ make fuses /snap/arduino/85/har