Software Restart System

This example demonstrates how to do the restart of MINI-MAX/51 series board. Low Level of P1.5 line stops the secondary PIC and hardware WDT of PIC restarts the whole system.

Toolkit:SDCC 8051 Development System


Code Example

#define SS						P1_5 /* Slave Select */  

/* Configure serial port */
	printf ("\n\n**   START   **"); 
	SS = 0; 
	printf ("\nWAIT FOR NEW START"); 
	for(;;); // Loop forever