series number protect

add some code to protect  the series number as tstat does.
generate a new rev firmware.