Hi ,
DA14531 SDK VERSION :6.0.16.1144
In my application i trying to do BLE ota using SUOTA APP Renesas and trying on the example and the i defualt example i haven't changed anything other than advertisement packets.
what are the steps to be followed to do the ota with the updated bin file.
Thanks ,
Sowmiya
Hi Sowmiya,Thank you for posting your question online.
sowmiya said:what are the steps to be followed to do the ota with the updated bin file.
Please refer on the following Tutorial and Document:1)22. SUOTA Overview — DA145XX Tutorial SDK Getting started (renesas.com)2) 3. BLE Development Environment and First Application — DA14585/DA14531 SW Platform Reference Manual (renesas.com)Best Regards,OV_Renesas
As mentioned in the video followed the steps , flashed the muliti image fw to the device .
its scanning SUOTA-1 scannning in smart_bond scanner aplication .
how to do the OTA process , i have downloaded the souta application but this not scaning in SUOTA app.
how to upload the new application image file into the app.
Thanks,
Hi Sowmiya,Thank you for the reply.In order for the SUOTA mobile application to be able to scan your device, you will need to add the SUOTA service on the Advertising Data.Please refer on the prox_reporter example, on user_config.h file, to see how to add the SUOTA service on the Advertising Data.After that you will be able to find your device via the SUOTA mobile application.Best Regards,OV_Renesas
Thanks for the quick reply,
I can able to scan the devcie in my android phone and selected the file from SUOTA application its shwoing the product header error .
for DA14531 , i have changed the product header to 0x1f000
// product header flags #define PRODUCT_HEADER_POSITION 0x1F000 //0x38000
THANKS,
Hi Sowmiya,Thank you for the reply.Are you using DA14531 SoC or the DA14531MOD?If you are using the DA14531 SoC, there will be no need to change the PRODUCT_HEADER_POSITION.If you are using the DA14531MOD please refer on the required changes here: 27. SUOTA Memory Size Modifications — DA145XX Tutorial SDK Getting started (renesas.com)If you are using DA14531 SoC, make sure you have a supported SPI Flash on your design.AN-B-088: DA1453x Flash Selector Guide (renesas.com)
Best Regards,OV_Renesas
Thanks for the reply,
With prox_reporter example and the secondary bootloader OTA is working.
OV_Renesas said:If you are using the DA14531 SoC, there will be no need to change the PRODUCT_HEADER_POSITION.
Yes, i have changed the PRODUCT_HEADER_POSITION in proxr_reporter - > app_suotar.h
Ota is working without error.
and my question, i am working on our custom device DA14531 .and for my application i am using SPI flash to store some configuration values for using in my application and to rechange the configuration stroing it in Spi flash .
OV_Renesas said:If you are using the DA14531MOD please refer on the required changes here: 27. SUOTA Memory Size Modifications — DA145XX Tutorial SDK Getting started (renesas.com)
from the document base DA14531 using in the example code : i am making the multiple image address
LOCATION OF 1st IMAGE : 0x04000
LOCATION OF 2nd IMAGE : 0x10000
LOCATION OF PRODUCT HEADER : 0x1F000
TOTAL MEMORY SIZE : 0x020000
So , i wanted to do OTA for my application and i am using spi flash as mentioned below,
uint32_t PC_FLASH_ADR = 0x1f000;
how can i manage the memory address ?
Hi Sowmiya,
Do you mean you want save your user-data to 0x1f000? this is conflict with PRODUCT HEADER.
1, get the current code size from .hex file (I use 2M flash as an example).
At addr 0x00004000, sort out the code size from the table.
2, You need to evaluating the single image size and reserve enough size for the future OTA codes.
3, Enter the 2nd image offset in the tool-box:
4, then you have your free space for params. like this
0x0000 0000 Multi Image Header
0x0000 4000 sigle Image Header
Image 1
0x0000 xxxx sigle image header
image 2
Thanks
JH_Renesas
Hi JH_Renesas,
JH_Renesas said:4, then you have your free space for params. like this
I have make the partitions of address as below
Multi image header:
single Image Header : IMAGE 1
Single Image Header : IMAGE 2
My params
Product Header
Multi t5_f1 - t6_f2.rar
As shown in image i have set address to create a multi image file. and this address wil be fine ? i have attached my image file. and my multi image file size as 125kb and FLASH mem i am using 32 bytes
Then if i am updating the image from SUOTA app how it run ? like while updating it will change the image by the next time ?
Let me load your hex, and have a test, As expected it will not change the param.
Jason
thank you for the quick reply please load it and test and if i need to change to change the param bytes 64 bytes in future can i make it address before +32 address range from to 0x0001EFF8 .
is this will affect my future OTA image file if size if increased ?