Hi, I've been working on an application that activates rtc alarms every few seconds, when the alarm is activated it sends a message to a thread. This msg is used in a thread that in its turn sends messages over gnrc. However, after a while sending messages, it stops and the mcu only gets in in the rtc alarm, without returning to the thread context.
I tested a basic thread, that just puts some serial message, and a rtc alarm showing another message. The program starts running the thread but every time the rtc alarm activates i get a Riot Kernel panic: HARD FAULT HANDLER and then reboots the system. I imagine there is a problem when both functions are supposed to run at the same time and it gets a kernel panic, or some kind of problem with the context switcher. Any thoughts on why this is happening, advice on how to workaround it, etc. would be much appreciated. Cheers, Paula
_______________________________________________ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel