Hi,
Iam working on a luminary micro based cortex M3 processor. Iam not using any RTOS. Iam trying to use system timer tick (luminary software based) packet transmitter code.
The code works on stepping using debugger but goes to interrupt when run (which is just going to the same place). Because of this i couldnt test my code at all.
Please help me understand why this problem is happening and how to solve it.
Thanks, vivek
Please explain what you mean by this
OK. I try to explain a bit clearly.
I have some code which is compilable. i use Keil IDE to go into debug mode. I single step the code till main. After this, if i single step through the code, it is possible to execute the code.
I want to test whether the desired intent of my program is fulfilled. So i cant keep single stepping through the code each time right. So if i press RUN button in the IDE, the code immediately goes to default interrupt handler.
Iam not expecting interrupt at that point. At least i want to know the reason why it went into interrupt mode only when i run the code and not when i step. This happens in different places in the code each time.
I have few more questions.
1. Does it have something to do with SWI handler/ retarget?
2. Is it possible to disable unused interrupts (the code should not go to interrupt handler at all).
which interrupts are enabled in the VIC...?
Iam not sure if all interrupts are enabled because, i call a function InterruptMasterEnable(); which has few codes in assembly.
Ok. Thats a nice input.
I will check if it is possible to selectively enable only few interrupts which are required.
View all questions in Keil forum