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

It takes a super long time to build and run nRF5340 code

Previously, I used SEGGER to build and run programs on nRF52 DK very quickly (5-20 seconds).

However, for nRF5340 DK, it usually takes about 8-15 min to build and run just 1 example program. For example, here is the nRF5340 DK beacon example project build and run time duration (17min 45sec in total):

Especially for this step, it takes a long time: 

Is that normal? Why nRF5340 DK takes so long time to build and run the program, please? If I need to upgrade my laptop hardware, what's the key performance which my new laptop need to improve (such as better CPU, multiple processors)? Here is my laptop performance data: 

Thanks! 

Parents
  • Hello Steven,

    StevenW807 said:
    However, I cannot use SEGGER to directly download the "build and run" project to the board (see screenshot). Any idea why, please? Thanks! 

     have you installed the nRF Command Line Tools

    StevenW807 said:
    Note: zephyr.hex locates at ...\ncs\v1.5.1\zephyr\samples\bluetooth\beacon\build_nrf5340dk_nrf5340_cpunet\zephyr

     Just a little thing to double-check, though: is it on purpose that your are building for the network and not the application core? 

    Albrecht Markus Schellenberger said:
    If you build the same program outside of SES from a terminal, does that make any difference?

     What I actually meant here was something like this:

    Regards,

    Markus

Reply
  • Hello Steven,

    StevenW807 said:
    However, I cannot use SEGGER to directly download the "build and run" project to the board (see screenshot). Any idea why, please? Thanks! 

     have you installed the nRF Command Line Tools

    StevenW807 said:
    Note: zephyr.hex locates at ...\ncs\v1.5.1\zephyr\samples\bluetooth\beacon\build_nrf5340dk_nrf5340_cpunet\zephyr

     Just a little thing to double-check, though: is it on purpose that your are building for the network and not the application core? 

    Albrecht Markus Schellenberger said:
    If you build the same program outside of SES from a terminal, does that make any difference?

     What I actually meant here was something like this:

    Regards,

    Markus

Children
No Data
Related