BiPOM Forum

General => Microcontroller Development Systems => 68HC08 Development Tools => Topic started by: gtec on June 26, 2005, 01:51:29 pm

Title: Illegal address reset
Post by: gtec on June 26, 2005, 01:51:29 pm
I have been working on a piece of code for a while now. I have added an extra section to run an LCD. Since then I am getting an internal reset from an illegal address code. I can tell by reading SRSR on re-boot.

The area in the code that fails only has clrbit and setbit instructions. Does anyone know why this would be causing an illegal address? Any pointers in the right direction would be useful?

I have had some success of removing the fault by switching off the CLI for the interrupts I am using but this doesn\'t help me get the job done.

Title: Re: Illegal address reset
Post by: vitaliy on June 27, 2005, 01:18:46 am
If you use Mini-Max/908 board the system can be reset if PTC1 goes low for 2 seconds.