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

Cannot program nRF52840 Dongle with nRF Connect SDK HEX files

Hi there,

I recently purchased some nRF52840 Dongles for evaluation.

I installed the nRF Connect SDK v1.4.1 and attempted to build a few of the sample projects using the SES(Nordic Edition) v.5.10b and v5.30a, targeting the nRF52840. I was able to successfully compile and build some of the sample projects, for example the Zigbee light_switch project, other's won't build at all.

I then tried to use the nRF Programmer to flash the dongle but there appears to be something wrong with the hex file(I suspect the address ranges aren't correct) and i cannot write the image. The only option available is to reset the device.

 

I have seen others having similar issues and have tried some of the options given but no luck. For instance when using the SES Nordic edition i do not have any linker or pre-compiler options available in the Project Options.

Luke 

Parents
  • Will mark this as resolved by verifying my suggested answer.

    I'd also like to point out that even selecting the correct boardname this didn't fix the issue for all of the sample SDK projects, so there still seems to be an offset issue with the address range of the application in the Hex file output.

    Luke

  • Hi,

    Have you checked whether the examples you are having an issue with is supported on the nRF52840 Dongle? You can see supported boards under the "requirements" part in the documentation of the example, like here. If the dongle is not on the list of supported boards, we cannot guarantee that the example will work out of the box on the dongle.

    Best regards,

    Marte

  • Hi Marte, thank you for your response and pointing that out.

    I had assumed (based on the information provided here)  that the most of the SDK projects could be adapted to work on the nRF5280 dongle by adjusting the memory layout? As I mentioned previously, I don't have the options to set these via the linker and precompiler in the SES(Nordic edition), so I assumed that by selecting the Board Name in the "Open nRF Connect SDK Project" widget, this gets abstracted away and the memory layout is auto configured.

    Luke     

Reply
  • Hi Marte, thank you for your response and pointing that out.

    I had assumed (based on the information provided here)  that the most of the SDK projects could be adapted to work on the nRF5280 dongle by adjusting the memory layout? As I mentioned previously, I don't have the options to set these via the linker and precompiler in the SES(Nordic edition), so I assumed that by selecting the Board Name in the "Open nRF Connect SDK Project" widget, this gets abstracted away and the memory layout is auto configured.

    Luke     

Children
Related