Hey daringer, thank you very much for that response. I ran through things and gathered logs, and see two faults.
One is the flash-develop command tries to reboot into bootloader mode and it complains it can only boot bootloader from firmware mode (it then proceeds to upload the develop firmware), below is the output.
The other is once the firmware is loaded, the rtt log shows app: No firmware to activate. rtt log pasted below the flash-develop log. Is there something that needs to happen for the initial firmware load?
I checked the board pin mappings and they look good (memory / se050 / touch sensor connected to correct pins)
Again thank you very much for your time here, I really do appreciate it.
flash-develop log:
- nrfutil pkg generate --hw-version 52 --application-version 4194818 --application develop-nk3am-nrf52-1.8.2.hex --sd-req 0x0 --key-file ā¦/test-certificates/firmware-nk3am/dfu_private.key --app-boot-validation VALIDATE_ECDSA_P256_SHA256 develop-nk3am-nrf52-1.8.2.zip
Zip created at develop-nk3am-nrf52-1.8.2.zip
nitropy nk3 reboot --bootloader
Command line tool to interact with Nitrokey devices 0.8.1
Critical error:
A device in bootloader mode can only reboot into firmware mode.
make: [Makefile:95: flash-develop] Error 1 (ignored)
bash wait_for_usb.sh 20a0:42e8
Bus 001 Device 034: ID 20a0:42e8 Clay Logic Nitrokey 3 Bootloader
āā¦/ā¦ā/utils/nrf-bootloader/upload.sh develop-nk3am-nrf52-1.8.2.zip /dev/serial/by-id/usb-Nitrokey_Nitrokey_3_Bootloader*
- ā[ā 2 -ne 2 ā]ā
- UPDATE_FILENAME=develop-nk3am-nrf52-1.8.2.zip
- SERIAL_PORT=/dev/serial/by-id/usb-Nitrokey_Nitrokey_3_Bootloader_C4711DE56354-if00
- nrfutil dfu usb-serial -pkg develop-nk3am-nrf52-1.8.2.zip -p /dev/serial/by-id/usb-Nitrokey_Nitrokey_3_Bootloader_C4711DE56354-if00
[####################################] 100%
Device programmed.
bash wait_for_usb.sh 20a0:42b2
ā¦Device not found
make: *** [Makefile:100: flash-develop] Error 1
rtt log shows each time the chip reboots after firmware flash:
app: In nrf_bootloader_init
nrf_dfu_settings: Calling nrf_dfu_settings_init()ā¦
nrf_dfu_flash: Initializing nrf_fstorage_nvmc backend.
nrf_dfu_settings: Using settings page.
nrf_dfu_settings: Copying forbidden parts from backup page.
nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.
nrf_dfu_settings: Backing up settings page to address 0xFE000.
nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.
app: Enter nrf_bootloader_fw_activate
app: No firmware to activate.
nrf_dfu_validation: Signature required. Checking signature.
nrf_dfu_validation: Calculating hash (len: 536472)
nrf_dfu_validation: Verify signature
nrf_dfu_validation: Image verified
app: App is valid
nrf_dfu_settings: No additional data erased
nrf_dfu_settings: Backing up settings page to address 0xFE000.
nrf_dfu_settings: Destination settings are identical to source, write not needed. Skipping.
app: Running nrf_bootloader_app_start with address: 0x00001000
app: Disabling interrupts. NVIC->ICER[0]: 0x0
make: *** [Makefile:31: rtt] Interrupt