Corominas Marc

RTI on SH08 problem

Discussion created by Corominas Marc on May 31, 2010
Latest reply on Jun 3, 2010 by Ingo Kauf

Hi all,

 

I want to create a 256mS delay using the RTI modulo on a SH08, I don't eant an interrupt so I'll use pollins software solution.

 

I used the RTI modulo before but never get this error:

 

Error: At location FFCC -
Error: Attempt to use invalid or uninitialized memory

Error: Interrupt processing failed.
HALTED

 

The message apperas only when the RTICNT reaches the RTIMOd value and the RTFI flag should be set, If I disable the general interrupts I don't have the error.

 

Can anybody help me? Thxs in advance.

Outcomes