Factory programming script with S332 V7.0.1, App and bootloader that boots the app

Hi,

I am struggling getting my production programming script to work in a way where I get everything programmed including the App being validated...

For some reason it stays in bootloader mode after programming

What am i missing

Programming script:

The hex files are production builds

And I am unsure what the settings file does - it is generated as follows

asdasd

  • Hi!

    1) Does the program run fine if you don't flash the bootloader and the settings hex?

    Your FW is called ble_app_cscs_pca10040_s132.hex , but you are using S332?

    2) If you flash the *_debug variant of the bootloader, then nrf_logs are enabled and you should get some information in the log about why it did not start.

  • Hi!

    Yes the app runs just fine when I program it with S332 og app using dev tool Segger Embedded Studio ;)

    I know the hex file is misleading - this is because I used the Example code and converted it to S332

    I should rename this

    I have tried buildig the debug version but It cannot fit into the same bootloader space so need to adjust things

    But have tried debugging the bootloader and can actually see CRC is good but there are so many checks before the app is validated

  • Flemming Jensen said:
    I have tried buildig the debug version but It cannot fit into the same bootloader space so need to adjust things

    The debug project is already adjusted, you can find it in 

    sdk_folder\examples\dfu\secure_bootloader\pca10040_s132_ble_debug