Code running exception when used CRYS_RndInit()

Hi, I have started with "__nRF5_SDK_17.1.0_ddde560" ble_peripheral>ble-app_uart example code project(ble_app_uart_pca10100_s140).

I work with IAR Embedded Workbench IDE 9.20.2.

I edited the example code for our PCB and logic, and for the first phase, it work well.

In the second phase, I was required to implement the secured connection by Encryption bonding.

I have copied from the  ble_peripheral>ble_app_hrs example code project all "nrf_Crypto" files and "nrf_cc310_09.13.a"

The problem is that I have an HardFaultexception when calling CRYS_RndInit(..)

Thank you.

Parents
  • Hi Aharon, 
    I'm not so sure that copy the "nrf_Crypto" files and "nrf_cc310_09.13.a" could make it support encryption bonding. 
    Could you please explain what exactly you want to achieve by "Encryption Bonding" is it normal Bluetooth bonding ? With LE Secure Connection ?
    If it's the case I would suggest to have a look at other example, for example ble_app_hrs LESC is supported in the example. 

Reply
  • Hi Aharon, 
    I'm not so sure that copy the "nrf_Crypto" files and "nrf_cc310_09.13.a" could make it support encryption bonding. 
    Could you please explain what exactly you want to achieve by "Encryption Bonding" is it normal Bluetooth bonding ? With LE Secure Connection ?
    If it's the case I would suggest to have a look at other example, for example ble_app_hrs LESC is supported in the example. 

Children
No Data
Related