Not able to Uplaod/flash code into nrf52 Adafruit Feather

Hello!

I'm very new to nrf connect and have been using VS Code for development. Recently I got nrf52 Adafruit Feather, with nrf52832 chip and I've been trying to upload code to it. I tried everything that I could find but since I'm very new to this development environment, it's very difficult for me to upload code to this board. The VS Code Shows "no device connected", I tried the Programmer from nrf Connect for Desktop too, it does seem to find the device but still not able to upload as it shows 

No operations possible for device.
If the device is a MCUBoot device make sure it is in the bootloader mode.
If the device is a JLink device, please make sure J-Link Software is installed.
I did put the device to boatloader mode, but still no luck
I do believe that I'm missing something big here as I'm completely new to this so please, any of you can help me to guide through this step by step, it would be amazing.
Parents Reply Children
  • Hi Dejan,

    I somehow ended up in this https://github.com/adafruit/Adafruit_nRF52_Bootloader

     and tried to follow up. I did install everything that's required in this but couldn't get it to work. It says to run the exec file but nothings happens and the command "adafruit-nrfutil" is not found.

    I know I'm doing some very silly mistakes with everything basic but as I said, I'm very new to this.

    Regards,

    Abhay 

  • Hi Abhay,

    You should be able to flash your Feather device while in DFU mode. Which error did you get when trying to flash while in DFU mode?

    More information about flashing Adafruit Feather can be found on the nRF52 Adafruit Feather page.

    Best regards,
    Dejan

  • Hi Dejan,

    So after connecting the DFU pin to GND, and clicking reset once, the red led starts to blink, which I think is most probably in DFU mode, as indicated by the Adafruit guide. 

    So after getting it in DFU mode, Adafruit guide specifies that

    "The bootloader that all Bluefruit nRF52 Feathers ships with allows you to flash user sketches to the nRF52832 using only the CP2104 USB to serial adapter populated on the board."

    So when I connect it to my laptop with VS Code, it shows "no device connected"

    Also o tried the nrf Connect for Desktop, with its Programmer application, its does show the serial port but when I connect it, it shows this message given below.  

     

    Although I haven't tried the link you just sent be above, it says , in order to flash zephyr into this board, it requires an external J-Link Programmer. Is that a separate device? 

    Ill look more into it and try out if it works out and get back to you and in the meanwhile, if you have any suggestions from the above mentioned steps and messages, please do let me know!

    Thank you for being patient with this issue.

    Regards,

    Abhay

  • Hi Abhay,

    Can you show full screenshot from the Programmer?

    Which exact board do you use? Is your board any of the two boards mentioned in programming and debugging section?

    Best regards,
    Dejan

Related