This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

UART can't work after burning the mesh dfu bootloader and related files

Hi,

I am using mesh SDK v3.2.0 and SoftDevice(s140 v6.1.1) to build light switch server firmware.
And also insert the uart code from nRF5_SDK_15.3.0_59ac345.
So the light switch server has basic on/off function and it can get or set data from/to other sensor via uart.

I do the following tests:
1.Use nRF_Conncet to directly burn the application firmware and SoftDevice.

After completing the FW burning, reboot the device.

The light switch server can work well.(on/off and uart function can both work well)

2.Use the same application firmware and SoftDevice then follow the steps listed on the official website to burn the dfu boot loader and related files.

cd %~dp0

:: Erase chip memory and flash SoftDevice on all devices
nrfjprog -s 682751406 --program SignKey/Key_001/s140_nrf52_6.1.1_softdevice.hex --chiperase

:: Flash the serial bootloader on all devices
nrfjprog -s 682751406 --program SignKey/Key_001/mesh_bootloader_serial_gccarmemb_nrf52840_xxAA.hex

:: Flash the first application on all devices
nrfjprog -s 682751406 --program Release/APK.hex

:: Flash the device page on all devices and reset the device
nrfjprog -s 682751406 --program SignKey/Key_001/device_page_nrf52840_xxAA_s140_6.1.1.hex

nrfjprog -s 682751406 --reset

pause

After completing the FW burning, reboot the device.

Except the UART function, other functions can work well in this built.

I have no idea why the same application firmware and same softdevice can't work with the dfu boot loader and related files.
Is there any chances the dfu boot loader and related files can overlap the flash content which the application firmware or softdevice uses?
Please help to solve it.

Thank you!

Parents Reply Children
No Data
Related