Hi Dialog,
I have 2 images with sizes of 27kB. Then for the dual image bootloader configuration I set the following memory location:
MEM_LOC_FOR_FW_1_IMG = "0x8000"
MEM_LOC_FOR_FW_2_IMG = "0x1F000"
MEM_LOC_FOR_PRODUCT_HEADER = "0x38000"
It could not boot. But when I changed it to the following:
MEM_LOC_FOR_FW_1_IMG = "0x4000"
MEM_LOC_FOR_FW_2_IMG = "0x1F000"
MEM_LOC_FOR_PRODUCT_HEADER = "0x38000"
It booted successfully.
But given that the memory space between 0x8000 and 0x1F000 is around 94kB shouldn't it be burned & loaded with no problems?
Device:
Hi jlabuac,
I am not sure about the changes that you report that you ve applied, where did you apply those changes ?
Anyway, something else should went wrong when trying the first time, i ve tested with images about 37KB each (ble_app_ota with optimization set to O0) and burned in offsets 0x8000 and 0x1F000 the device was able to boot succesfully. Also when producing the multipart.bin the mkimage utility shoudl prompt you with the offsets of each image in the complete binary.
Thanks MT_dialog
Hi Dialog,
I applied those in the python tool that could generate a multipart.bin image that you provided in your site.
Regards,
jlabuac
Hi jlabuac,
Ok, i usually go the manual way in doing this, but again changing the values to the one that you 've mentioned, running the script and burning the generated multipart.bin file in the flash, i was able to run the SUOTA. Please try to go manual and check if that works for you, you will be able to find instructions on how to do this manual in the AN-B-010 DA14580 using SUOTA.pdf file in the 580 product section, in the "Application Notes".
Thanks MT_dialog