2005-11-13 08:12 AM
2005-11-13 08:12 AM
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