cancel
Showing results for 
Search instead for 
Did you mean: 

HCI_HARDWARE_ERROR_EVENT occurr only when writeing/eraesing flash

gazam
Associate

Hi. I received a board in production state with FUS 1.1.1 BLE STAK 1.8.0 

This board has a function to log data into flash peridically. Most of our board working well 

but this board fail to log data after few minutes from power on and BLE stack looks like hang up 

I turned on GPIO debuging in app_debug.c enabling BLE STACK TICK. (it normaly toggling led) 

I used eeprom_emulation source from ST to record data. 

When the situation happen, GPIO stop toggling and advertising. 

and HCI_HARDWARE_ERROR_EVENT with 0x02(event_time_overrun error) comes.

and from that moment writing to flash is not working because of semaphore locking. 

HSEM 7(CFG_HW_BLOCK_FLASH_REQ_BY_CPU2_SEMID) locked by CPU2 ( HSEM register shown) and never released so CPU1 could not write.

with out logging function it take more long time to reproduce (randomly 30~120 mim) 

our data shows that a few of boards have this issue. 

Is there any way to solve this issue or any workaround? 

Is it possible to turn off cpu2 ? 

0 REPLIES 0