Support for the OpenMote-b board. More...
Support for the OpenMote-b board.
The OpenMote is slim board that comes with a TI SoC combining an ARM Cortex-M3 microcontroller with an IEEE802.15.4 radio.
MCU | CC2538SF53 |
---|---|
Family | ARM Cortex-M3 |
Vendor | Texas Instruments |
RAM | 32Kb |
Flash | 512Kb |
Frequency | 32MHz |
FPU | no |
Timers | 4 |
ADCs | 1x 12-bit (8 channels) |
UARTs | 2 |
SPIs | 2 |
I2Cs | 1 |
Vcc | 2V - 3.6V |
Datasheet | Datasheet (pdf file) |
Reference Manual | Reference Manual |
Currently RIOT supports flashing the OpenMote using a Segger JLink JTAG adapter or via USB, using the bootloader on the board.
RIOT support flashing with USB by default.
make flash
You may have to specify the flashing port with PORT_DEV=<my_openmote_port> make flash
The flash tool needs to convert the generated Hex file to RAW format. For this it needs to have the intelhex library installed.
apt install python3-intelhex
or
pip3 install intelhex
To be able to flash the board via JTAG you need to install Seggers JLinkExe tool. Once you have this in place, you can simply flash by calling
PROGRAMMER=jlink make flash
from your application folder.
macOS users may experiment a command line expecting connect
. Just type it and the process will continue.
The JTAG interface is required for debugging. On some board revisions the debug may not be able to run. To debug use:
make debug
Files | |
file | board.h |
Board specific definitions for the OpenMote-B board. | |
file | gpio_params.h |
Board specific configuration of direct mapped GPIOs. | |
file | periph_conf.h |
Peripheral MCU configuration for the OpenMote-B board. | |