From 9c9866d0334e75bcfdb020a85fe43d786081298c Mon Sep 17 00:00:00 2001 From: zhaohe Date: Mon, 22 Apr 2024 16:33:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=83=A7=E5=BD=95=E8=84=9A?= =?UTF-8?q?=E6=9C=ACBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripter/flash_with_id.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripter/flash_with_id.bat b/scripter/flash_with_id.bat index ca775fa..a9207ad 100644 --- a/scripter/flash_with_id.bat +++ b/scripter/flash_with_id.bat @@ -15,10 +15,6 @@ if %errorlevel% neq 0 ( ) -@REM ÉÕ¼lot -nrfjprog -f nrf52 --memwr 0x10001080 --val %1 -@REM ÉÕ¼ID -nrfjprog -f nrf52 --memwr 0x10001084 --val %2 nrfjprog --program output/app_whole.hex --verify -f NRF52 %ÉÕ¼% if %errorlevel% neq 0 ( @@ -35,6 +31,10 @@ if %errorlevel% neq 0 ( exit /b 1 ) +@REM ÉÕ¼lot +nrfjprog -f nrf52 --memwr 0x10001080 --val %1 +@REM ÉÕ¼ID +nrfjprog -f nrf52 --memwr 0x10001084 --val %2 echo --------------------------------------------------------------- echo - done