Keil™, An ARM® Company

Discussion Forum

Long ISR crashing RTX?

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Stefan Hartwig
Posted
3-Jul-2008 11:42
Toolset
ARM
New! Long ISR crashing RTX?

Hi,
may a "long" going interrupt service routine crash the KEIL RTX?

I currently porting a USB-CDC-Firmware to work with RTX and came into trouble, but did not find the problem yet.

Read-Only
Author
erik malund
Posted
3-Jul-2008 12:29
Toolset
ARM
New! Any (too) Long ISR will be crashing something

.

Read-Only
Author
Stefan Hartwig
Posted
3-Jul-2008 20:59
Toolset
ARM
New! RE: Any (too) Long ISR will be crashing something

But without RTX it does NOT crash...

Read-Only
Author
Andy Neil
Posted
3-Jul-2008 22:28
Toolset
ARM
New! RE: But without RTX it does NOT crash...

Possibly, you were just "on the edge" without RTX - and with it, you are (just) over the edge?

Does the RTX documentation state any limits on ISR timings...?

Read-Only
Author
Stefan Hartwig
Posted
4-Jul-2008 00:17
Toolset
ARM
New! RE: But without RTX it does NOT crash...

I found the problem(s):
- I used os_evt_send instead of isr_evt_send
- the task returned because of a break inside the invinite loop

Many thanks for all ideas and hints.

Next Thread | Thread List | Previous Thread Start a Thread | Settings