diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-03-04 00:16:08 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-03-04 00:16:08 -0600 |
commit | fda60e9d28ae1a5d2bbf6fb108de89d0f6304c5a (patch) | |
tree | f98393f7f18fa3168282a3c52009bb9dbc534054 /clients/tde/src/part/fpgaprogram | |
parent | 40c129a8eb0f0e20ec82316f80de9d3a6852f311 (diff) | |
download | ulab-fda60e9d28ae1a5d2bbf6fb108de89d0f6304c5a.tar.gz ulab-fda60e9d28ae1a5d2bbf6fb108de89d0f6304c5a.zip |
Work around data transfer problems in FTDI serial converters
Fix glitches in FPGA viewer part
Diffstat (limited to 'clients/tde/src/part/fpgaprogram')
-rw-r--r-- | clients/tde/src/part/fpgaprogram/part.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/clients/tde/src/part/fpgaprogram/part.cpp b/clients/tde/src/part/fpgaprogram/part.cpp index 11e3542..eab8c06 100644 --- a/clients/tde/src/part/fpgaprogram/part.cpp +++ b/clients/tde/src/part/fpgaprogram/part.cpp @@ -55,7 +55,7 @@ #include "floatspinbox.h" #include "layout.h" -#define NETWORK_COMM_TIMEOUT_MS 2500 +#define NETWORK_COMM_TIMEOUT_MS 15000 enum connectionModes { ModeIdle = 0, @@ -205,6 +205,7 @@ void FPGAProgramPart::connectionStatusChangedCallback() { void FPGAProgramPart::programRunButtonClicked() { m_commHandlerState = ModeProgramming_StateReadFile; m_commHandlerMode = ModeProgramming; + m_forcedUpdateTimer->start(0, TRUE); processLockouts(); } @@ -496,6 +497,9 @@ void FPGAProgramPart::mainEventLoop() { m_socket->clearFrameTail(); ds << TQString("STATUS"); m_socket->writeEndOfFrame(); + m_base->programmingProgressBar->reset(); + KMessageBox::error(0, i18n("<qt>Timeout</qt>"), i18n("Program Failed")); + processLockouts(); } } else { |