mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 21:37:13 +02:00
wip
This commit is contained in:
@ -3744,9 +3744,11 @@ int program_fpga(int file_des) {
|
|||||||
printSocketReadError();
|
printSocketReadError();
|
||||||
clientSocketCrash = 1;
|
clientSocketCrash = 1;
|
||||||
ret = FAIL;
|
ret = FAIL;
|
||||||
|
LOG(logERROR, ("error, not receiverd\n"));
|
||||||
}
|
}
|
||||||
// client has not crashed yet, so write to flash and send ret
|
// client has not crashed yet, so write to flash and send ret
|
||||||
else {
|
else {
|
||||||
|
LOG(logINFOBLUE, ("receiverd\n"));
|
||||||
offset += unitprogramsize;
|
offset += unitprogramsize;
|
||||||
Server_SendResult(file_des, INT32, NULL, 0);
|
Server_SendResult(file_des, INT32, NULL, 0);
|
||||||
|
|
||||||
|
@ -3434,6 +3434,7 @@ void Module::programFPGAviaBlackfin(std::vector<char> buffer) {
|
|||||||
<< "\t filesize:" << filesize;
|
<< "\t filesize:" << filesize;
|
||||||
|
|
||||||
client.Send(&buffer[currentPointer], unitprogramsize);
|
client.Send(&buffer[currentPointer], unitprogramsize);
|
||||||
|
LOG(logINFOBLUE) << "sent!";
|
||||||
if (client.Receive<int>() == FAIL) {
|
if (client.Receive<int>() == FAIL) {
|
||||||
std::cout << '\n';
|
std::cout << '\n';
|
||||||
std::ostringstream os;
|
std::ostringstream os;
|
||||||
|
Reference in New Issue
Block a user