test boards arrived

A project log for Beat707

A MIDI sequencer

frank-bussFrank Buss 08/05/2019 at 15:013 Comments

The test boards arrived and Frank soldered it. Besides a small bug with a missing trace for the USB power supply (GND was not connected to the circuit GND) it worked. Test setup:

Flashing the ATMega was a bit tricky as well. Maybe because of the 1k series resistors to use the programming pins for the programmer and for the SPI FRAM in parallel without jumpers, it didn't work at the default speed. But by editing the file /home/username/bin/arduino-1.8.9/hardware/arduino/avr/programmers.txt and adding the "-B 10" command line option to the usbasp programming line, the programming speed was reduced and it worked. And another trick: if it is a fresh ATMega, you have to program the fuses the right way. This can be done with avrdude, the details are on the Github page.

For testing, there is a debug output jumper. If closed, it controls the MIDI output, but if open, it can be connected to a serial port receiver and you can see debug messages in the Arduino serial port monitor.

The planned LEDs were a bit dim as well, but was fine with brighter ones and the 7-segment LEDs and LED brightness could be matched with the right resistors. A full test of all hardware components is in the Github repository. Now the big board is in production.


Jan wrote 08/05/2019 at 20:42 point

Glad you found the error. Missing traces are hard to find sometimes!

  Are you sure? yes | no

Frank Buss wrote 08/07/2019 at 05:31 point

Right, but was not that hard this time, because without GND it simply didn't power up, and then I found it fast with the continuity tester.

  Are you sure? yes | no

Jan wrote 08/07/2019 at 10:45 point

Good point!

  Are you sure? yes | no