-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflash.bat
29 lines (19 loc) · 906 Bytes
/
flash.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@ECHO OFF
REM ------------------------------------------------------
REM --------- DEFINITIONS -----------
REM ------------------------------------------------------
SET Command_File_Path= res\Flash_Command_File.jlink
SET Script_File_Path= res\Flash.JLinkScript
SET Settings_File_Path= F:\Dev\4coder\Projects\Nordic24L01P\res\JLinkSettings.ini
ECHO ------------------------------------------------------
ECHO ----------- FLASH METHODS -----------
ECHO ------------------------------------------------------
REM METHOD 1: FLash Programming Software
REM call C:\"Program Files (x86)"\SEGGER\JLink\JLink.exe -SettingsFile %Settings_File_Path% -CommandFile %Command_File_Path%
REM -SettingsFile %Settings_File_Path%
REM -JLinkScriptFile %Script_File_Path%
ECHO METHOD 2: MSC FUNCTIONALITY( Drag and Drop )
@ECHO ON
COPY /b build\k82f_fc.bin E:\
@ECHO OFF
PAUSE