As title.
In nRF54L15 DK, I set "SB_CONFIG_BOOTLOADER_MCUBOOT=y" in file "sysbuild.conf".
It makes main function GPIO toggle stop.
Do have any solution to prevent this problem?



result:

As title.
In nRF54L15 DK, I set "SB_CONFIG_BOOTLOADER_MCUBOOT=y" in file "sysbuild.conf".
It makes main function GPIO toggle stop.
Do have any solution to prevent this problem?



result:

Hello,
Is the gap shown in your logic trace happening while the chip is starting up after a reset? The bootloader executes first at startup and is responsible for validating the application's signature before booting it. However, 10 us seems a little too short to complete this part of the boot sequence.
Best regards,
Vidar
Hi Vidar
The situation has no reset occur.
Austin
Hi Austin,
Thanks for confirming. 10 us was too short anyway. What is likely happening is that your main loop is preempted by the system timer interrupt (GRTC IRQn). This can happen regardless if you have a bootloader present or not. To confirm this, you can try to mask the interrupts before entering the while loop.
#include <zephyr/kernel.h>
int main(void)
{
...
(void) irq_lock();
while(1) {
...
}
...
Best regards,
Vidar