Hi There
I am debugging my application board by light-swtich server project of Mesh example and " pca10056_s140_ble_debug " project of SDK example dfu.
My application board can be programmed by P19 of DK(pca10056) and " Bluetooth Low Energy " desktop tools or SES. I also have a PDK(ca10056) which will be used for DFU_BLE.
My application board is same with the nrf52840 in PCA10056.
For match my application board, I modified the " pca10056_s140_ble_debug " project and made the "NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN" to 26. The Mesh example light-switch server also be modified the LED and button in pca10056.h
Test 1: For test the light-switch server project works
After erasure the application board by "nrfjprog -e" command, the light-switch server be programmed in the board:
LED blink together when it start --------------ok
Send a device name on RF(be test by iphone connect or desktop's " Bluetooth Low Energy " )--------------ok
Button control the LED turn on or off ----------ok
Be controlled by Mesh tools of IPhone ---------ok
Test 2: For test the DFU project works
After erasure the application board by "nrfjprog -e" command, the pca10056_s140_ble_debug of secure_bootloader DFU be programmed in the board:
LED1-2 turn on when it start --------------ok
Send a device name "DfuTarg"on RF(be test by iphone connect or desk " Bluetooth Low Energy " )---------------ok
Button 4 +power up can enter the dfu mode (the second dfu) ----------ok
Can complered the BLE dfu process by both of iphone's connect and desktop's " Bluetooth Low Energy " -------ok
Test 3: For test the DFU project can dfu the light-switch server project and make it works
After erasure the application board by "nrfjprog -e" command, the pca10056_s140_ble_debug of secure_bootloader DFU be programmed in the board(same with test2)
By desktop's " Bluetooth Low Energy ", the DFU package of light-switch server which be generated by nrfuitl command can be programmed to the application board:
The LED donot blink together when the dfu be completed ---------not right here
The button can control the LED turn on or turn off --------------ok
There is no a device name be sent on RF --------------------------not right here
When push button 4 and power up, the device can enter the dfu mode -----------ok
Is there some one can help to find the reason? What is wrong I did?
Thanks,
B,Rs
Di-sheng