I'm using vanilla version of the dfu_dual_bank_ble_s110
project on top of my application. The problem is that the firmware enters bootloader mode whenever a USB is connected to the board (pca10028/pca10031).
How do I stop that from happening?
I'm using vanilla version of the dfu_dual_bank_ble_s110
project on top of my application. The problem is that the firmware enters bootloader mode whenever a USB is connected to the board (pca10028/pca10031).
How do I stop that from happening?
@andrey: When you mentioned "a USB connected to the board" was there any other power source ?
Do you have application flashed on your board ? If you don't have, whenever you power on the board it will stay in bootloader mode.
There are no other power sources connected to the board and my application is also on the chip.
It seems that the bootloader couldn't detect a valid application on your board. How did you flash your application ? Via programmer or via the bootloader ? It by default should be flashed by the bootloader.
You can try to run the bootloader in debug mode and can step through the code to check why it didn't start the application. To run the bootloader in debug mode you may want to follow this instruction
This only happens when the application is loaded bypassing the bootloader. I'll take a look at bootloader debugging.
@andrey: If you do that you should follow question E in this FAQ.