| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		
			jseidmann
 
 
  Joined: 04 Nov 2004 Posts: 67
  
			
			 
			 
			 
			
			
			
			
			
			
  
		  | 
		
			
				| VB program which uses ICD command line | 
			 
			
				 Posted: Fri Dec 17, 2004 4:46 pm     | 
				     | 
			 
			
				
  | 
			 
			
				Hi everyone,
 
 
I found in the ICD help that you can enter in the command line "ICD -Tfilename.hex" and it will then automatically program the connected board with that hex file which is great. 
 
 
I was wondering if any of you have made a VB program that automatically sends the information to the command line and automates the process and would be willing to give me their VB source code.  I'm trying to automate a process and this is one step and would be greatly appreciated.  If someone could give me some source code, or point me in the right direction, I would be extremely indebted to you.
 
 
Sincerely,
 
 
Jon | 
			 
		  | 
	
	
		  | 
	
	
		
			Neutone
 
 
  Joined: 08 Sep 2003 Posts: 839 Location: Houston 
			
			 
			 
			
			
			
			
			
			
			
  
		  | 
		
			
				| Re: VB program which uses ICD command line | 
			 
			
				 Posted: Fri Dec 17, 2004 5:32 pm     | 
				     | 
			 
			
				
  | 
			 
			
				 	  | jseidmann wrote: | 	 		  Hi everyone,
 
 
I found in the ICD help that you can enter in the command line "ICD -Tfilename.hex" and it will then automatically program the connected board with that hex file which is great. 
 
 
I was wondering if any of you have made a VB program that automatically sends the information to the command line and automates the process and would be willing to give me their VB source code.  I'm trying to automate a process and this is one step and would be greatly appreciated.  If someone could give me some source code, or point me in the right direction, I would be extremely indebted to you.
 
 
Sincerely,
 
 
Jon | 	  
 
Try this command in VB
 
Shell ("C:\Program Files\picc\Icd.exe -TC:\Tfilename.HEX") | 
			 
		  | 
	
	
		  | 
	
	
		
			jseidmann
 
 
  Joined: 04 Nov 2004 Posts: 67
  
			
			 
			 
			 
			
			
			
			
			
			
  
		  | 
		
			
				| Thanks | 
			 
			
				 Posted: Mon Dec 20, 2004 2:35 pm     | 
				     | 
			 
			
				
  | 
			 
			
				Thanks,
 
 
that surely did the trick.  I appreciate your help greatly
 
 
--Jon | 
			 
		  | 
	
	
		  | 
	
	
		 |