Situation
-
I have an app, that use a BSP to detect pressing of the buttons. It works.
-
I have a bootloader. It also works.
Problem
When I flash bootloader AND app simultaneously, BSP cannot handle button pressing. No errors during init - just bsp_button_event_handler() never fire.
Environment
- SD 120 v.2.0
- NDK 8.0.0
- board PCA10001
- compiler GCC 4.9 2014q4
- I use a Hung Bui (@hungbui) proposed bootloader (see here), and memory values are as in answer here
- my app is based on the ble_app_multilink_central example from NDK8
Note
Doesn't matter if I flash bootloader then app or vice versa. Also, I try to flash bootlader and then load app with bootloader DFU. The result is the same - app is flashed, started, but buttons do not work.
Thank you.