detect task overrun on Zync ZCU102

4 visualizaciones (últimos 30 días)
TuttoAlDoc
TuttoAlDoc el 23 de Ag. de 2024
Comentada: TuttoAlDoc el 29 de Ag. de 2024
Hi,
I'm doing some tests on a ZCU102. I'm running some code on the CPU and I would like to detect if it overruns. I enabled the option in the configuration but I cannot find where the overrun is then logged. I forced my application to overun strongly reducing its sample time, I see the execution is clearly slower than expected to be realtime but I don't get anything at console level. Where should I recover the information?
thanks
Michele

Respuestas (1)

Amith
Amith el 23 de Ag. de 2024
Editada: Amith el 23 de Ag. de 2024
Hi Michele,
You can configure a Simulink model running on the target hardware to detect and notify you when a task overrun occurs. You can select to notify through any of the additional notification option on overrun: None, Trigger interrupt, or Call user-defined function. To learn more about the overrun detection you can refer to the documentation linked below:
Hope this helps!
  2 comentarios
TuttoAlDoc
TuttoAlDoc el 26 de Ag. de 2024
Hi Amith, thank you for your answer. I already found that link in my search but it seems to refer to TI C2000 blockset. I'm instead working on a Xilinx Zynq. I found the option to enable overrun detection in the simulation configuration but I cannot find anything regarding the notify part there. I don't know if I have to go somewhere else ..
thanks for your support
Michele
TuttoAlDoc
TuttoAlDoc el 29 de Ag. de 2024
Hi, is there no way to detect it out of TI devices?
thanks

Iniciar sesión para comentar.

Categorías

Más información sobre Embedded Coder en Help Center y File Exchange.

Productos


Versión

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by