From 1e1c16cd1d6bd19ef7b85261e91501d3932d8e4a Mon Sep 17 00:00:00 2001 From: Frank Voorburg Date: Fri, 21 Apr 2023 12:15:01 +0000 Subject: [PATCH] Refs #1772. Increased RS232_CTO_RX_PACKET_TIMEOUT_MS. git-svn-id: https://svn.code.sf.net/p/openblt/code/trunk@1035 5dc33758-31d5-4daf-9ae8-b24bf3d40d73 --- Target/Source/ARMCM0_S32K11/rs232.c | 2 +- Target/Source/ARMCM0_STM32F0/rs232.c | 2 +- Target/Source/ARMCM0_STM32G0/rs232.c | 2 +- Target/Source/ARMCM0_STM32L0/rs232.c | 2 +- Target/Source/ARMCM0_XMC1/rs232.c | 2 +- Target/Source/ARMCM33_STM32L5/rs232.c | 2 +- Target/Source/ARMCM3_EFM32/rs232.c | 2 +- Target/Source/ARMCM3_LM3S/rs232.c | 2 +- Target/Source/ARMCM3_STM32F1/rs232.c | 2 +- Target/Source/ARMCM3_STM32F2/rs232.c | 2 +- Target/Source/ARMCM3_STM32L1/rs232.c | 2 +- Target/Source/ARMCM4_S32K14/rs232.c | 2 +- Target/Source/ARMCM4_STM32F3/rs232.c | 2 +- Target/Source/ARMCM4_STM32F4/rs232.c | 2 +- Target/Source/ARMCM4_STM32G4/rs232.c | 2 +- Target/Source/ARMCM4_STM32L4/rs232.c | 2 +- Target/Source/ARMCM4_TM4C/rs232.c | 2 +- Target/Source/ARMCM4_XMC4/rs232.c | 2 +- Target/Source/ARMCM7_STM32F7/rs232.c | 2 +- Target/Source/ARMCM7_STM32H7/rs232.c | 2 +- Target/Source/HCS12/rs232.c | 2 +- Target/Source/TRICORE_TC3/rs232.c | 2 +- Target/Source/_template/rs232.c | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Target/Source/ARMCM0_S32K11/rs232.c b/Target/Source/ARMCM0_S32K11/rs232.c index 7a371b2f..f23350ab 100644 --- a/Target/Source/ARMCM0_S32K11/rs232.c +++ b/Target/Source/ARMCM0_S32K11/rs232.c @@ -40,7 +40,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100U) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200U) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10U) diff --git a/Target/Source/ARMCM0_STM32F0/rs232.c b/Target/Source/ARMCM0_STM32F0/rs232.c index d830309b..6525bda1 100644 --- a/Target/Source/ARMCM0_STM32F0/rs232.c +++ b/Target/Source/ARMCM0_STM32F0/rs232.c @@ -41,7 +41,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) diff --git a/Target/Source/ARMCM0_STM32G0/rs232.c b/Target/Source/ARMCM0_STM32G0/rs232.c index 38dcc9de..e5e4fe3c 100644 --- a/Target/Source/ARMCM0_STM32G0/rs232.c +++ b/Target/Source/ARMCM0_STM32G0/rs232.c @@ -41,7 +41,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) diff --git a/Target/Source/ARMCM0_STM32L0/rs232.c b/Target/Source/ARMCM0_STM32L0/rs232.c index e51251bf..ad54148b 100644 --- a/Target/Source/ARMCM0_STM32L0/rs232.c +++ b/Target/Source/ARMCM0_STM32L0/rs232.c @@ -45,7 +45,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) /* map the configured UART channel index to the STM32's USART peripheral. note that the diff --git a/Target/Source/ARMCM0_XMC1/rs232.c b/Target/Source/ARMCM0_XMC1/rs232.c index a86c8f73..a6e2e74d 100644 --- a/Target/Source/ARMCM0_XMC1/rs232.c +++ b/Target/Source/ARMCM0_XMC1/rs232.c @@ -40,7 +40,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) diff --git a/Target/Source/ARMCM33_STM32L5/rs232.c b/Target/Source/ARMCM33_STM32L5/rs232.c index b9cf998b..d42b0544 100644 --- a/Target/Source/ARMCM33_STM32L5/rs232.c +++ b/Target/Source/ARMCM33_STM32L5/rs232.c @@ -45,7 +45,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) /* map the configured UART channel index to the STM32's USART peripheral. note that the diff --git a/Target/Source/ARMCM3_EFM32/rs232.c b/Target/Source/ARMCM3_EFM32/rs232.c index 81d6bf23..bf3d9b8b 100644 --- a/Target/Source/ARMCM3_EFM32/rs232.c +++ b/Target/Source/ARMCM3_EFM32/rs232.c @@ -43,7 +43,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) diff --git a/Target/Source/ARMCM3_LM3S/rs232.c b/Target/Source/ARMCM3_LM3S/rs232.c index 6e42d7f2..ea98e55d 100644 --- a/Target/Source/ARMCM3_LM3S/rs232.c +++ b/Target/Source/ARMCM3_LM3S/rs232.c @@ -45,7 +45,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) diff --git a/Target/Source/ARMCM3_STM32F1/rs232.c b/Target/Source/ARMCM3_STM32F1/rs232.c index be6859f5..78ea583b 100644 --- a/Target/Source/ARMCM3_STM32F1/rs232.c +++ b/Target/Source/ARMCM3_STM32F1/rs232.c @@ -41,7 +41,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) /* map the configured UART channel index to the STM32's USART peripheral */ diff --git a/Target/Source/ARMCM3_STM32F2/rs232.c b/Target/Source/ARMCM3_STM32F2/rs232.c index 44cb1115..1f55cb33 100644 --- a/Target/Source/ARMCM3_STM32F2/rs232.c +++ b/Target/Source/ARMCM3_STM32F2/rs232.c @@ -41,7 +41,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) /* map the configured UART channel index to the STM32's USART peripheral */ diff --git a/Target/Source/ARMCM3_STM32L1/rs232.c b/Target/Source/ARMCM3_STM32L1/rs232.c index f12c1b41..5b7ac883 100644 --- a/Target/Source/ARMCM3_STM32L1/rs232.c +++ b/Target/Source/ARMCM3_STM32L1/rs232.c @@ -41,7 +41,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) /* map the configured UART channel index to the STM32's USART peripheral */ diff --git a/Target/Source/ARMCM4_S32K14/rs232.c b/Target/Source/ARMCM4_S32K14/rs232.c index c56c91cc..fb70034a 100644 --- a/Target/Source/ARMCM4_S32K14/rs232.c +++ b/Target/Source/ARMCM4_S32K14/rs232.c @@ -40,7 +40,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100U) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200U) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10U) diff --git a/Target/Source/ARMCM4_STM32F3/rs232.c b/Target/Source/ARMCM4_STM32F3/rs232.c index cc8375b2..a054fdbe 100644 --- a/Target/Source/ARMCM4_STM32F3/rs232.c +++ b/Target/Source/ARMCM4_STM32F3/rs232.c @@ -41,7 +41,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) /* map the configured UART channel index to the STM32's USART peripheral */ diff --git a/Target/Source/ARMCM4_STM32F4/rs232.c b/Target/Source/ARMCM4_STM32F4/rs232.c index 05df7bfd..1d9170ac 100644 --- a/Target/Source/ARMCM4_STM32F4/rs232.c +++ b/Target/Source/ARMCM4_STM32F4/rs232.c @@ -41,7 +41,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) /* map the configured UART channel index to the STM32's USART peripheral */ diff --git a/Target/Source/ARMCM4_STM32G4/rs232.c b/Target/Source/ARMCM4_STM32G4/rs232.c index ec13a143..2b6d231f 100644 --- a/Target/Source/ARMCM4_STM32G4/rs232.c +++ b/Target/Source/ARMCM4_STM32G4/rs232.c @@ -45,7 +45,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) /* map the configured UART channel index to the STM32's USART peripheral. note that the diff --git a/Target/Source/ARMCM4_STM32L4/rs232.c b/Target/Source/ARMCM4_STM32L4/rs232.c index 144f6b96..51ea0ea0 100644 --- a/Target/Source/ARMCM4_STM32L4/rs232.c +++ b/Target/Source/ARMCM4_STM32L4/rs232.c @@ -45,7 +45,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) /* map the configured UART channel index to the STM32's USART peripheral. note that the diff --git a/Target/Source/ARMCM4_TM4C/rs232.c b/Target/Source/ARMCM4_TM4C/rs232.c index 15aae29a..00003d97 100644 --- a/Target/Source/ARMCM4_TM4C/rs232.c +++ b/Target/Source/ARMCM4_TM4C/rs232.c @@ -47,7 +47,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) diff --git a/Target/Source/ARMCM4_XMC4/rs232.c b/Target/Source/ARMCM4_XMC4/rs232.c index bd8b9ec9..45927573 100644 --- a/Target/Source/ARMCM4_XMC4/rs232.c +++ b/Target/Source/ARMCM4_XMC4/rs232.c @@ -40,7 +40,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) diff --git a/Target/Source/ARMCM7_STM32F7/rs232.c b/Target/Source/ARMCM7_STM32F7/rs232.c index 184461aa..e9802739 100644 --- a/Target/Source/ARMCM7_STM32F7/rs232.c +++ b/Target/Source/ARMCM7_STM32F7/rs232.c @@ -41,7 +41,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) /* map the configured UART channel index to the STM32's USART peripheral */ diff --git a/Target/Source/ARMCM7_STM32H7/rs232.c b/Target/Source/ARMCM7_STM32H7/rs232.c index fd215b47..6361d071 100644 --- a/Target/Source/ARMCM7_STM32H7/rs232.c +++ b/Target/Source/ARMCM7_STM32H7/rs232.c @@ -41,7 +41,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) /* map the configured UART channel index to the STM32's USART peripheral */ diff --git a/Target/Source/HCS12/rs232.c b/Target/Source/HCS12/rs232.c index f27e2aa7..5947115f 100644 --- a/Target/Source/HCS12/rs232.c +++ b/Target/Source/HCS12/rs232.c @@ -56,7 +56,7 @@ typedef volatile struct /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u) diff --git a/Target/Source/TRICORE_TC3/rs232.c b/Target/Source/TRICORE_TC3/rs232.c index d3447a6a..f98162c9 100644 --- a/Target/Source/TRICORE_TC3/rs232.c +++ b/Target/Source/TRICORE_TC3/rs232.c @@ -40,7 +40,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (1000u) /* Map the configured UART channel index to the TriCore's ASCLIN peripheral. */ diff --git a/Target/Source/_template/rs232.c b/Target/Source/_template/rs232.c index 6ff71118..78445996 100644 --- a/Target/Source/_template/rs232.c +++ b/Target/Source/_template/rs232.c @@ -49,7 +49,7 @@ /** \brief Timeout time for the reception of a CTO packet. The timer is started upon * reception of the first packet byte. */ -#define RS232_CTO_RX_PACKET_TIMEOUT_MS (100u) +#define RS232_CTO_RX_PACKET_TIMEOUT_MS (200u) /** \brief Timeout for transmitting a byte in milliseconds. */ #define RS232_BYTE_TX_TIMEOUT_MS (10u)