| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| bcs99 
 
 
 Joined: 22 Nov 2003
 Posts: 32
 
 
 
			    
 
 | 
			
				| How to preserve EEPROM data when re-programming |  
				|  Posted: Tue May 04, 2004 11:23 am |   |  
				| 
 |  
				| How do I preserve the data in the internal EEPROM when reprogramming?  I'm using an 18F452. 
 Bob
 |  | 
	
		|  | 
	
		| PCM programmer 
 
 
 Joined: 06 Sep 2003
 Posts: 21708
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Tue May 04, 2004 11:48 am |   |  
				| 
 |  
				| What programmer are you using ? 
 If you are using ICD2, then pick the Settings menu
 under either Debugger or Programmer menus.
 (You have to select ICD2 as the Debugger or Programmer
 to get the Settings menu to be enabled.)
 Then within the Settings window, click on the Program tab.
 It contains an option to protect the EEPROM from being
 programmed by the ICD2.
 |  | 
	
		|  | 
	
		| bcs99 
 
 
 Joined: 22 Nov 2003
 Posts: 32
 
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Tue May 04, 2004 12:09 pm |   |  
				| 
 |  
				| I'm using the ICD-U40. 
 Bob
 |  | 
	
		|  | 
	
		| Haplo 
 
 
 Joined: 06 Sep 2003
 Posts: 659
 Location: Sydney, Australia
 
 
			    
 
 | 
			
				|  |  
				|  Posted: Tue May 04, 2004 5:58 pm |   |  
				| 
 |  
				| For ICDU40, open up ICD.EXE, click on the 'Advanced...' button, in the 'Erase Modes' section choose 'Erase When Needed'. |  | 
	
		|  | 
	
		|  |