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,

    I assume you are looking at this because110 (from the error message) maps to pwm2 in your generated devicetree_generated.h?

    The pins are configured in the device tree in the snippet you have here. You need to enable the config for PWM as well.

    If using the nrfx API you can refer to the samples under modules/hal/nordic/nrfx/samples/src/nrfx_pwm/. As you are using pwm2 you would have to add CONFIG_NRFX_PWM2=y to your project configuration.

    If using the Zephyr API you can refer to zephyr/samples/basic/blinky_pwm/, and see the overlay files for the nrf9160 as well as the prj.conf for the config that enables pwm (CONFIG_PWM=y).

Children
Related