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

Open Bootloader PINRESET DFU

Hi,

When I enabled NRF_BL_DFU_ENTER_METHOD_PINRESET.

The 52840 Dongle into the DFU mode every time hardware power reset.

Use other DFU enters method does not have this problem.

I expected METHOD_PINRESET only into DFU mode after nRF connect DFU trigger.

How can I use METHOD_PINRESET and running the normal application after power reset?

Parents
  • Hi Leo

    I'm sorry, but can you please specify what you mean about nRFConnect DFU trigger? I'm afraid I don't understand what you mean about this. The NRF_BL_DFU_ENTER_METHOD_PINRESET will set the device in DFU mode on a pin reset. If you want it to go to DFU mode on a specific pin trigger, that should be possible as well.

    Best regards,

    Simon

Reply
  • Hi Leo

    I'm sorry, but can you please specify what you mean about nRFConnect DFU trigger? I'm afraid I don't understand what you mean about this. The NRF_BL_DFU_ENTER_METHOD_PINRESET will set the device in DFU mode on a pin reset. If you want it to go to DFU mode on a specific pin trigger, that should be possible as well.

    Best regards,

    Simon

Children
  • Hi Simon,

    Thanks for quick response.

    I mean the Nordic DFU trigger library.

    https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Flib_dfu_trigger_usb.html&cp=5_1_3_5_3

    The nRF connect log should like below.

    2019-11-28T02:50:53.435Z INFO Using nrfjprog library 10.5.0, pc-nrfjprog-js 1.6.0
    2019-11-28T02:50:53.484Z VERBOSE Could not fetch serial number for serial port at COM1
    2019-11-28T02:50:53.484Z VERBOSE Could not fetch serial number for serial port at COM2
    2019-11-28T02:50:56.206Z INFO DFU trigger interface found, changing to bootloader...
    2019-11-28T02:50:56.931Z INFO Using USB SDFU protocol to communicate with target
    2019-11-28T02:50:56.944Z INFO Protocol Version: 1 found
    2019-11-28T02:50:56.946Z INFO Hardware: 52840 found
    2019-11-28T02:50:56.951Z INFO Firmware: Bootloader found
    2019-11-28T02:50:56.951Z INFO Firmware: SoftDevice found
    2019-11-28T02:50:56.952Z INFO Firmware: Application found

    Can I use nrfutil command to trigger DFU library, then programming the USB dongle?

    I can only use nRF connect/programmer to trigger the DFU library right now.

Related