Open kareled opened 5 months ago
I assume you did try but it's not 100% clear to me from the phrasing: have you tried to make an empty RTIC application to reset itself or with all your user-code? Have you tried resetting your MCU by pulling the RST pin down and seeing if the behaviour is different?
Indeed, this is an homework I still need to do. E.g. complex RTIC app runs on custom board without any support for RST pin while my "duplication" of sys_reset working with just f4 hal was done on nucleo board with comfortable RST button if needed. Anyway, I'll make simple RTIC app for nucleo and will report back if sys_reset works or not there...
Ok! FYI, RTIC has it's own official Matrix channel where you can pop-in and ask questions to the wider audience if you want :)
Hello, first of all, thanks a lot for the RTIC, it's amazing piece of code and technology! I'm running it on stm32f4 and I'd like to enhance the application capability to be able to reset itself. Unfortunately simple:
results in following output from the probe-rs:
and the app/platform/mcu is not reset properly. I've verified that if I just go without RTIC using stm32f4xx_hal & co, then sys_reset works like a charm. But not with RTIC. My RTIC app is around 15 user tasks and few hardware tasks and is using rtic monotonic and also rtic sync for channel communication. Do you have any idea where should I look to debug this failure? Looks like I'm even not able to get hard fault frame for whatever reason... Thanks!