Hello Mark,
My code is running for a while but sometime there's a strange behaviour :
From time to time, when going through the code
uDisable_Interrupt();, the Thumb mode is cancelled, and then I got an exception.
Do you have any idea about this ?
extern QUEUE_TRANSFER entry_que(QUEUE_HANDLE channel, unsigned char *ptBuffer, QUEUE_TRANSFER Counter, unsigned char ucCallType, QUEUE_HANDLE DriverID)
{
QUEQUE *ptQUEQue;
QUEUE_TRANSFER rtn_val = 0;
uDisable_Interrupt(); // disable all interrupts
switch ( ucCallType ) {
T= 1 before uDisable_Interrupt();
T= 0 after uDisable_Interrupt();Using Keil µVison in step by step debug mode.