Programming the boardFor programming the board I went to the Fab Academy Embedded programming week lesson’s page, downloaded echo.c and echo.c.make files for ATtiny44 and put them in one folder. Also I have downloaded the term.py file from Input devices week’s lesson page.
As I didn’t have Python installed on my computer, first of all I installed it running the following command in Terminal.
sudo apt install python
After successful installation I opened the folder with downloaded code files, ran the terminal there and started programming by following the Fab Academy tutorial.
I got an error there and while checking the board with my instructor Babken we found out that 2 traces which should be separated are connected, because I have designed them too close to each other and the endmill couldn’t go there.
I changed the design, moved traces further from each other and cut the second board. After assembling it I have tried to program it once more.
I connected the board to my Fab ISP and to the computer via FTDI cable. Fab ISP is connected to the computer USB.
I opened the terminal in the folder with the codes and run the following commands
ls /dev
In the opened list we should have tinyUSB0make -f hello.ftdi.44.echo.c.make
Here I got this
sudo make -f hello.ftdi.44.echo.c.make program-usbtiny
On this line I got the following error.
I have tried different combinations of connections and it still didn’t work. I checked all of the connections with the digital multimeter and didn’t find anything which could cause the error. I have compared the design with Neil’s board as well and again, everything seems similar. So my only doubt was in the process of soldering. I was thinking that maybe I’ve destroyed the microcontroller during the soldering.
So I cut and more carefully assembled the third board as well, which again didn’t respond on the same command. Me and my instructor checked all the possible things and couldn’t find the reason.