mirror of
				https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
				synced 2025-10-30 18:55:21 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			220 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			220 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| echo erase > "$1".jlink
 | |
| echo loadbin "$1" , 0x8000000 >> "$1".jlink
 | |
| echo r >> "$1".jlink
 | |
| echo q >> "$1".jlink
 | |
| 
 | |
| /opt/SEGGER/JLink/JLinkExe -device STM32F103C8 -if SWD -speed auto -CommanderScript "$1".jlink
 | |
| 
 |