Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The freq_sweep_rx_simple and freq_sweep_tx_simple programs both use the scum_freq_sweep_examples branch of this repository, so make sure to swap to that branch if you are using those examples.

  • Install Anaconda.

  • Make sure conda --version shows the Anaconda version properly (otherwise, add conda to path environment variable if not $PATH).

  • Create python2 a Python2.7 conda environment: conda create -n py2 <environment name> python=2.7. The environment name can be openmote or py2.

  • Activate the Python2.7 conda environment: conda activate py2<envioronment name>.

  • Install the scons, pyserial, intelhex, and colorama Python packages: pip install scons

  • Install pyserial: pip install pyserial

  • Install intelhex: pip install intelhex

  • Install colorama pip install colorama

  • Install pyserial intelhex colorama. Alternatively, you can install them with conda: conda install scons pyserial colorama && conda install -c conda-forge intelhex.

  • Install the ARM GNU toolchain (gcc-arm-11.2-2022.02-mingw-w64-i686-arm-none-eabi.exe)

    • at end of install make sure to select add to PATH

    Make sure arm-none-eabi-gcc -v shows version properly (add bin folder of the toolchain to path environment variable if not. In my case that path would be .

    • After installing the toolchain, add the path, e.g., C:\Program Files (x86)\Arm GNU Toolchain arm-none-eabi\11.2 2022.02\bin

    )
  • Close and open the anaconda prompt if you aren’t able to see the path

  • To bootload
    • to $PATH.

    • Make sure that arm-none-eabi-gcc -v shows the ARM GNU toolchain version properly.

  • Bootload a program onto OpenMote (here showing using openwsn-fw/projects/common/bsp_radio_rx as an example): scons board=openmote-b-24ghz toolchain=armgcc bootload=<OPENMOTE_PORT> bsp_radio_rx.

    • Two ports will show up for the OpenMote. Use the one with the higher number in the command above.

    • On Windows, I experienced ERROR: Timeout waiting for ACK/NACK after 'Synch (0x55 0x55)' . This was resolved by going into the device manager and locating the COM ports for both devices and changing the baud rates to 115200 for both COM ports associated with the OpenMote.

...