Increase CMSIS response timeout for EDBG debug tools

This commit is contained in:
Nav
2022-12-18 19:22:47 +00:00
parent 0a6951865c
commit 5fe50b1997

View File

@@ -65,7 +65,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap
"CMSIS Response type must be derived from the Response class." "CMSIS Response type must be derived from the Response class."
); );
const auto rawResponse = this->getUsbHidInterface().read(std::chrono::milliseconds(15000)); const auto rawResponse = this->getUsbHidInterface().read(std::chrono::milliseconds(60000));
if (rawResponse.empty()) { if (rawResponse.empty()) {
throw Exceptions::DeviceCommunicationFailure("Empty CMSIS-DAP response received"); throw Exceptions::DeviceCommunicationFailure("Empty CMSIS-DAP response received");