How to measure DL/UL throughput with Thingy:91 ( no debbuger )

I would like to measure some basic parameters using Thingy:91.  Modem shell (MoSh) provides all the necessary tools. However, I was not able to build an image with iperf ( egion `FLASH' overflowed by 868 bytes) . Do I understand correctly that there is no other way to create such image when developing using USB flash ?

BR

  • Hi, 

    However, I was not able to build an image with iperf ( egion `FLASH' overflowed by 868 bytes)

    How do you build the Modem Shell sample? How do you modify the sample?

    In the Modem Shell sample, it already enables Iperf3 by CONFIG_MOSH_IPERF3=y

    Regards,
    Amanda H.

  • Hi ,

    I've modified prj.conf

    CONFIG_MOSH_IPERF3=y
    CONFIG_MOSH_SOCK=n
    CONFIG_MOSH_PING=n
    CONFIG_MOSH_CURL=n
    CONFIG_MOSH_LINK=y
    CONFIG_MOSH_SMS=n
    CONFIG_MOSH_GNSS=n
    CONFIG_MOSH_LOCATION=n

    and build failed with error

    region `FLASH' overflowed by 868 bytes

  • Any special reason to disable them?

    Without modification, it will not cause the overflow. 

    -Amanda H.

  • I intended to create a smaller image. Looks like I still have to learn a lot. I've prepared a clean build with following configuration

    CONFIG_MOSH_IPERF3=y
    CONFIG_MOSH_SOCK=y
    CONFIG_MOSH_PING=y
    CONFIG_MOSH_CURL=n
    CONFIG_MOSH_LINK=y
    CONFIG_MOSH_SMS=y
    CONFIG_MOSH_GNSS=n
    CONFIG_MOSH_LOCATION=n

    however iperf command is not visible

    Available commands:
      at                 :Execute an AT command.
      clear              :Clear screen.
      cloud_rest         :Send nRF Cloud command over REST
      date               :Date commands
      flash              :Flash shell commands
      heap               :Print heap usage statistics.
      help               :Prints the help message.
      history            :Command history.
      i2c                :I2C commands
      kernel             :Kernel commands
      link               :Commands for LTE link controlling and status information.
      log                :Commands for controlling logger
      nrf_clock_control  :Clock control commands
      ping               :For ping usage, just type "ping"
      print              :Commands for shell output formatting.
      regulator          :Regulator playground
      resize             :Console gets terminal screen size or assumes default in
                          case the readout fails. It must be executed after each
                          terminal width change to ensure correct text display.
      retval             :Print return value of most recent command
      shell              :Useful, not Unix-like shell commands.
      sleep              :Sleep for n seconds.
      startup_cmd        :Command to store MoSH commands to be run sequentially
                          after a bootup.
      uart               :Commands for disabling UARTs for power measurement.

  • finch said:
    I intended to create a smaller image.

    You could try to build with overlay-non-offloading.conf. 

    -Amanda H.

Related