Quote Originally Posted by Acetronics2 View Post
Code:
mainloop:

end 'NEVER use "end"!!!!  it destroys the chip!
this code is rather strange : you send clear and bell , Then place your chip in sleepmode ???

I hope you have left the Watchdog ON ...

to me, you should use STOP command here ...

now, why include " modedefs" and after place this line :
Code:
N9600	CON	$4054	'value for 9600 baud setting
???

Alain
The program was under development and being debugged when this problem cropped up. The "end" was part of the search for the cause of the chips becoming non-programmable.