nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Drag and Drop Option for nRF52840

I have a nrF52840-DK and would like to try some precompiled test, but I got an error when copying a hex file to it. The error message is that The currently active SWD interface does not
support MSD drag and drop. With the same method I can copy files to nrF52832-DK. I would like to check whether nRF52840-DK supports the drag-and-drop feature. If not, is it possible to enable it, or what's the other way to easily use the hex file instead of build or compile the test? Thanks for your support in advance!

Parents Reply Children
  • Hi Amanda,

    Thanks a lot for your answers. 

    The info on the sticker is PC10056, 3.0.0, 2022.7. Could you please let me know whether this one support the drag-and-drop feature?

    Previous firmware is J-Link OB-nRF5340-NordicSemi compiled Jul  2 2021 10:55:25. I updated it to latest, J-Link OB-nRF5340-NordicSemi compiled Dec  3 2021 15:46:49, but still have the same failure. I'm not quite sure whether this is the firmware you refer to. I checked this through J-Link Commander. Let me know if there is another way to check it.

    I've tried the nRF Connect Programmer. In my understanding I need to copy the SoftDevice hex file to board before further program it, is it right? I got same failure about drag-and-drop.

    Looking forward to your reply!

  • Hi,

    cindy66666 said:
    The info on the sticker is PC10056, 3.0.0, 2022.7. Could you please let me know whether this one support the drag-and-drop feature?

    That needs to wait for Segger to support PC10056, 3.0.0 for the drag-and-drop feature. 

    cindy66666 said:
    In my understanding I need to copy the SoftDevice hex file to board before further program it, is it right?

    If the application needs SD, it also needs to program the SD image. In the nRF Connect Programmer, you can select SD and App images to program at the same time. 

    -Amanda

  • Hi Amanda,

    Thanks for your clarification.

    Do you have a timeline when will Segger support drag-and-drop feature on this board? I saw on the nRF52840 page it specified drag-and-drop feature. https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/intro.html Is there certain version of nRF52840 support it? If so could you please let me know the version and how I can purchase that version specifically. When I ordered online I didn't see any option to choose.

    Also I ordered one nRF52833-DK.  https://infocenter.nordicsemi.com/topic/ug_nrf52833_dk/UG/dk/intro.html

    Does all nRF52833-DK board version support drag-and-drop?

    Regarding selecting SD and image, could you point me to the instruction page or let me know more details of how to do that? On the page you pointed to me in last reply, the instruction for program SD is pretty simple without detail.

  • Hi, 

    cindy66666 said:
    Do you have a timeline when will Segger support drag-and-drop feature on this board?

    Unfortunately, we don't have that. 

    cindy66666 said:
    Is there certain version of nRF52840 support it?

    It is supported before nRF52840 version 3.0.0, so you can use version 1.x.x or 2.x.x for the drag-and-drop feature.   

    cindy66666 said:
    Does all nRF52833-DK board version support drag-and-drop?

    No, I would suggest you use v1.0.0 or 1.0.1. I test nRF52833DK v1.0.0 on my side and it can support drag-and-drop. 

    cindy66666 said:
    could you point me to the instruction page or let me know more details of how to do that?
    See the following procedure.
    1. Open nRF Connect for Desktop and launch nRF Connect Programmer.
    2. Connect a development kit to the computer with a micro-USB cable, and turn it on.
      In the navigation bar, No devices available changes to Select device.
    3. Click Select device and select the device from the drop-down list.
      The button text changes to the SEGGER ID of the selected device, and the Device Memory Layout section indicates that the device is connected.
    4. If you have not selected the Auto read memory option under the Device menu and wish to visually see the memory layout before you program, click Read in the menu. If you have selected it, the memory layout will update automatically.
    5. Drag and drop the HEX file into the File Memory Layout section. Alternatively, click Add HEX file on the right pane (named as File) to add the files you want to program, by using one of the following options:
      • Select the files you used recently.
      • If there are no recently used files, click Browse from the drop-down list.
    6. Select the firmware image file (with the extension .hex) from the file browser that opens up.
    7. Click Erase & write in the Device pane to program the device.

    -Amanda

  • Hi Amanda,

    Thanks a lot for your detailed instruction! I followed your instruction and the programmer doesn't return error, but I didn't see the memory layout change as showed on your picture. Should I also see the file updated in the JLINK folder in file explorer? I didn't see any file added either.

    I selected only the blinky hex file. Do I need to select anything else like SoftDevice? I also attached log txt file. Any comment on how to debug?

Related