STM32F4 Asynchronous Scheduling Example

1 view (last 30 days)
Alex Kim
Alex Kim on 4 Feb 2019
Hello,
I am working with Embedded coder along with STM32F4 Discovery Board. I have the 'Asynchronous Scheduling for STM32F4 Discovery Board' example working in External mode with only one minor bug. In the example it states: "Any exception during the execution of the model on the STM32F4-Discovery board will trigger a hard fault exception, which is set to trigger the 'Exception Handler' function-call subsystem. The red LED turns on when the exception occurs. For instance, this will happen when you terminate the External mode simulation while using the Baremetal scheduler." My only problem is that I cannot get this exception handler to turn on my red LED. If I choose to have it on initially, the red LED stays on but does not toggle when I terminate the simulation. I am using Baremetal scheduler and it would be great if someone could help me with this.
Thank you in advance!
Regards,
Alex

Answers (0)

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!