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

Buttonless DFU Timeout

Hi,

What happens if a user initiates DFU but never continues the process of uploading an image, does the device sit in this mode indefinitely long?

How might we implement a timeout back to application if say, no image has attempted upload for 60 seconds?

Parents
  • Sounds like a good solution to me

    I would have thought that for most scenarios having a timeout on DFU would be a good idea

    The bootloader could check if the application memory area is blank, if non - blank it could jump to the application when the timer expired.

    Otherwise this sounds like a potential DOS attack, as devices could be sent to DFU and are then out of action.

Reply
  • Sounds like a good solution to me

    I would have thought that for most scenarios having a timeout on DFU would be a good idea

    The bootloader could check if the application memory area is blank, if non - blank it could jump to the application when the timer expired.

    Otherwise this sounds like a potential DOS attack, as devices could be sent to DFU and are then out of action.

Children
No Data
Related