Adafruit feather nRF52840

Hi,

I have an Adafruit feather nRF52840, and try to program it via a Nordic DK (through the connector Debug out). It is possible to flash the feather when I use a devicetree file for a DK, for instance nRF52840DK with 52840. If I instead use the dts-file for the feather, I get this error:

I have tried to program both from a 52840DK and a 52DK, with the same result. Is there something missing in the feather dts-file? Or something else?

Best regards,

Lars

Parents
  • Hi Lars,

    The error shows a J-Link issue. Could you check that your SEGGER J-Link is up-to-date?

    Also, what version of the nRF52840DK are you working on?

    Is this the dts file that you are not able to flash?

    Regards,

    Priyanka

  • Hi Priyanka,

    Yes, it is that dts-file. Though, I run SDK 2.5.0.

    I have now made my own board instead of using the Adafruit dts-file. I made a simple LED-blinking program, and it works fine. I followed your lesson on DevAcademy, and came across the file board.cmake. The one that was generated for my board is different from the one in the Adafruit folder. My board.cmake looks like this:

    The one in the Adafruit folder looks like this:

    So I just replaced this content with the content in my file. And now this also works. I know one shouldn’t adjust things in the SDK, I just did this for test purpose. But it feels strange that it is not possible to use the original file. Should one flash the board in another way than I do? Or why is it like this?

    Best regards,

    Lars

  • Hi Lars,

    Apologies for the delay. Yes, I understand that the issue seems to be with the adafruit_feather file and thank you for pointing this out.

    Could you please check if you have this issue in a later SDK version? say, the v2.9.0?

    This could help us narrow down the issue.

    -Priyanka

Reply Children
Related