replaced signal specific flash interface functions with gerneic
functions
Switched to generic flash function usage