I am currently programming an evaluation board to get to know BLE better. Currently I am using the nrf52811 on a custom board.
So far I used an example from nordic to create a minimum example for a peripheral device (ble_bps example). The code compiles and runs on my board.
The board advertises itself and is visible with my smartphone.
As soon as I try to connect to the board, the board stops running (Log statemement in the mainloop is not showing anymore). I do not get any errrormessages or faults. The debugger stays connected.
Can you point me in the right direction to find out what is going on and how to debug this?

