>On a MTD device it should, unless it encounteres EOF. Are yoiu sure >your configuration is OK? I had an error in the fw_env.h file. I fixed it and now the environment is read correctly. Thanks for your help, llandre DAVE Electronics System House - R&D Department web: http://www.dave-tech.it email: r&d2 at dave-tech.it