
UM-WI-056
DA16xxx FreeRTOS Getting Started Guide
User Manual
Revision 1.0
27-Oct-2021
CFR0012
21 of 80
© 2021 Dialog Semiconductor
Changing the Boot Index
Two versions of the main firmware can be stored in flash at location RTOS #0 and RTOS #1.
The “boot index” stored in serial flash selects which version of the firmware is used during the boot
process.
The “boot index” can be changed by using the
boot_idx n
command:
boot_idx 0
// sets RTOS #0 as the firmware to boot
boot_idx 1
// sets RTOS #1 as the firmware to boot
After running the
boot_idx
command, run the
reboot
command to boot the firmware that was
selected:
[/DA16200] #
boot_idx 1
// or boot_idx 0
[/DA16200] #
reboot
>>> P.TIM is relocated to RETMEM (0x20f835c0, 3)
[dpm_init_retmemory] DPM INIT CONFIGURATION(1)
Wakeup source is 0x0
******************************************************
* DA16200 SDK Information
*
* - CPU Type : Cortex-M4 (120MHz)
* - OS Type : FreeRTOS 10.4.3
* - Serial Flash : 4 MB
* - SDK Version : V3.1.3.0 GEN
* -
F/W Version : FRTOS-GEN01-01-15129-000000
* - F/W Build Time : Sep 29 2021 00:24:50
* -
Boot Index : 1
*
******************************************************
After the reboot, verify the
“Boot Index” and “F/W Version” matches the one that was selected.
4.6
Provisioning Wi-Fi
Setup for Station Mode
The Wi-Fi functions of the DA16200/600 can easily be configured by running the
Easy Setup
Wi-Fi
configuration wizard.
To configure the DA16200/600 to operate in Station Mode, open the DA16xxx debug console and
run the
setup
command at the
[/DA16xxx]
prompt and then answer the questions to complete the
setup as follows:
[/DA16200]
setup
Start the Easy Setup Wizard.
Stop all services for the setting.
Are you sure ? [Yes/No] :
Y
Enter Y to stop the services.
[ DA16200 EASY SETUP ]
Country Code List:
AD AE AF AI AL AM AR AS AT AU AW AZ BA BB BD BE BF BG BH BL
BM BN BO BR BS BT BY BZ CA CF CH CI CL CN CO CR CU CX CY CZ
DE DK DM DO DZ EC EE EG ES ET EU FI FM FR GA GB GD GE GF GH
GL GP GR GT GU GY HK HN HR HT HU ID IE IL IN IR IS IT JM JO
JP KE KH KN KP KR KW KY KZ LB LC LI LK LS LT LU LV MA MC MD
ME MF MH MK MN MO MP MQ MR MT MU MV MW MX MY NG NI NL NO NP
NZ OM PA PE PF PG PH PK PL PM PR PT PW PY QA RE RO RS RU RW
SA SE SG SI SK SN SR SV SY TC TD TG TH TN TR TT TW TZ UA UG
UK US UY UZ VA VC VE VI VN VU WF WS YE YT ZA ZW ALL
COUNTRY CODE ? [Quit] (Default KR) :
US
Enter the country code.
SYSMODE(WLAN MODE) ?
1. Station