fixed output flags in serial init + added listening code after fw write
drwxr-xr-x - betty