Initial commit

This commit is contained in:
2025-11-14 11:19:59 +03:00
commit d300a4b933
8 changed files with 20 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
.idea
*.bin

BIN
ATLINKLIB.dll Normal file

Binary file not shown.

BIN
ATLink_Console.exe Normal file

Binary file not shown.

BIN
Qt5Core.dll Normal file

Binary file not shown.

0
README.md Normal file
View File

4
WriteSN.ini Normal file
View File

@@ -0,0 +1,4 @@
[SNOperation]
WriteAddr=08004000
CurrentSN=00000001
IncreaseStep=00000001

14
download.bat Normal file
View File

@@ -0,0 +1,14 @@
@echo off
setlocal
set "SCRIPT_DIR=%~dp0"
if "%SCRIPT_DIR:~-1%"=="\" set "SCRIPT_DIR=%SCRIPT_DIR:~0,-1%"
for %%F in ("%SCRIPT_DIR%\*.bin") do set "FIRMWARE=%%F"
echo Firmware file: %FIRMWARE%
"%SCRIPT_DIR%\ATLink_Console.exe" ^
-connect -p ^
--dfap --depp ^
-e --all ^
--flash -d --a 08000000 --fn "%FIRMWARE%" ^
--v -p --efap1
pause

BIN
libusb-1.0.dll Normal file

Binary file not shown.