I use Mechanique's MCLOADER as a bootloader for my code. Recently, a customer has asked if I could disable the bootloader under program control.
I'm thinking the easiest thing to do is modify the configuration registers using Darrel Taylor's code, but I can't find one register that will disable ALL writes to flash. Sort of a "global write protect". Am I missing something?


 
		
		 
						
					 
			 
			 
			 
					
					 Disabling bootloader under program control
 Disabling bootloader under program control
		

 I don't think this is the correct answer but....
 I don't think this is the correct answer but....
		

Bookmarks