Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

MicroC/OS II for ARM7TDMI Interruption problem

Status
Not open for further replies.

mdpai

Junior Member level 2
Joined
Jan 7, 2010
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
france
Activity points
1,459
Hi,

I have one task that output hello world and delay itself for 5 ticks. After 5 ticks, the OS do the interrupt context switch. I verified this using the debugger and I see that PC now points to OS_Sched (+0xA8) (<--- is this normal?) and the SP now points to task1's stack, which is good. But after several instruction (2 or 3), the PC changed to 0x18! and task1 is never reached! I dont understand why this is happening. Do you have any idea?


Regards,
Fairuz
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top