Unexpected reset while running blinker program on Nucleo-144 STM32L496ZG board with ChibiOS 18.2
Posted: Mon Oct 29, 2018 2:20 pm
Hello,
I tried to run the blinker program on a Nucleo-144 STM32L496ZG board with ChibiOS 18.2. So I based my project on RT-STM32L476RG-NUCLEO64 project found in the "demos" folder, after installing ChibiStudio_Preview20.7z on a Windows 10 64 bits computer.
Unfortunately the blinker program gets reset unexpectedly before half an hour of program run... I discovered that issue after interfacing the Nucleo-144 board with a display: the time printed on that display was always resetting to 00:00:00 before half an hour of program run. Thinking it was a mistake of mine, I reverted back to the original blinker program and discovered that it was also unexpectedly resetting after a period of time.
Then I tried to understand what was going on by enabling debug flags, stopping hypothetical timers on reset, suspending the core on reset, etc. without any debug success... I other words, I am completely stuck.
I join the source code of my blinker program which contains the files I modified to port on Nucleo-144 STM32L496ZG board. I also modified the behaviour of the original blinker program in order to emphasize the reset of the MCU: the blue LED is flashing at a fast pace for 10s on program boot; on normal program operation, the green and red LEDs are flashing alternatively.
Do you have the possibility to test that program on the same board as me ?
Thanks for the help,
I tried to run the blinker program on a Nucleo-144 STM32L496ZG board with ChibiOS 18.2. So I based my project on RT-STM32L476RG-NUCLEO64 project found in the "demos" folder, after installing ChibiStudio_Preview20.7z on a Windows 10 64 bits computer.
Unfortunately the blinker program gets reset unexpectedly before half an hour of program run... I discovered that issue after interfacing the Nucleo-144 board with a display: the time printed on that display was always resetting to 00:00:00 before half an hour of program run. Thinking it was a mistake of mine, I reverted back to the original blinker program and discovered that it was also unexpectedly resetting after a period of time.
Then I tried to understand what was going on by enabling debug flags, stopping hypothetical timers on reset, suspending the core on reset, etc. without any debug success... I other words, I am completely stuck.
I join the source code of my blinker program which contains the files I modified to port on Nucleo-144 STM32L496ZG board. I also modified the behaviour of the original blinker program in order to emphasize the reset of the MCU: the blue LED is flashing at a fast pace for 10s on program boot; on normal program operation, the green and red LEDs are flashing alternatively.
Do you have the possibility to test that program on the same board as me ?
Thanks for the help,