- Clear the Interrupt Source: Before setting the breakpoint, ensure that the source of the interrupt has been cleared. Depending on whether the interrupt is level- or edge-triggered, it can affect whether the ISR is called continually or only once.
- Check Interrupt Priority and Nesting Settings: Ensure that the priority of your interrupt is not set too low, and that interrupt nesting is enabled. If the interrupt priority is low, or if interrupt nesting is disabled, the ISR might not be executed when another higher-priority interrupt occurs.
Unable to step debug C code generated using MATLAB 2019a embedded coder on F28379D launchpad
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have generated C code using MATLAB Simulink Embedded coder to be used with Texas Instruments F28379D launchpad. I am able to generate the C code, open, edit and build using the CCS IDE v9.3.
Though the code runs as per the logic written in the interrupt service routine, if I introduce any breakpoint in the interrupt service routine and try to run it in the debug mode, it does not reach there.
Please let me know of any suggestions to solve this.
0 comentarios
Respuestas (1)
Asim
el 17 de Nov. de 2023
Hello Varun,
I understand that you're having difficulties with debugging your generated C code from MATLAB Simulink Embedded Coder on the Texas Instruments F28379D LaunchPad using CCS IDE v9.3. Specifically, breakpoints within the interrupt service routine (ISR) aren't being hit in debug mode.
Here are a few suggestions you might find helpful:
I hope these instructions help you.
Best Regards,
Asim Asrar
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!