Programming and Running BLE stack in CPU2
When I run my software, I sometimes encounter the line " else if (p_sys_ready_event->sysevt_ready_rsp == FUS_FW_RUNNING)".
I have read the other posts which say that after upgrading the stack you need to click "Start Wireless Stack" and everything will work, (I do this every time) but unfortunately there's more to this...
Yesterday, I was running my code and every time, it hit WIRELESS_FW_RUNNING and the program worked. Today I ran the same code and it hit FUS_FW_RUNNING. I hadn't changed the stack, the board was just powered off overnight.
Obviously if this happens in the field it will be catstrophic, so is there a way to tell the FUS to run the stack in my program if it hits FUS_FW_RUNNING?
I am using the latest STM software, CubeMx 1.18 and latest stack, v1.21.0.3. Are there any known issues with this?
Today I have reprogrammed the stack again, clicked "Start Wireless Stack" and everything works at the moment. But I know it will go wrong again and need a better solution than reprogramming the stack as this can't be done in the field.
Thanks
Rich
