Took a publicly available XMODEM bootloader and made it work on HK32F. Known issues: - Erase is super slow on this MCU. The upload routine erases all flash before loading, which means the first packet seems to hang. This also erases possibly persistent data stored in unused pages on flash.
		
			
				
	
	
		
			27 lines
		
	
	
		
			784 B
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			784 B
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <projectDescription>
 | |
| 	<name>bootloader_hk32f030m_uart_xmodem</name>
 | |
| 	<comment></comment>
 | |
| 	<projects>
 | |
| 	</projects>
 | |
| 	<buildSpec>
 | |
| 		<buildCommand>
 | |
| 			<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
 | |
| 			<triggers>clean,full,incremental,</triggers>
 | |
| 			<arguments>
 | |
| 			</arguments>
 | |
| 		</buildCommand>
 | |
| 		<buildCommand>
 | |
| 			<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
 | |
| 			<triggers>full,incremental,</triggers>
 | |
| 			<arguments>
 | |
| 			</arguments>
 | |
| 		</buildCommand>
 | |
| 	</buildSpec>
 | |
| 	<natures>
 | |
| 		<nature>org.eclipse.cdt.core.cnature</nature>
 | |
| 		<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
 | |
| 		<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
 | |
| 	</natures>
 | |
| </projectDescription>
 |