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

DFU can't work when use s332 softdevice

I use SDK 13.0.0,and use S332 softdevice,I download  dfu to PCA10040 board,it can't work,I want to know when I use S332,how to use dfu?

Parents
  • my config file:   application : RAM  start address:0x20002560  end :0x2000ffff

                             bootload   :  RAM start address:0x20002c00   end :0x2000ff7f

    can you help me how to change them?

    now I use nrf studio to download s332 2.0.1,my app hex,and bootload, to the board,but it can't enter to my app,

Reply
  • my config file:   application : RAM  start address:0x20002560  end :0x2000ffff

                             bootload   :  RAM start address:0x20002c00   end :0x2000ff7f

    can you help me how to change them?

    now I use nrf studio to download s332 2.0.1,my app hex,and bootload, to the board,but it can't enter to my app,

Children
  • jwx said:

    my config file:   application : RAM  start address:0x20002560  end :0x2000ffff

                             bootload   :  RAM start address:0x20002c00   end :0x2000ff7f

    can you help me how to change them?

    Which IDE/toolchain are you using? Keil, GCC, IAR or Segger Embedded Studio?

     

    jwx said:
    now I use nrf studio to download s332 2.0.1,my app hex,and bootload, to the board,but it can't enter to my app,

     Please do not use nRFGo Studio with the nRF52 Series, it has been deprecated for the nRF52 Series. Its been superseeded by the nRF Connect for Desktop: nRF Programmer app. 

    Does you board advertise as DfuTarget after you flash the S332 and the bootloader?

    Best regards

    Bjørn 

  • now i can enter boot,but I want to enter to app when don't update after 1min,how to do ?

    I try to change "APP_ADV_TIMEOUT_IN_SECONDS“ to 60,the boot ble name display, after 1min it stoped,but can't enter to app,how to do?

    I use sdk13.0,s332,IAR

  • Hi Jin, 

    upon boot the bootloader will check if there is a valid application present by examining the bootloader settings page. If there is, then the bootloader will immediately jump to the application and run that. If there is no valid application then the bootloader will initialize the SoftDevice and start advertising as DfuTarget and wait for a BLE centra device to connect and send the application firmware over BLE. 

    If you flashed SoftDevice, the bootloaderand the application and want the nRF to jump to the application, then you need to generate the bootloader settings page and flash that to the nRF device in order to tell the bootloader that there is a valid applicaiton present. Please see the Testing section of BLE Secure DFU Bootloader and the Generating and displaying bootloader settings

    Best regards

    Bjørn

  • when the system just turn on,it can enter to app,it's ok。

    but I want to enter app if  needn't update, when it is in boot mode,what should I do?

  • jwx said:
    but I want to enter app if  needn't update, when it is in boot mode,what should I do?

     So you want the bootloader to stay in bootloader mode for a certain amount of time, even though there is a valid application?

Related