Updated fm3.c, added Flash type 2 support, error handling improved