Building and flashing on separate machines

I have access to a Linux machine for command-line Zephyr development which works perfectly, but I lack user permissions to flash my nRF5340 Audio DK and unfortunately cannot modify the environment.

I also have access to a Windows machine that has the SEGGER J-Link software pack (7.92m) installed, but no Nordic software or SDK. The Audio DK, however, conveniently enumerates as a flash drive under Windows, and SEGGER suggests that I can drag-and-drop precompiled binaries to it for programming.

Can I use this technique to flash a simple single-core Zephyr sample .HEX binary to my Audio DK? Or perhaps use one of the other Windows J-Link apps, such as J-Flash Lite, to accomplish the same without installing additional Nordic software?

Parents
  • Hello,

    I rarely use this functionality my self, but yes you should be able to flash the DK by simply drag-and-drop'ing a hex file.

    You can't use just any sample hex though, it would have to be built for the right SoC. It might be that you can get something working if you flash a hex built for another 53 board, but I don't think a single-core sample would work in any way. We do not have a lot of pre-built .hex files for specific boards available in the SDK, but you can simply build everything in in the Linux machine and bring the files over to the Windows machine when you want to flash them. 

    Let me know if there is anything else.

    Regards,

    Elfving

Reply
  • Hello,

    I rarely use this functionality my self, but yes you should be able to flash the DK by simply drag-and-drop'ing a hex file.

    You can't use just any sample hex though, it would have to be built for the right SoC. It might be that you can get something working if you flash a hex built for another 53 board, but I don't think a single-core sample would work in any way. We do not have a lot of pre-built .hex files for specific boards available in the SDK, but you can simply build everything in in the Linux machine and bring the files over to the Windows machine when you want to flash them. 

    Let me know if there is anything else.

    Regards,

    Elfving

Children
Related