cancel
Showing results for 
Search instead for 
Did you mean: 

aci_gap_init() returns FLASH_WRITE_FAILED

eng23
Senior
Posted on May 05, 2017 at 15:43

Hi all,

I am implementing the X-CUBE-BLE1 stack in my project and after some initializations like:

aci_hal_write_config_data(CONFIG_DATA_PUBADDR_OFFSET,

                                  CONFIG_DATA_PUBADDR_LEN,

                                  bdaddr);

aci_gatt_init()

The function aci_gap_init_IDB05A1(GAP_PERIPHERAL_ROLE_IDB05A1, 0, 0x07, &service_handle, &dev_name_char_handle, &appearance_char_handle);

returns the status FLASH_WRITE_FAILED (0x4A).

Have anyone any idea for this problem?

I'm following the 'SensorDemo' project step by step.

Thanks.

#spbtle-rf #stm32 #bluenrg-ms
10 REPLIES 10
Andrea Palmieri
ST Employee
Posted on May 15, 2017 at 16:29

Since the hw version is 0x31, the device is supposed to be a BlueNRG-MS. I wonder if the solution proposed by Keith can be also applied to this case.

Regards

Andrea