This repository contains firmware for ATmega328p MCU for upgrading old MTB-UNI v2 module. Old AT89C2051 processor from UNI-UNI board is removed & replaced with new board with ATmega328p processor.
This allows old MTB-UNI board to work on new MTBbus with new features.
This firmware is developed in C language, compiled via avr-gcc
with help
of make
. You may also find tools like avrdude
helpful.
Hex files are available in Releases section.
Firmware could be programmed directly to new board (connect pinheaders to pins & solder/hold reset wire on pad) via ISP.
Firmware could also be upgraded directly via MTBbus via bootloader.
This FW uses EEPROM, however no programming of EEPROM is required. There should be just an empty EEPROM on fresh devices.
Flash main application, fuses & bootloader:
$ cd bootloader
$ make
$ cd ..
$ make
$ make fuses
$ make program
Flash fuses & bootloader only:
$ make fuses
$ cd bootloader
$ make
$ make program
Text editor + make
. No more, no less.
This application is released under the Apache License v2.0 .