This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Zip file failed to upload for ble_secure project

Hello, I am working on ota ble_secure project. I have created a zip file which is the last step and copied this file to my smart phone so that I can upload it using nrf toolbox. The upload fails. I am not sure which files to include to create a zip package. I am attaching my zip package as well as the files that I used to merge.app_dfu_package.zip. The hex file is nrf52832_xxaa_s132.hex.

The log file of error is log.txt

Sdk which I have is www.nordicsemi.com/.../nRF5-SDK

I am using this project in sdk sdknordic\examples\dfu\bootloader_secure\pca10040

Left side is new sdk and right side is old sdk. bootloader.PNG

Log file New Text Document.txt

New log file errorlog.txt

  • Hi, I am attaching the log file in the question. Please find the attachment. Thanks

  • Hi Shailav,

    It doesn't seems that you are using the bootloader in SDK v13. More likely it's legacy bootloader from SDK v11.

    Could you double check and let me know which bootloader you used ? in which folder ? Have you tried to test with the \examples\dfu\bootloader_secure project and the test .zip file included in \examples\dfu\ble_dfu_send_hex\test_images_update_nrf52832.

  • Hello, I think you are right. I have not merged the bootloader files. Where can I find the bootloader files? How to merge the hex and bootloader files? I have visited the nordic page but it doesnt help me. Can you please post screen shots of the files that I need to merge and their location? It would help me if you do it on your side and post some screen shots. The problem is in zip package creation. Thanks

  • Hi, I don't know why you talking about "merge" here ? Why do we have to merge the hex ??

    I asked above, please tell me which SDK you are using. You are not using SDK v13 !

    The bootloader is located at \examples\dfu\bootloader_secure on SDK v12 and later. And located at \examples\dfu\bootloader in the SDK v11 and earlier.

    Please point me to the instruction you were following in the documentation on info center.

    For example if you are using SDK v11, you should follow this instruction.

  • Hello,

    I am following these steps infocenter.nordicsemi.com/index.jsp

    I am facing problem in creating a firmware package. There are 3 files that needs to be created.

    --application image: an image of an application --bootloader image: an image of a bootloader --softdevice image: an image of a SoftDevice

    Now out of the above 3 which files are common and which files I have to use from my created project? How to combine these files and generate a zip file? Can you attach the common files and suggest me path of the file that I need to create myself?

    I am using nrf51latest13alpha SDK.

    Thanks

Related