Jorge Javier - Fab Academy 2020-21

Home

A9

Embedded programming

The assignment, now, relies heavily in understanding the programming environment through the complicated and sophisticated micro-controllers.

Every new chip is getting smaller and more capable fo solving complex operations, but it needs the proper language to be submited to the grid.

So, first, i had to read a very long and complex (for me at least) data sheet of a quite fantastic new controller, the ATtiny212/412, and eith more than 450 pages, the task was titanic.

To me, understanding the core, the parts and the functions, is a complex new way of thinking, beacuse the logical process of it is outside of muy already square minded routine.

But it cleared out a different knowledge, something so obvious but unknown that almost every single word related to programming is novel.

But in the end, trying to achive this massive reading let me grabed some thoughts: ORDER, FUNCTION, PRECISION, SEQUENCE AND DIRECTION.

So, i tried to program my board, when failure arose when i was unable to connect, and when bad soldering slipped the connectors out of the wires...

Which led me to try simple programming directly from the Arduino app. just trying to munderstand how a single LED can Blink.

Another option, was trying to understand the very simple TINKERCAD environment... even those connections were hard at the beginning

But, understanding the flow of energy, the pieces got altogether in a very rudimentary way, yet enough to see through simulation, a LED blink and fade.

Perhaps, this has been a very complex process, but let me get my hands on a unknown place, waiting to be learned the proper way.

A different kind of view.

I re-read the manual for the ATtiny44 processor, trying to further understand what i'm doing with my boards.

And figuring out how to make sense about the connections

Summarizing, i haven't realized how important is to see how it works and the overall srtructure of it, to see it capacities and limitations.

After reading this document, i started to debug the PCB board, using TERMINAL in Mac and installing the crosspack available, to integrate the AVR programming system.

So, i neeeded to identify the ports to see if my board was working.

Next, opening my MAKEFILE in TEXT mode, i set the instructions, renaming and filling the blanks to have a proper communication port.

Then i created the MAIN.C file to set the basis for the programming code.

In here i was trying to debug and needed to turn into a different enviornment for better results.

I turned again to ARDUINO programming interface

And set the variables, with the code for the ATTiny 44, with internal clock at 8Mhz, using the serial USB port and translating the Arduino as ISP.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.