firmware

The firmware ...

The firmware is the resident software you can load in your microcontroller.

It can for example read or command digital inputs-outputs or read a voltage. It listen and send results to the PC through the serial inteface.

Firmware


There are many programmers for AVR Atmel microcontrolers (it needs to support the atmega8).

Tuxgraphics also provide and explain how to do cheap programmers which work on Linux,  Windows and Mac OS X.

If it's not already the case the goal is to transfert a .hex file (the firmware) in the microcontroller and activate a "fuse" on the microcontroller (to set the internal clock)


With windows:


  •  Download the folder including the firmware file
  • Unzip the folder
  • Open the "Makefile" file with "Programmers Notepad" software (installed with WinAvr).
  • In "Programmers Notepad" unfold the "Tools" menu and select "Program"
  • If the programming cable is plugged, and the circuit powered, "Programmers Notepad" will then detect the microcontroller and will automatically upload the firmware .hex file (and activate the rigth fuse for the quartz).
  • If you have any question or  problem don't hesitate to use Liberlab forums for help.

With Linux:


uisp -dlpt=0x378 --erase -dprog=dapa
uisp -dlpt=0x378 -dprog=dapa --wr_fuse_l=0xe4
uisp -dlpt=0x378 --upload if=liberlabfirm.hex -dprog=dapa -v=3 --hash=32

For developers

Firmware sources and new developement firmwares are freely avalable (GPL licence ) in the CVS (Current Version System) of  the project

Warning: There are no warranties of any sort against the use of information, software or hardware described on this site (that you use at your own risks).