<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 4, 2019 at 7:28 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
On 04/04/2019 14:09, Catalin Demergian wrote:<br>
> Hi Andrei,<br>
> thank you for the elaborated answer !<br>
><br>
> I checked my STM32 Cube settings, I have 3 enabled interrupts and they <br>
> all have the preemption priority/sub priority set to zero !<br>
> it seems I ran into the same issue you had in 2015 :)<br>
> I will take your advice - change the priorities, regenerate the code <br>
> and see what happens.<br>
<br>
I mentioned this possible problem some months ago:<br>
<br>
<a href="https://lists.rtems.org/pipermail/users/2018-September/032600.html" rel="noreferrer" target="_blank">https://lists.rtems.org/pipermail/users/2018-September/032600.html</a><br>
<br>
Andrei's answer is definitely a bit more elaborate.<br></blockquote><div><br></div><div>Thanks Andrei! I am glad you are past this but let's do a post-game analysis of what</div><div>could be better next time so no one else suffers as much. These are random ideas</div><div>and I am open to more.</div><div><br></div><div>+ Could this be detected at run-time during setup with a debug option?<br></div><div><br></div><div>+ Could this be written up in the BSP Guide so at least there is a place to reference?<br></div><div>Perhaps in a generic section on dealing with interrupt controllers</div><div><br></div><div>I don't think this is specifically an ARM issue. It is just easy to do on the ARM.</div><div>I recall people doing similar things with high priority interrupts and NMI's in the</div><div>past.</div><div><br></div><div>Any other ideas? My goal is always to try to prevent people from suffering over</div><div>and over from the same mistakes.</div><div><br></div><div>--joel</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone : +49 89 189 47 41-16<br>
Fax : +49 89 189 47 41-09<br>
E-Mail : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
PGP : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a></blockquote></div></div>