Skip to main content

Not able to do SUOTA on DA14580

DA14580

1 year ago

Posted by HarishKumar 0 points 5 replies
0 upvotes

Hi All,

 

We are trying to test SUOTA on DA14580, generate fw_1.img, fw_2.img, fw_multi_part_spi.bin as per the "AN-B-010_da14580_using_suota_0.pdf" stated step by step. After I burning the fw_multi_part_spi.bin into DA14580 development board (p2ml3656). It does not advertise. It works fine and advertise for  fw_1.bin or fw_2.bin but not fw_multi_part_spi.bin.

 

In Smartsnippet toolbox, it writes till 0x7FF8 (32kb) even though it reads 0x1B090. Attached spi_smartsnippet.png

 

I have enabled SPI_FLASH_SUPPORTED and undefined SUPPORT_AN_B_001 in the boot_loader.h as per ref. document "UM-B-012"

For DA14580, what else to do?

 

attaching the image

 

Regards,

Harish

Attachment Size
SPI_smartsnippets.pdf 129.26 KB

1 year ago

PM_Dialog

Hi HarishKumar,

So, if I understood correctly for what you mentioned, you created the multi-image and after burning the SPI Flash, the device cannot start advertising. Is my assumption correct?

Would it be possible to share the binaries and the multi image that you are using in order to test it in my side?

Thanks, PM_Dialog

1 year ago

HarishKumar 0 points

Hi PM_Dialog,

Yes, after burning the multi-image, the device cannot start advertising.

I have uploaded the binaries and please let me know the issue.

Best Regards,

Harish

Attachment Size
images.zip 300.9 KB

1 year ago

PM_Dialog

Hi HarishKumar,

Could you please check again the steps in the Section 8 ?

https://www.dialog-semiconductor.com/sites/default/files/an-b-010_da14580_using_suota_0.pdf

It is expected that that devices cannot boot, because the multi image firmware does not contains the bootloader, the fw1 and f2 in the correct address. It should be like figure 5.

I would suggest to re-do the steps in a clean SDK project and copy-paste the .hex files into the input folder.

If you are starting a new design, we would strongly recommend starting with DA14531 or DA14585/586 products and our latest SDK6.0.14, as it is much more improved. We have a lot of code examples and improved documentation, and there is also software roadmap support. There is not any software roadmap support for DA14580 product family and SDK5.

 

Please check out DA14531:

 

https://www.dialog-semiconductor.com/products/bluetooth-module-da14531-smartbond-tiny

Additionally, in case of DA14531, we have a much more detailed SUOTA tutorial:

http://lpccs-docs.dialog-semiconductor.com/Tutorial-BLE-SUOTA-DA145x/index.html

Thanks, PM_Dialog

1 year ago

HarishKumar 0 points

Hi PM_Dialog,

Thanks a lot for your immediate feedback.  I have taken clean SDK 5.0.4, tried steps provided by Programming the SPI flash in sec 4.2 and tested multi image still the device cannot start advertising. I have uploaded the images for your further validation.

We are working on other features SDK 5.0.4 and DA14850 || ZY module, so difficult to change new 6.0.4 SDK.

Is it possible to provide the working version for DA14850 secondary bootloader ?

Best Regards,

Harish

 

 

 

Attachment Size
images_1.zip 173.96 KB

1 year ago

PM_Dialog

Hi HarishKumar,

Apologies for my late response I have followed the steps described in the document and the device can be detected on the Dialog SUOTA mobile application.

The only extra step I did is in section 8.1 before running the python script (22) :

Copy 5.0.4\binaries\host\windows\mkimage\mkimage.exe and past it in the  DA1458x_SUOTA_Multipart_Binary_Generator_v0.3\bin

Additionally, please note that when burning the SPI flash with the multi-image, you should NOT make the device bootable.

Thanks, PM_Dialog