...
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 ARM GNU toolchain (gcc-arm-11.2-2022.02-mingw-w64-i686-arm-none-eabi.exe)
Make sure
arm-none-eabi-gcc -v
shows version properly (add bin folder of the toolchain to path environment variable if not)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
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 (two COM ports appeared when plugging in the device)
...