Author Topic: Illegal address reset  (Read 6949 times)

gtec

  • Guest
Illegal address reset
« 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.


vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: Illegal address reset
« Reply #1 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.