Difference between different HEX files found in build/zephyr folder of nRF Connect SDK project

Hi all! 

I've been working on a project using the nRF Connect extension for VS Code and I've been trying to figure out which HEX file in my build/zephyr folder for my application I'm supposed to flash onto the Thingy 91? I'm asking based of this closed post from ~2 years ago.  Thingy 91 not connecting to VS studio 

I know I'm supposed to be looking for the app_signed.hex file but instead I have:

  • b0_container.hex
  • s0.hex
  • s0_image.hex
  • s1.hex
  • signed_by_b0_s0_image.hex
  • signed_by_b0_s1_image.hex
  • signed_by_mcuboot_and_b0_s0_image_moved_test_update.hex
  • signed_by_mcuboot_and_b0_s0_image_signed.hex
  • signed_by_mcuboot_and_b0_s0_image_test_update.hex
  • ssigned_by_mcuboot_and_b0_s1_image_moved_test_update.hex
  • signed_by_mcuboot_and_b0_s1_image_signed.hex
  • signed_by_mcuboot_and_b0_s1_image_test_update.hex

There's a lot more HEX files than expected and because this was from a few years ago I wanted to ask if what I'm looking for is under a different name? 

Thanks!

Parents Reply
  • Hi,

    If the project never built successfully it is a separate matter that needs to be addressed. If the project did not build the file is never generated.

    Assuming you are able to biuld the project and that consists of multiple images (which most projects do), the image that shoudl be flashed is called merged.hex and you should find it inside the build folder. If you use nRF Connect for VS Code and program from there it will automatically select the file.

    For reference, here is the file that is programmed in that case on my computer when i flash the asset tracker application from nRF Connect SDK 2.7.0: /opt/nordic/ncs/v2.7.0/nrf/applications/asset_tracker_v2/build/merged.hex

Children
Related