Hi,
I am using nrf52832 module, sdk 17.0.2.
I have ble nus service added and device works properly had no issues till i add the AES related files and defines.
Can you please help me how to resolve this issue?
Hi,
I am using nrf52832 module, sdk 17.0.2.
I have ble nus service added and device works properly had no issues till i add the AES related files and defines.
Can you please help me how to resolve this issue?
Hi Swetha,
Could you let me know what exact issue you have when adding AES ? Do you have any log or screenshot when you get into the error ?
Where do you init AES ? Which crypto backend do you use ?
First of all... I would like to know if nrf52832 support aes cbc along with padding with ble communication.

Hi Swetha,
Please try to test this on a normal application, without the buttonless feature. I believe it's the reason you ended up in the SVC_handler. When you test buttonless application you need to flash the bootloader in addition. But we should test on normal BLE application first before testing with that.
Also please try calling nrf_crypto_init() after you enabled the softdevice.
Please check the log to find any error log.
Hi Hung,
As you suggested i tried to add aes in ble_app_uart example and i still find the same crash in SVC Handler..
I have uploaded the ble_app_uart example project where i have made changes.
Could you please flash the same on your end and check?
Thanks,
Swetha.
Hi Swetha,
If you go to project options and change from this:

To this:

(A line break was missing. )
It then worked fine.
Ohk so that is the reason 2 semi colons are there... I considered it as a mistake and removed one semicolon.
Thanks Hung for helping me resolve the issue.
Ohk so that is the reason 2 semi colons are there... I considered it as a mistake and removed one semicolon.
Thanks Hung for helping me resolve the issue.