A firmware packaging and programming tool written in Erlang