From 7275d70318802bb8133674628058430b1ae27860 Mon Sep 17 00:00:00 2001 From: xychen Date: Wed, 21 Jun 2023 11:52:01 +0800 Subject: [PATCH] =?UTF-8?q?serial:=20=E8=B0=83=E6=95=B4=E6=93=A6=E9=99=A4?= =?UTF-8?q?=E5=92=8C=E6=A0=A1=E9=AA=8C=E7=9A=84=E8=B6=85=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E4=BE=BF=E9=80=82=E5=BA=94=20CSK3/4=20=E7=9A=84?= =?UTF-8?q?=E5=AE=9E=E9=99=85=E6=80=A7=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libcskburn_serial/src/cmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libcskburn_serial/src/cmd.c b/libcskburn_serial/src/cmd.c index 01eebb6..bd00dde 100644 --- a/libcskburn_serial/src/cmd.c +++ b/libcskburn_serial/src/cmd.c @@ -61,14 +61,14 @@ #define TIMEOUT_FLASH_DATA 1000 // Flash 擦除指令超时时间 (每 MB) -// 实测约 468KB/s,即每 MB 约 2190ms +// 实测约 405KB/s,即每 MB 约 2530ms // 取保守值 #define TIMEOUT_FLASH_ERASE_PER_MB 4000 // MD5 计算指令超时时间 (每 MB) -// 实测约 4096KB/s,即每 MB 约 250ms +// 实测约 1882KB/s,即每 MB 约 540ms // 取保守值 -#define TIMEOUT_FLASH_MD5SUM_PER_MB 500 +#define TIMEOUT_FLASH_MD5SUM_PER_MB 1000 typedef struct { uint32_t size;