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

DFU

Hi,

I expected a bit more fanfare for the BLE-based DFU, but eventually found it in the 4.4 SDK after my sales rep told me it was there ;)

Some questions:

(1) Is there a plan to support DFU over BLE without the need to physically press a button? I get that this could be user implemented, but for something as critical as DFU, we'd rather rely on the vendor's code.

(2) Will there be a sample iOS app any time soon?

Thanks!

-m

Parents
  • You should have received an e-mail that there was an SDK update, but that doesn't yet include any changelog, so I see it wasn't easy to know. :)

    Anyway:

    1. I can report it as a feature request, but it should be fairly straightforward to add. I think the easiest methods would be to use the GPREGRET register. Write a special value when you want to jump to the bootloader, and just reset. Change the bootloader so that your special value is also considered a reason for staying in bootloader mode.

    Another option would actually be to include the bootloader service and its dependencies in your application, so that you just stay in application mode while doing the download and then reset only when finished and verified. This would also require some changes to the bootloader though.

    1. This is definitely something we wish to do, but there hasn't been set any dates for it yet, so I can't promise anything.
Reply
  • You should have received an e-mail that there was an SDK update, but that doesn't yet include any changelog, so I see it wasn't easy to know. :)

    Anyway:

    1. I can report it as a feature request, but it should be fairly straightforward to add. I think the easiest methods would be to use the GPREGRET register. Write a special value when you want to jump to the bootloader, and just reset. Change the bootloader so that your special value is also considered a reason for staying in bootloader mode.

    Another option would actually be to include the bootloader service and its dependencies in your application, so that you just stay in application mode while doing the download and then reset only when finished and verified. This would also require some changes to the bootloader though.

    1. This is definitely something we wish to do, but there hasn't been set any dates for it yet, so I can't promise anything.
Children
Related