LED dont work on bootloader project on custom board.

Hi,

I am testing simple code on various project on my custom board. I have 4 Leds on custom board.

for (int i=0;i<50;i++)
{
nrf_gpio_cfg_output(i);
}

I have LED connected to pin P0.9 P0.10 P0.12 P0.22 

when I run the central project it turns on leds perfectly fine but when I run it on secure bootloader project it just turn on LED connected to pin 22. 

I am calling the function at start of main.

I am unable to understand the reason of this behavior.

Kindly guide,

Kind Regards,

 

Parents
  • Hi Khawaja, 

    The bootloader is no different from the application. It's just the same as an application but located at different space in flash and is executed before the application /softdevice. 

    How did you test your setup ?  Do you let the bootloader stay in the DFU mode ?

    Please take a look at our example, we turn on LED1 (P0.17) when we are in the DFU mode. 

Reply
  • Hi Khawaja, 

    The bootloader is no different from the application. It's just the same as an application but located at different space in flash and is executed before the application /softdevice. 

    How did you test your setup ?  Do you let the bootloader stay in the DFU mode ?

    Please take a look at our example, we turn on LED1 (P0.17) when we are in the DFU mode. 

Children
Related