This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Time for bootloader to run

Using the bootloader example code in SDK 8.1.0 for gcc, roughly how long does it take from power on to the call to bootloader_app_start()?

My device is motion activated and the GPIO pin that kicks that off doesn't stay low for long. I suspect it has gone high by the time my app executes, but don't have a scope to test with.

Parents
  • Hi,

    I decided to test this with a logic analyzer, they way I did that was to measure the time between VDD going high and a pin going high that I set in the main function of my application.

    image description

    Top waveform is the pin and the bottom is VDD, the distance between these were 0.2786s, however the actual distance between application and bootloader is likely a little less, since there is some initialization that has to be done to get the pin set.

    Hopefully this answers your question. Best regards,

    Øyvind

Reply
  • Hi,

    I decided to test this with a logic analyzer, they way I did that was to measure the time between VDD going high and a pin going high that I set in the main function of my application.

    image description

    Top waveform is the pin and the bottom is VDD, the distance between these were 0.2786s, however the actual distance between application and bootloader is likely a little less, since there is some initialization that has to be done to get the pin set.

    Hopefully this answers your question. Best regards,

    Øyvind

Children
No Data
Related