Hi,
It looks like you are getting hardfaults in your application. Did you flash the softdevice along the application?
Best regards,
Jørgen
Hi Jorgen,
Yes, I've flashed with s140_nrf52840_5.0.0-2.alpha_softdevice.hex.
Meantime I have discovered that executing a monitor reset after the load command resolve the problem.
The question now is: what is the reason of this behavoir?
Many thanks
Attilio
The monitor reset command will reset the chip, to make sure it is in a known state.
The doubt is not about the meaning of reset ...
For what I understand the ble_stack_init has to be invoked in a well know state otherwise it throws an hard fault.
This is valid for loading from JTAG and also from firmware update from OTA.
Is it right my understanding?
Yes, this is correct. There is no JTAG on the nRF5x devices, we use SWD interface.