Hi all,
I am on the DK-52 with the SDK 13.0.0.
After erasing the device, I follow this steps:
-
upload the softdevice
nrfjprog --reset --program s132_nrf52_4.0.2_softdevice.hex --family NRF52
-
upload the bootloader (bootloader_secure_ble)
nrfjprog --reset --program nrf52832_xxaa_s132.hex --family NRF52
After that the bootloader enters in DFU mode (LED1 and LED3 on)
If I try to upload my app firmware:
nrfjprog --reset --program pollen_device.hex --sectorerase --family NRF5
I get this error:
Argument provided has a wrong value. Memory access not aligned, value outside of range or similar
If I try to upload the app from my iPhone (using iOSDFULibrary) I am able to upload the app firmware, the device resets and the app starts correctly.
My app firmware has:
FLASH_START=0x1F000
SRAM_START=0x20001fe0
How do I correctly upload the app firmware via nrfjprog?
Thank you.