Code: Select all
int value, psize; fl_BootImageInfo b;
value =fl_connectToDevice (SPI , myFlashDevices , sizeof ( myFlashDevices )/ sizeof ( fl_DeviceSpec )); printintln(value);
psize = fl_getPageSize (); printintln(psize);
value = fl_getFactoryImage (b); printintln(value);
value = fl_getNextBootImage (b); printintln(value);
* But now:
--- fl_connect() return zero: means success
--- fl_getPageSize () return 256: means success
--- fl_getFactoryImage() return 1: means fail
--- fl_getNextBootImage() return 1: means fail
How could it be, any hint?