This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

deleting fom fis directory


Hi,
I wrote a server application able to listen for a connection from a client that can send 
a file to upload on the board. After receiving the file and copying it in flash and 
changing the fconfig, it reboots the platform executing the new application that must 
delete the old. 
It can delete the flash, but when it has to delete the image from fis directory, the 
flash_program gives an error ("Driver timed out waiting for device"). 
My problem is: I would to delete the piece of fis directory containing the old apllication 
info (flash_base, lenght, checksum,...) but I'm executing another application in the 
flash. 
I cannot erase the fis dir block because I'm executing another application, so how can 
I delete only a piece of the fis dir?


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]