Trident IoT Z-Wave SDK
Loading...
Searching...
No Matches
TroubleShooting

Back to Trident IoT SDK

Unable to secure include a Z-Wave node

When changing between different sample applications without erasing the Flash you can get into a situation where you are unable to secure include the node using the DSK/QR code stored in the Token space. This happens because the keypair stored internally on the chip is out-of-sync with the stored QR code in the Token space of the Flash.

To fix this issue it is necessary to either erase the whole flash:

elcap device erase --all

or delete the QR code token:

elcap tokens erase --name TR_MFG_TOKEN_ZWAVE_QR_CODE

If you erase the whole flash you will need to flash the application again. If you only erase the QR code token the firmware will automatically generate a new correct QR code token.

Missing crystal calibration token

On some early DKNCZ20 boards the crystal calibration token can be deleted when using j-flash

Was my crystal calibration deleted?

To check if your DKNCZ20 is missing the crystal calibration use Trident Elcap to read the TR_MFG_TOKEN_XTAL_TRIM token. If the token is 0xFFFF and the DKNCZ20 board in in the list in List of affected boards and crystal calibration values, then the crystal calibration token has been deleted.

Recover the crystal calibration

The crystal calibration values for the affected boards can be found here List of affected boards and crystal calibration values

Using ElCap:

The Crystal Calibration Token (TR_MFG_TOKEN_XTAL_TRIM) can be set using Trident Elcap

Using Radio CLI:

Download Radio CLI to the board:

elcap flash --usb 900039473 --target T32CZ20 --file c:\Users\user_name\AppData\Local\tridentiot\elcap\sdks\v2025.03.00-beta00\z-wave\bin\zw_radio_cli_signed_combined.hex

Connect to the board uart with a terminal program and type the command:

cal-xtal store <value from table>

The crystal calibration for DKNCZ20 can be stored securely so it can not be erased by using the following command (SDK version 2025.05.00 or later):

cal-xtal internal store <value from table>

NOTE that this command is only for use with the DNKCZ20 command and should not be used with other products.

List of affected boards and crystal calibration values

Serial Number Xtal Calibration
12512000001 17
12512000002 17
12512000003 15
12512000004 15
12512000005 16
12512000006 16
12512000007 15
12512000008 17
12512000009 14
12512000010 14
12512000011 16
12512000012 16
12512000013 15
12512000014 12
12512000015 16
12512000016 16
12512000017 15
12512000018 16
12512000019 15
12512000020 13
12512000021 17
12512000022 17
12512000023 17
12512000024 16
12512000025 14
12512000026 15
12512000027 13
12512000028 15
12512000029 14
12512000030 11
12512000031 11
12512000032 17
12512000033 17
12512000034 16
12512000035 17
12512000036 17
12512000037 14
12512000038 12
12512000039 11
12512000040 19
12512000041 17
12512000042 14
12512000043 14
12512000044 17
12512000045 15
12512000046 16
12512000047 15
12512000048 20
12512000049 14
12512000050 16
12512000051 17
12512000052 13
12512000053 18
12512000054 15
12512000055 16
12512000056 14
12512000057 13
12512000058 14
12512000059 18
12512000060 19
12512000061 16
12512000062 13
12512000063 12
12512000064 14
12512000065 15
12512000066 14
12512000067 14
12512000068 16
12512000069 14
12512000070 14
12512000071 17
12512000072 14
12512000073 15
12512000074 14
12512000075 14
12512000076 13
12512000077 12
12512000078 15
12512000079 18
12512000080 13
12512000081 15
12512000082 14
12512000083 17
12512000084 18
12510000085 15
12510000086 17
12510000087 16
12510000088 16
12510000089 14
12510000090 15
12520000012 14
12520000070 17
12520000068 15
12520000086 15
12520000074 16
12520000081 12
12520000087 15
12520000295 13
12520000302 14
12520000303 16
12520000299 16
12520000301 13
12520000300 16
12520000289 14
12520000290 13
12520000298 12
12520000291 15
12520000280 16
12520000282 14
12520000297 15
12520000287 15
12520000001 17
12520000281 13
12520000003 15
12520000307 11
12520000033 15
12520000013 14
12520000039 16
12520000019 17
12520000034 15
12520000018 12
12520000143 15
12520000037 16
12520000029 12
12520000026 17
12520000035 16
12520000028 14
12520000259 15
12520000258 13
12520000272 15
12520000269 13
12520000248 15
12520000260 14
12520000229 15
12520000271 14
12520000268 15
12520000132 14
12520000266 16
12520000232 16
12520000251 14
12520000276 16
12520000254 13
12520000267 14
12520000274 14
12520000273 14
12520000204 13
12520000110 16
12520000324 15
12520000061 16
12520000040 16
12520000142 14
12520000067 17
12520000063 12
12520000288 13
12520000058 13
12520000052 13
12520000059 17
12520000044 16
12520000047 17
12520000150 12
12520000049 17
12520000321 21
12520000046 17
12520000048 13
12520000055 13
12520000014 16
12520000024 15
12520000010 14
12520000322 16
12520000292 17
12520000036 14
12520000025 16
12520000031 15
12520000022 15
12520000011 18
12520000021 16
12520000304 14
12520000294 13
12520000308 14
12520000041 16
12520000032 17
12520000306 16
12520000116 13
12520000210 15
12520000125 14
12520000296 14
12520000205 18
12520000286 15
12520000120 15
12520000117 15
12520000002 14
12520000124 16
12520000207 15
12520000118 14
12520000209 15
12520000253 15
12520000200 13
12520000244 16
12520000243 15
12520000245 14
12520000241 15
12520000240 17
12520000237 14
12520000249 14
12520000242 17
12520000122 16
12520000221 14
12520000119 14
12520000128 16
12520000220 17
12520000123 15
12520000216 15
12520000219 15
12520000224 13
12520000126 15
12520000121 24
12520000211 14
12520000265 16
12520000263 14
12520000264 16
12520000283 16
12520000275 14
12520000157 15
12520000235 14
12520000227 13
12520000223 15
12520000234 12
12520000246 14
12520000218 15
12520000212 17
12520000215 15
12520000217 16
12520000222 15
12520000214 17
12520000225 14
12520000239 14
12520000165 17
12520000169 15
12520000230 16
12520000247 14
12520000226 15
12520000233 15
12520000238 13
12520000236 15
12520000228 16
12520000182 16
12520000231 15
12520000199 12
12520000197 14
12520000203 12
12520000189 15
12520000187 15
12520000206 13
12520000208 13
12520000316 15
12520000213 15
12520000202 12
12520000194 16
12520000310 16
12520000177 14
12520000186 15
12520000201 14
12520000175 16
12520000191 15
12520000195 16
12520000193 14
12520000184 14
12520000188 15
12520000198 15
12520000196 16
12520000192 15
12520000323 15
12520000174 14
12520000176 14
12520000179 14
12520000185 20
12520000171 14
12520000183 11
12520000190 13
12520000181 16
12520000166 14
12520000180 14
12520000167 17
12520000158 14
12520000163 13
12520000160 13
12520000161 17
12520000164 15
12520000162 16
12520000151 16
12520000155 22
12520000154 14
12520000156 16
12520000073 14
12520000153 15
12520000076 22
12520000071 14
12520000079 13
12520000072 13
12520000159 14
12520000077 13
12520000020 16
12520000023 18
12520000135 15
12520000137 15
12520000017 16
12520000016 14
12520000104 14
12520000270 12
12520000111 15
12520000279 15
12520000284 15
12520000114 15
12520000127 15
12520000108 15
12520000113 17
12520000107 16
12520000105 16
12520000106 17
12520000262 16
12520000109 14
12520000140 13
12520000145 17
12520000144 16
12520000261 17
12520000136 15
12520000149 17
12520000146 16
12520000148 15
12520000141 15
12520000112 14
12520000315 13
12520000320 13
12520000078 15
12520000311 14
12520000309 14
12520000313 16
12520000088 11
12520000102 11
12520000092 16
12520000075 15
12520000090 12
12520000085 16
12520000084 15
12520000069 15
12520000091 16
12520000089 13
12520000095 13
12520000097 16
12520000099 13
12520000115 15
12520000103 16
12520000094 16
12520000098 17
12520000093 15
12520000096 15
12520000101 16
12520000080 15
12520000100 14
12520000083 14
12520000082 13
12520000312 15
12520000285 15
12520000278 13
12520000178 15
12520000173 14
12520000317 15
12520000277 14
12520000293 17
12520000170 15
12520000319 13
12520000168 13
12520000172 14
12520000250 15
12520000252 13
12520000256 14
12520000314 15
12520000255 14
12520000257 14
12520000042 16
12520000045 16
12520000015 17
12520000065 14
12520000051 15
12520000325 14
12520000305 17
12520000043 16
12520000006 17
12520000054 15
12520000130 13
12520000139 14
12520000038 14
12520000056 13
12520000008 20
12520000004 15
12520000133 15
12520000005 18
12520000131 15
12520000134 15
12520000009 15
12520000027 14
12520000030 15
12520000007 16
12520000050 32
12520000129 14
12520000152 14
12520000053 16
12520000138 14
12520000318 13
12520000064 15
12520000060 15
12520000057 15
12520000066 16
12520000147 14
12520000062 16