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

how to switch from dfu mode to start nordic uart service?

i working on a project of buttonless dfu on nrf52832 dk. so face a problem that  after dfu the uart service is not show on nrf connect app. so i not be able to receive data from board over a ble. 

Parents
  • Which SDK version and which SoftDevice version are you using?

    Is the device advertising after the DFU? If yes, is it advertising as DFUTarg or with the application advertisment data. If it is the latter and you're able to connect to the device then you should be able to refresh the service table by pressing the row of three vertical dots in the top-right corner of the app and then press Refresh device cache.You can also try  to turn off and on Bluetooth on the Android device and then connect.

    Best regards

    Bjørn

  • i use SDK version is 15.2.0. and i use nRF5_SDK_15.2.0/components/softdevice/s132/hex/s132_nrf52_6.1.0_softdevice.hex path for softdevice.

    when i upload softdevice and bootloader to nrf52832 DK using nrfgo studio it advertise DFUTarg after connecting it with  nrf connect app in mobile i can successfully upload an application zip file using dfu mode.after that uploading zip file the device not advertise and the nus is not working.

  • OK, have you tried to debug the application after the DFU by just attaching to the code running on the device? Do you have logging enabled in your application? If so do you get any log output over UART or RTT?

  • i got this on uart in rtl viewer.

    <00> warning> nrf_sdh_ble: Insufficient RAM allocated for the SoftDevice.

    <00> warning> nrf_sdh_ble: Change the RAM start location from 0x20002968 to 0x20002AA8.

    <00> warning> nrf_sdh_ble: Maximum RAM size for application is 0xD558.

    <00> error> nrf_sdh_ble: sd_ble_enable() returned NRF_ERROR_NO_MEM.

    <00> error> app: Fatal error

    <00> warning<warning> nr

    00> UART debugging started.

    <00> warning> nrf_sd

    00> UART debugging started.

Reply
  • i got this on uart in rtl viewer.

    <00> warning> nrf_sdh_ble: Insufficient RAM allocated for the SoftDevice.

    <00> warning> nrf_sdh_ble: Change the RAM start location from 0x20002968 to 0x20002AA8.

    <00> warning> nrf_sdh_ble: Maximum RAM size for application is 0xD558.

    <00> error> nrf_sdh_ble: sd_ble_enable() returned NRF_ERROR_NO_MEM.

    <00> error> app: Fatal error

    <00> warning<warning> nr

    00> UART debugging started.

    <00> warning> nrf_sd

    00> UART debugging started.

Children
No Data
Related