since working with RTX, to enable interrupt should be operated by os_enable_isr(), and directly setting bit in IE is no useful......but, the problem is why it failed to call os_enable_isr(4) to enable serial port0 interrupt.......anybody can give me some advice on it. thanks in advance.
According to the result of trace, it failed when to check a base-address add the specified interrupt number, the address(in Code address) return 0, then it return fail information.......why did it return fail? what should I put in the address? any other way to enable interrupt except the RTX function os_enabled_interrupt()?
Did you create an interrupt function? Keil Support
Yes, of course. Now I can get a very simple example with interrupt and RTX-51 tasks to work well now. But my original program still can work, but the two programs are in the same proccess on interrupt. Thanks very much
Can anybody give me some information about it? Thanks in advance.
View all questions in Keil forum