Hi ,
When i run samples/keys/hw_unique_key app and select nrf9160dk_nrf9160_ns board . The app can not run into main function instead run into system_halt.
Why is this happening please help.
Hi ,
When i run samples/keys/hw_unique_key app and select nrf9160dk_nrf9160_ns board . The app can not run into main function instead run into system_halt.
Hi,
I am not able to reproduce this on my end (using nRF Connect SDK 2.1.1). Which nRF Connect SDK version are you using?
The sdk version I am using is also 2.1.0
I see, then it should work. Can you check if you have done any accidental changes in the SDK code, or for instance check it out again? Are you using the toolchain manager to install it, if not can you try that?
If that does not help, can you share the details about how you are building and testing, step by step so that I can attempt to reproduce exactly what you are doing?
Yes, I can run it normally in no-secure application. However, when I run hw_unique_key in a secure application(Wrapper functions in tfm_ioctl_ns_api.c and tfm_ioctl_s_api.c), it still jumps to the system_halt function.
Are there any examples how to use Huk and crypto in a secure application?
Hi,
Tide said:However, when I run hw_unique_key in a secure application(Wrapper functions in tfm_ioctl_ns_api.c and tfm_ioctl_s_api.c), it still jumps to the system_halt function.
That is odd. This sample works with both secure and non-secure out of the box for me, and both nrf5340dk_nrf5350_cpuapp and nrf5340dk_nrf5350_cpuapp_ns are officially supported targets.
Can you double check that you have nod made any changes to the SDK source, and demonstrate how this fails on your end? Perhaps you can provide step-by-step instructions on how to make this fail?
Tide said:Are there any examples how to use Huk and crypto in a secure application?
That is the hw_unique_keys sample, which demonstrates this for both secure and non-secure.