Documentation Center

  • Trials
  • Product Updates


Troubleshoot Task Overruns on Gumstix Overo Hardware

You can configure a model running on the target hardware to detect and notify you of task overruns.

Standard scheduling works well when a processor is moderately loaded but may fail if the processor becomes overloaded. A task overrun occurs when a task is scheduled to execute before a previous instance of the same task has completed.

To enable overrun detection:

  1. In your model, click Tools > Run on Target Hardware > Options.

  2. When the Run on Target Hardware opens, select the Enable overrun detection check box.

  3. Click OK.

When a task overrun occurs, the command prompt on the host machine repeatedly displays an "Overrun" error message until the model stops. For example, a message might read "Overrun — rate for subrate task 1 is too fast",

When an overrun condition occurs, you can correct it using one or both of the following approaches:

  • Simplify the model.

  • Increase the sample times for the model and the blocks in it. For example, change the Sample time parameter in all of your data source blocks, such as blocks for input devices, from 0.1 to 0.2.

    Note:   External mode increases the processing burden of the model running on your board. If the software reports an overrun, disable External mode.

Was this topic helpful?