Hi,
I am trying to get Secure UART Bootloader to work and followed the steps mentioned here.
- I generated the Keys and updated the dfu_public_key.c file in the project at secure_bootloader_uart_mbr_pca10056
- Erased the chip by going into Target -> Erase All in SES
- Created the Zip using this command:
nrfutil pkg generate --hw-version 52 --application-version 1 --application myFile.hex --key-file C:\xxxx\xx\xx\xx\priv.pem secureDFUUART.zip --sd-req 0x00
- Run the DFU using: dfu serial -pkg secureDFUUART.zip -p COM3
What's happening:
- After the process, nRFUtil says "Device Programmed" and the LED1 and LED3 are turning off.
- But I can't see the application running on the nRF52840DK
How am I validating that?
- In application, I disabled the Read Access but I can still read back the firmware using J-Flash
- In my app, LED1 toggles and that didn't happen.
Other Information:
- I can successully do a secure DFU for blinky_pca10056_mbr.hex file following the same steps.
- This lead me to believe I am missing something in the process of creating the hex file for my custom application.
Can you please help me out to understand what's the problem here?