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

General questions/information arround dfu

Hello I have just some questions where I'm a little insecure and maybe it will also help others to come faster in the topic.

Setup is 52840, s140, Segger Embedded Studio, sdk 15.3

>Buttonless< dfu
Buttonless means that a function is called in the application which starts the dfu mode and the application itself stops?

>Background< dfu
How is this working in general?
If an application is running, like the blinking example, how would the flow be like, if the background dfu is/will be implemented, is there a state diagram available ?

>bonds< and >without bonds<
Is this only for ble important and means ?

The difference between dfu over uart and usb?

Is it possible to update via dfu-util and if so how?

Thank you in advance

twittich

Parents
  • Hi.

    I think you can find all the answers to you questions on infocenter here.

    Buttonless just means that you use a method to start the DFU that does not require you to press a button. Background means that the DFU proces runs in the background while your Application is still running. With and without bonds has to do with security, it is more secure to accept a firmware from a bonded device then an unbonded device. The difference between UART and USB is that they are different protocols. I don't quite understand the last question about "dfu-util", please explain  some more :-)

    Best regards,

    Andreas

  • Hello

    thanks for the quick reply.

    DFU proces runs in the background

    As far as i understand this it means that i can have an application running like the blinky app from the example and can start or make an update in the background. But this means that the dfu mode has to be available even while the app is running. Is there an example for that?   I'm confused because at other tickets it's said that it's not like this, app and dfu mode/device parallel ?

    DFU mode in parallel byside the application

    Is buttonless dfu and w/ wo/ bonds only for dfu over ble important?

    What examples are available for usb dfu and my setup?

    I don't quite understand the last question about "dfu-util", please explain  some more :-)

    The tool dfu-util is a standard program according to specification for dfu of the usb forum. It can be used to update most hardware that supports dfu.

    dfu-util - Device Firmware Upgrade Utilities

    Regards twittich

  • Hi.

    You can take a look at the Buttonless DFU Template Application example.

    You want to do the DFU without using BLE?

    In order to be able to run the application the same time as you run the DFU you must make sure that you have enough space in your device for both, and use dual bank.

     

    twittich said:
    Is buttonless dfu and w/ wo/ bonds only for dfu over ble important?

     If you are using BLE you should bond your devices for safety reasons.

     

    twittich said:
    What examples are available for usb dfu and my setup?

     You can take a look here and also in the link provided in the previous case you had.

     

    twittich said:
    The tool dfu-util is a standard program according to specification for dfu of the usb forum. It can be used to update most hardware that supports dfu.

     I have not used this tool before unfortunately :(

    Best regards,

    Andreas

Reply
  • Hi.

    You can take a look at the Buttonless DFU Template Application example.

    You want to do the DFU without using BLE?

    In order to be able to run the application the same time as you run the DFU you must make sure that you have enough space in your device for both, and use dual bank.

     

    twittich said:
    Is buttonless dfu and w/ wo/ bonds only for dfu over ble important?

     If you are using BLE you should bond your devices for safety reasons.

     

    twittich said:
    What examples are available for usb dfu and my setup?

     You can take a look here and also in the link provided in the previous case you had.

     

    twittich said:
    The tool dfu-util is a standard program according to specification for dfu of the usb forum. It can be used to update most hardware that supports dfu.

     I have not used this tool before unfortunately :(

    Best regards,

    Andreas

Children
Related