...
Install Anaconda
Make sure
conda --version
shows version properly (add conda to path environment variable if not)Create python2 conda environment:
conda create -n py2 python=2.7
Activate environment:
conda activate py2
Install scons:
pip install scons
Install pyserial:
pip install pyserial
Install intelhex:
pip install intelhex
Install colorama
pip install colorama
Install 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 beC:\Program Files (x86)\Arm GNU Toolchain arm-none-eabi\11.2 2022.02\bin
)Close and open the anaconda promp prompt if you aren’t able to see the path
To bootload program onto OpenMote (here showing
openwsn-fw/projects/common/bsp_radio_tx
):scons board=openmote-b-24ghz toolchain=armgcc bootload=<OPENMOTE_PORT> bsp_radio_tx
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 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
...