mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 00:58:01 +02:00
blackfin fpga programming: if client socket killed or failure while writing to flash, only file pointer closed but fpga not asked to pick up from flash and client exception thrown. If all good and picking up from flash takes more than 10s, it will also throw exception in client. Client exception will prevent a reboot and hence allowing user to try to flash again.
This commit is contained in:
@ -40,8 +40,10 @@ int startWritingFPGAprogram(FILE **filefp);
|
||||
* When done writing the program, close file pointer and
|
||||
* notify FPGA to pick up the program from flash
|
||||
* @param filefp pointer to flash
|
||||
* @return 0 for success, 1 for fail (time taken for fpga to touch flash
|
||||
* exceeded)
|
||||
*/
|
||||
void stopWritingFPGAprogram(FILE *filefp);
|
||||
int stopWritingFPGAprogram(FILE *filefp);
|
||||
|
||||
/**
|
||||
* Write FPGA Program to flash
|
||||
|
Reference in New Issue
Block a user