Borrar filtros
Borrar filtros

Code generated via embedded coder, shows random reset issue while running in controller, because of stack overflow. How to resolve this issue?

3 visualizaciones (últimos 30 días)
I have generated code via matlab-simulink using embedded coder for TMS320F28377D controller. But while executing the code in controller, I am observing that my controller gets reset randomly. On further analysing I found that my stack overflows randomly. So is there any solution which can help me in resolving this issue?
  1 comentario
Jaime Varela
Jaime Varela el 5 de Feb. de 2021
Would you be able to provide more information such as a sample model and any error logs?
Also, have you tried to optimize for memory usage 'Minimize RAM' in the embedded coder settings and see if you get the same error?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by