Dear Support Team,
I am using DA14586 EVM board to develop our project and looking for your help for below issue.
Issue:
I am trying to generate combine image i.e secondary bootloader + Firmware Image using project_multipart_binary_v2 python binary.
I am using DA14585_SDK_6.0.10.511_0 SDK for developemt.
I have followed below steps:
1) Compiled secondary_bootloader for target secondary_bootloader_586, and renamed secondary_bootloader_586.hex to secondary_bootloader.hex and copied into input directory.
2) Compiled prox_reporter for target target prox_reporter_586 and renamed prox_reporter_586.hex to fw_1.hex and copied into input directory.
3) copied fw_1.hex to fw_2.hex into input directory, just to resolved python script error.
4) copied firmware version file into input directory.
5) renamed mkimage_585 to mkimage into bin directory.
6) Run python script, project_multipart_binary_v2 and fw_multi_part_spi.bin file generated into output directory.
7) Flashed fw_multi_part_spi.bin file into board using Smart snnipet toolbox.
8) After flashing i am not able to discover DLG_PROXR device into BLE_SCANNER standard application.
P.S: If I compile and debug secondary_bootloader and prox_reported using KEIL then i am able to discover DLG_PROXR device in BLE_SCANNER app but board will be in debug mode.
I have attached output logFile generated after running python script.
Let me know what I am missing here.
Thanks in advance,
Regards,
Karan.
Hi karanshah28,
Can you please clarify what you are trying to accomplish? The project_multipart_binary_v2 is been using for the SUOTA functionality. To do so, what you would like to accomplish is have to binary images located into the flash, one from the secondary bootloader and the other from the PXP reporter?
Thanks, PM_Dialog
Dear PM_Dialog,
I am trying to generate fw_multi_part_spi.bin file which is combined image of secondary bootloader and firmware image. So I can flash combined fw_multi_part_spi file into board using Smart Sniipet tool and I can check functionality of board.
So, I am able to generate fw_multi_part_spi.bin file using project_multipart_binary_v2.py python script, but after flashing of board I am not able to discover DLG_PROXR device into BLE_SCANNER standard application.
Let me know if more information required on this.
Hi karanshah28,
The project_multipart_binary_v2 is been using for the SUOTA functionality as it was mentioned in my previous post. Which is your requirement? The have the secondary bootloader and the PXP reporter firmware? The project_multipart_binary_v2 script is for specific reason in order to make the image for SUOTA.
Thanks, PM_Dialog
Hi PM_Dialog,
We want to flash binary for very first time. For very first time means boards is totally fresh and no such firmware is available So we have to flash secondary bootloader and then the actual firmware right. Please correct my understanding?
So for that either we have flash bootloader and actual firmware image one by one or we can flash we can combine both image and flash ony single image which contains secondary bootloader and actual firmware image.
For your information, While developing for DA14583, we are using same python script and generate combine image and used generated combined image to flash into board for very first time and that method was working fine for us.
So we followed same procedure as mentioned below:
I have followed below steps:
1) Compiled secondary_bootloader for target secondary_bootloader_586, and renamed secondary_bootloader_586.hex to secondary_bootloader.hex and copied into input directory.
2) Compiled prox_reporter for target target prox_reporter_586 and renamed prox_reporter_586.hex to fw_1.hex and copied into input directory.
3) copied fw_1.hex to fw_2.hex into input directory, just to resolved python script error.
4) copied firmware version file into input directory.
5) renamed mkimage_585 to mkimage into bin directory.
6) Run python script, project_multipart_binary_v2 and fw_multi_part_spi.bin file generated into output directory.
7) Flashed fw_multi_part_spi.bin file into board using Smart snnipet toolbox
but that did not worked for me.
So, as you are saying we can not use that binary as they are meant for SUOTA process.
So, Please let us know which procedure we need to follow to flash binary for very first time?
Thanks in advance.
Regards, Karan
Hi karanshah28,
Thanks for your detailed feedback. Let me check again you requirement and I will get back to you as soon as possible.
Thanks, PM_Dialog
Hi karanshah28,
Can you please check where the two images are located in the fw_multi_part_spi.bin? Can you please make sure that the secondary bootloader is running, and it not get crashed?
Thanks, PM_Dialog