Skip to main content

Posts

Featured

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

Latest posts

My journey with ATTiny4313 (part 5)

My journey with ATTiny4313 (part 4)

My journey with ATTiny4313 (part 3)

Fixing a broken key on Yamaha QX1

Fixing a Roland FP-8 Digital Piano

My journey with ATtiny4313 (part 2)

Albedo: 0.39

My journey with ATtiny4313 (part 1)

The *-tite screws

SELinux: How to create a CIL from a TE file