Refine cmsis openocd program.
This commit is contained in:
		
							parent
							
								
									7f321ae7a9
								
							
						
					
					
						commit
						cb27ddb1cf
					
				| 
						 | 
				
			
			@ -16,6 +16,7 @@ $(TARGET).bit: $(TARGET).cfg
 | 
			
		|||
${TARGET}.svf : ${TARGET}.bit
 | 
			
		||||
 | 
			
		||||
prog: ${TARGET}.bit
 | 
			
		||||
	# ./dapprog blink.svf
 | 
			
		||||
	ecpdap program blink.bit
 | 
			
		||||
 | 
			
		||||
flash: ${TARGET}.bit
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,12 +7,13 @@
 | 
			
		|||
# https://github.com/Martoni/blp/tree/master/platforms/colorlight
 | 
			
		||||
# https://github.com/HarmonInstruments/JTAG_SWD
 | 
			
		||||
 | 
			
		||||
interface cmsis-dap
 | 
			
		||||
adapter driver cmsis-dap
 | 
			
		||||
 | 
			
		||||
transport select jtag
 | 
			
		||||
 | 
			
		||||
adapter_khz 10000
 | 
			
		||||
adapter speed 10
 | 
			
		||||
 | 
			
		||||
#jtag newtap ecp5 tap -irlen 8 -expected-id 0x41111043
 | 
			
		||||
# jtag newtap ecp5 tap -irlen 8 -expected-id 0x41111043
 | 
			
		||||
 | 
			
		||||
#LFE5U-25F 0x41111043
 | 
			
		||||
#LFE5U-45F 0x41112043
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue