cancel
Showing results for 
Search instead for 
Did you mean: 

ST7 2.1 Library interrupt bugs

info45
Associate II
Posted on November 13, 2005 at 17:12

ST7 2.1 Library interrupt bugs

1 REPLY 1
info45
Associate II
Posted on November 13, 2005 at 17:12

Hello to eveyrbody,

using the ST7 library 2.1 I found bugs related to interrupt routine.

The directive

#define MWerks

or

#define COSMIC

are inserted at the begin of the code BUT in

demo\ST7F521\souces\main.c in some interrupt function the previous #define test have a SINGLE cover:

I.e. see ''Interrupt Subroutines '':

MCC_IT_Routine end with IRET

BUT

the following EI1_IT_Routine and EI3_IT_Routine ends with RET!!!!

After enabled the interrupt the SW execution go in crash due the wrong stack use.

Please verify in LST in every interrupt routine have IRET insted RET

By