application on nrf9160 board does not start

Hi,

I'm developing a board based on the thingy91 (same nordic silicon, different sensors) and using nrf SDK v2.0.0 

The blinky application is flashed and run correctly the first time upon flash complete, but won't start if I turn off and on the board again.

Has anyone seen similar behavior?

Cheers,

Stef

    

Parents
  • Hi,

     

    I'm developing a board based on the thingy91 (same nordic silicon, different sensors) and using nrf SDK v2.0.0 

    The blinky application is flashed and run correctly the first time upon flash complete, but won't start if I turn off and on the board again.

    Has anyone seen similar behavior?

    This is often due to sensors/libraries being enabled in the background, where there's a timing issue upon boot. Ie. a sensor being initialized before it's ready, maybe it needs a 100 ms delay before initial transmission etc.

     

    If you enter debug mode, ie. attaching to a already running target, when this issue is produced, where does the code hang?

    PS: You can use Segger Ozone to attach to a running target.

     

    Kind regards,

    Håkon

Reply
  • Hi,

     

    I'm developing a board based on the thingy91 (same nordic silicon, different sensors) and using nrf SDK v2.0.0 

    The blinky application is flashed and run correctly the first time upon flash complete, but won't start if I turn off and on the board again.

    Has anyone seen similar behavior?

    This is often due to sensors/libraries being enabled in the background, where there's a timing issue upon boot. Ie. a sensor being initialized before it's ready, maybe it needs a 100 ms delay before initial transmission etc.

     

    If you enter debug mode, ie. attaching to a already running target, when this issue is produced, where does the code hang?

    PS: You can use Segger Ozone to attach to a running target.

     

    Kind regards,

    Håkon

Children
Related