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

Connect Jlink to nRF5340 DK board

Hello,

I wish to download my source code to nRF5340 DK board.

I am working on Ubuntu, SEGGER Embedded Studio for ARM Release 5.50d, ncs 1.6.99 version.

After compile, I tried "Connect J-Link". Then error message occurs which says "Cannot connect: active project is not an executable".

I set 'app.libapp.a" as Active Project. But still same problem occurs.

How could I fix problem?

Parents
  • Hey Jiyeon!

    The issue is that it is zephyr/zephyr.elf that should be active project. Though you shouldn't need to worry about that, it should be the right project by default. 

    You also don't need to actively connect to J-Link using the Target drop-down menu. As long as it is built, simply selecting download zephyr.elf be sufficient.

    Best regards,

    Elfving

Reply
  • Hey Jiyeon!

    The issue is that it is zephyr/zephyr.elf that should be active project. Though you shouldn't need to worry about that, it should be the right project by default. 

    You also don't need to actively connect to J-Link using the Target drop-down menu. As long as it is built, simply selecting download zephyr.elf be sufficient.

    Best regards,

    Elfving

Children
No Data
Related