User Manual
Revision 1.0
27-May-2022
CFR0012
24 of 58
© 2022 Renesas Electronics
UM-WI-058
DA16200 Getting
Started with Azure® IoT
●
Program the values in the DA16200 NVRAM:
In the DA16200 debug console, enter factory mode and set the 4 NVRAM parameters as shown
below.
[/DA16200] #
nvram
Command-List is changed, "NVRAM"
[/DA16200/NVRAM] #
setenv
APP_THINGNAME
da16200-device-1
[/DA16200/NVRAM] #
getenv
…….
APP_THINGNAME (STR,17) ....... da16200-device-1
[/DA16200] #
nvram
Command-List is changed, "NVRAM"
[/DA16200/NVRAM] #
setenv APP_DEV_PRIMARY_KEY
l18H5x4xEKD56McqN/5UT0MNZaX8/oQgHkHh3iXjaf0=
[/DA16200/NVRAM] #
getenv
………
APP_THINGNAME (STR,17) ....... da16200-device-1
APP_DEV_PRIMARY_KEY (STR,45) . l18H5x4xEKD56McqN/5UT0MNZaX8/oQgHkHh3iXjaf0=
[/DA16200] #
nvram
Command-List is changed, "NVRAM"
[/DA16200/NVRAM] #
setenv APP_HOSTNAME
da16200-standard-iot-hub.azure-devices.net
[/DA16200/NVRAM] #
getenv
…….
APP_THINGNAME (STR,17) ....... da16200-device-1
APP_DEV_PRIMARY_KEY (STR,45) . l18H5x4xEKD56McqN/5UT0MNZaX8/oQgHkHh3iXjaf0=
APP_HOSTNAME (STR,43) ........ da16200-standard-iot-hub.azure-devices.net
[/DA16200/NVRAM] #
nvram
Command-List is changed, "NVRAM"
[/DA16200/NVRAM] #
setenv APP_IOTHUB_CONN_STRING
Typing data: (setenv value)
Cancel - CTRL+D, End of Input - CTRL+C or CTRL+Z
HostName=da16200-standard-iot-hub.azure-
devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=Vmt7BP8BsSwNJRm1tSLJUClibls1ApXjpd67HqF91xQ=
[/DA16200/NVRAM] #
getenv
………
APP_THINGNAME (STR,17) ....... da16200-device-1
APP_DEV_PRIMARY_KEY (STR,45) . l18H5x4xEKD56McqN/5UT0MNZaX8/oQgHkHh3iXjaf0=
APP_HOSTNAME (STR,43) ........ da16200-standard-iot-hub.azure-devices.net
APP_IOTHUB_CONN_STRING (STR,147) HostName=da16200-standard-iot-hub.azure-
devices.net;SharedAccessKeyName=iothubowner;SharedAccessKey=Vmt7BP8BsSwNJRm1tSLJUClibls1ApXjpd67HqF91xQ=