The ARTIK 053 is a SOC for Wi-Fi™ IoT solutions. The ARTIK 053 has a Wi-Fi subsystem, security subsystem, and application subsystem.
The Samsung ARTIK™ 053 Module is a highly integrated module for secure Internet of Things (IoT) devices that require Wi-Fi®. It is based on an ARM® Cortex® R4 core with on-chip memories, a complete 2.4GHz Wi-Fi® Phy, MAC layer processing, a large complement of standard digital buses, a PUF-based security system and power management. The module is packaged with additional external Flash memory, a hardware Secure Element and a single integrated 2.4GHz structural antenna. Aimed especially at power-sensitive devices needing Wi-Fi®, the ARTIK 053 Module provides excellent performance in a variety of environments, with a feature set tailored specifically for IoT end nodes.
OpenOCD is used to program and debug.
OpenOCD v0.10.0 is recommended and can be installed like below, but pre-built OpenOCD binaray on tools/openocd/linux64(or 32) can be used without installing.
sudo apt-get build-dep openocd
git clone --depth 1 -b v0.10.0 https://git.code.sf.net/p/openocd/code openocd-code
cd openocd-code
./bootstrap
./configure
make
sudo make install
There are two methods, using OpenOCD or script.
After building Tizen RT, follow below steps at $TIZENRT_BASEDIR/os folder.
TIZENRT_BASEDIR was set at [Getting the sources] tab of Quick Start.
make download ALL
This makes complete set of binaries programmed.
This is used to program a partial binary.
Export 'OPENOCD_SCRIPTS' to environment variable.
export OPENOCD_SCRIPTS=$TIZENRT_BASEDIR/build/configs/artik053/tools/openocd
At first, programming the complete set of binaries are needed.
openocd -f artik053.cfg -c ' \
flash_write bl1 ../build/configs/artik053/bin/bl1.bin; \
flash_write bl2 ../build/configs/artik053/bin/bl2.bin; \
flash_write sssfw ../build/configs/artik053/bin/sssfw.bin; \
flash_write wlanfw ../build/configs/artik053/bin/wlanfw.bin; \
flash_write os ../build/output/bin/tinyara_head.bin; \
exit'
Once the complete binaries are successfully programmed, each partition can be updated seperately with new one.
openocd -f artik053.cfg -c ' \
flash_write os ../build/output/bin/tinyara_head.bin; exit'
will be updated