Bootloader and firmware for the ATMega328P processor on the Smartblock Mainboard