PCM programmer
 
 
  Joined: 06 Sep 2003 Posts: 21708
  
			
			 
			 
			
			
			
			
			
			
			
  
		  | 
		
			
				 | 
			 
			
				 Posted: Tue Jul 12, 2005 1:14 pm     | 
				     | 
			 
			
				
  | 
			 
			
				 	  | Quote: | 	 		  | Not Enough Ram or Invalid ORG range when I added a function to loader.c  | 	  
 
You didn't state your PIC, so I'll assume it's a 16F series.
 
What happens if you enable full use of ram, as shown in bold below ?
 
 
#include <16F877.H>
 
#device *=16
 
 
If that doesn't help, then post the first line of your function,
 
and post the #org statement that you put in front of your
 
function to declare its ROM usage.
 
Also state where in the loader.c file you placed your function. | 
			 
		  |