Lost bootloader

Points: 500
Solves: 0

Few years ago my friend asked me to test his bleeding-edge-new-technology AVR bootloader. He said that he took one of the standard ones and made it much more robust and faster. Unfortunately, we both lost the source code and now I'm completely stuck. I need to update one of my production devices ASAP and only you (a respectable microprocessor ninja) can help me.

Enclosed you can find two files: ATmegaBOOT_168_atmega328.hex (a bootloader with custom improvements) and prog.hex (the firmware update that I need to upload to the device)

The serial port of the device is exposed over the network:

nc 30104

lost-bootloader.tar.gz 3598

nc 30104

The flag format is: p4{letters_digits_and_special_characters}.
If you have any questions, ask the organisers in person.

You need to login in order to send flags.