| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		
			haxan7
 
 
  Joined: 27 Jul 2013 Posts: 79
  
			
			 
			 
			
			
			
			
			
			
			
  
		  | 
		
			
				| Can mikroICD interfere with CCS Bootloader? | 
			 
			
				 Posted: Sat Jun 28, 2014 8:10 am     | 
				     | 
			 
			
				
  | 
			 
			
				I have been trying to install CCS bootloader for 2 days without any success.
 
Does anybody know for sure if mikroICD interferes with CCS Bootloader?
 
I have easypic board, and I can't easily detach the programmer. | 
			 
		  | 
	
	
		  | 
	
	
		
			dyeatman
 
 
  Joined: 06 Sep 2003 Posts: 1968 Location: Norman, OK 
			
			 
			 
			
			
			
			
			
			
			
  
		  | 
		
			
				 | 
			 
			
				 Posted: Sat Jun 28, 2014 8:39 am     | 
				     | 
			 
			
				
  | 
			 
			
				The onboard programmer causes me no problems. 
 
 
I am using the EasyPIC 7 with the ICDU-64.
 
Also, SIOW works with no problems. _________________ Google and Forum Search are some of your best tools!!!! | 
			 
		  | 
	
	
		  | 
	
	
		
			haxan7
 
 
  Joined: 27 Jul 2013 Posts: 79
  
			
			 
			 
			
			
			
			
			
			
			
  
		  | 
		
			
				 | 
			 
			
				 Posted: Sat Jun 28, 2014 9:06 am     | 
				     | 
			 
			
				
  | 
			 
			
				 	  | dyeatman wrote: | 	 		  | Also, SIOW works with no problems. | 	  
 
 
Could you please tell me your compiler version and the PIC that runs the bootloader.
 
Thanks | 
			 
		  | 
	
	
		  | 
	
	
		
			dyeatman
 
 
  Joined: 06 Sep 2003 Posts: 1968 Location: Norman, OK 
			
			 
			 
			
			
			
			
			
			
			
  
		  | 
		
			
				 | 
			 
			
				 Posted: Sat Jun 28, 2014 2:20 pm     | 
				     | 
			 
			
				
  | 
			 
			
				5.026 and PIC18F45K22 _________________ Google and Forum Search are some of your best tools!!!! | 
			 
		  | 
	
	
		  | 
	
	
		
			haxan7
 
 
  Joined: 27 Jul 2013 Posts: 79
  
			
			 
			 
			
			
			
			
			
			
			
  
		  | 
		
			
				 | 
			 
			
				 Posted: Sat Jun 28, 2014 2:25 pm     | 
				     | 
			 
			
				
  | 
			 
			
				 	  | dyeatman wrote: | 	 		  | 5.026 and PIC18F45K22 | 	  
 
Is it the same code in the example or did you modify it in any way.
 
I have been trying on my PIC18F45K22 and v5.008 without any luck.
 
Can't figure out what's wrong.
 
 
Do you mind sharing the code? | 
			 
		  | 
	
	
		  | 
	
	
		
			asmboy
 
 
  Joined: 20 Nov 2007 Posts: 2128 Location: albany ny 
			
			 
			 
			
			
			 
			
			
			
			
  
		  | 
		
			
				 | 
			 
			
				 Posted: Sun Jun 29, 2014 12:11 pm     | 
				     | 
			 
			
				
  | 
			 
			
				5.008 was still very early in the release candidate pool.
 
i would UPDATE as suggested and try again.
 
ie: the advice you got already is sound. | 
			 
		  | 
	
	
		  | 
	
	
		
			dyeatman
 
 
  Joined: 06 Sep 2003 Posts: 1968 Location: Norman, OK 
			
			 
			 
			
			
			
			
			
			
			
  
		  | 
		
			
				 | 
			 
			
				 Posted: Sun Jun 29, 2014 1:28 pm     | 
				     | 
			 
			
				
  | 
			 
			
				I am using the example files supplied with PICC with one single 
 
modification.  I changed the 16MHZ oscillator to 8MHZ in each file then 
 
compiled  ex_bootloader.c and programmed it into the 45K22.
 
 
I then compiled the second (ex_bootload.c) file.  After I confirmed the
 
 45K22 came up with the "Waiting for Download" prompt I used the SIOW to 
 
download the compiled ex_bootload.hex file to the 45K22 and it worked first 
 
time. 
 
 
I noticed both files have 2014 copyrights on them indicating they were 
 
changed this year. 
 
 
Unfortunately you will have to ask CCS for an updated copy. It is a 
 
violation of the CCS copyright for me to provide it.   Being a registered 
 
CCS user I feel sure they will send it to you. _________________ Google and Forum Search are some of your best tools!!!! | 
			 
		  | 
	
	
		  | 
	
	
		
			haxan7
 
 
  Joined: 27 Jul 2013 Posts: 79
  
			
			 
			 
			
			
			
			
			
			
			
  
		  | 
		
			
				 | 
			 
			
				 Posted: Sun Jun 29, 2014 1:32 pm     | 
				     | 
			 
			
				
  | 
			 
			
				 	  | dyeatman wrote: | 	 		  I am using the example files supplied with PICC with one single 
 
modification.  I changed the 16MHZ oscillator to 8MHZ in each file then 
 
compiled  ex_bootloader.c and programmed it into the 45K22.
 
 
I then compiled the second (ex_bootload.c) file.  After I confirmed the
 
 45K22 came up with the "Waiting for Download" prompt I used the SIOW to 
 
download the compiled ex_bootload.hex file to the 45K22 and it worked first 
 
time. 
 
 
I noticed both files have 2014 copyrights on them indicating they were 
 
changed this year. 
 
 
Unfortunately you will have to ask CCS for an updated copy. It is a 
 
violation of the CCS copyright for me to provide it.   Being a registered 
 
CCS user I feel sure they will send it to you. | 	  
 
 
Thanks for the reply.
 
I have figured out that the problem was with the flow control. Enabling the transmission delay to 2ms/char in Tera Term fixes the problem. | 
			 
		  | 
	
	
		  | 
	
	
		 |