Hello,
we've created a custom board with nRF52840 chip. The problem is that the device will not try to reconnect in a loop as it does normally in the examples. The function bdb_start_top_level_commissioning will not try to reconnect. The zboss stack looks like it hanged but the thing is that zboss_main_loop_iteration is called in a loop and it exits immediately.
I attach the dump:
<info> app: DRV_ZIGBEE: Starting. <info> app: State changed: not paired <info> app: DRV_ZIGBEE: Production config is ready <info> zboss: 00 00 00 00 DE AD 0E 02|........ <info> zboss: 18 00 44 00 2B 08 0E 02|..D.+... <info> zboss: 00 00 00 00 DE AD 0A 02|........ <info> zboss: 18 00 45 00 2B 08 51 02|..E.+.Q. <info> zboss: DE AD 0A 02 18 00 46 00|......F. <info> zboss: 26 01 ED 04 DE AD 12 02|&....... <info> zboss: 18 00 47 00 49 01 44 01|..G.I.D. <info> zboss: 0A 00 00 00 0C 00 00 00|........ <info> zboss: DE AD 0E 02 18 00 48 00|......H. <info> zboss: 49 01 61 01 00 00 00 00|I.a..... <info> zboss: DE AD 0E 02 18 00 49 00|......I. <info> zboss: 49 01 CE 03 08 00 00 00|I....... <info> zboss: DE AD 0E 02 18 00 4A 00|......J. <info> zboss: 49 01 CE 03 01 00 00 00|I....... <info> zboss: DE AD 0E 02 18 00 4B 00|......K. <info> zboss: 2B 08 56 02 0A 00 00 00|+.V..... <info> zboss: DE AD 0A 02 18 00 4C 00|......L. <info> zboss: 2B 08 5C 02 DE AD 0A 02|+.\..... <info> zboss: 18 00 4D 00 2B 08 AC 02|..M.+... <info> zboss: DE AD 12 02 18 00 4E 00|......N. <info> zboss: AA 01 6C 00 0A 00 00 00|..l..... <info> zboss: 00 00 00 00 DE AD 0A 02|........ <info> zboss: 18 00 4F 00 AA 01 78 00|..O...x. <info> zboss: DE AD 0A 02 18 00 50 00|......P. <info> zboss: AA 01 32 01 DE AD 0A 02|..2..... <info> zboss: 18 00 51 00 AA 01 54 01|..Q...T. <info> zboss: DE AD 0A 02 18 00 52 00|......R. <info> zboss: AA 01 41 01 DE AD 1E 02|..A..... <info> zboss: 18 00 53 00 AA 01 A0 01|..S..... <info> zboss: 02 00 00 00 00 00 00 00|........ <info> zboss: 00 00 00 00 00 00 00 00|........ <info> zboss: 00 00 00 00 DE AD 0A 02|........ <info> zboss: 18 00 54 00 AA 01 EB 01|..T..... <info> zboss: DE AD 0E 02 18 00 55 00|......U. <info> zboss: AA 01 10 02 01 00 00 00|........ <info> zboss: DE AD 12 02 18 00 56 00|......V. <info> zboss: AA 01 6C 00 0A 00 00 00|..l..... <info> zboss: 01 00 00 00 DE AD 0E 02|........ <info> zboss: 18 00 57 00 AA 01 26 01|..W...&. <info> zboss: 02 00 00 00 DE AD 0A 02|........ <info> zboss: 18 00 58 00 AA 01 32 01|..X...2. <info> zboss: DE AD 12 02 18 00 59 00|......Y. <info> zboss: AA 01 6C 00 0A 00 00 00|..l..... <info> zboss: 02 00 00 00 DE AD 0A 02|........ <info> zboss: 18 00 5A 00 AA 01 04 01|..Z..... <info> zboss: DE AD 0A 02 18 00 5B 00|......[. <info> zboss: AA 01 32 01 DE AD 0E 02|..2..... <info> zboss: 18 00 5C 00 2B 08 F7 0C|..\.+... <info> zboss: 00 00 00 00 DE AD 0E 02|........ <info> zboss: 18 00 5D 00 AA 01 5F 02|..]..._. <info> zboss: 00 F8 FF 07 DE AD 0E 02|........ <info> zboss: 18 00 5E 00 AA 01 1B 02|..^..... <info> zboss: 0A 00 00 00 DE AD 0E 02|........ <info> zboss: 18 00 5F 00 BC 08 EC 00|.._..... <info> zboss: 4F 0C 00 20 DE AD 12 02|O.. .... <info> zboss: 18 00 60 00 BC 08 15 01|..`..... <info> zboss: 00 F8 FF 07 05 00 00 00|........ <info> zboss: DE AD 0A 02 18 00 61 00|......a. <info> zboss: BC 08 22 01 DE AD 14 81|.."..... <info> zboss: 18 00 62 00 00 00 0B 0A|..b..... <info> zboss: 03 08 AF FF FF FF FF 07|........ <info> app: DRV_ZIGBEE: App: updating local temperature attribute to 30.50 (ZCL compliant: 0x0BEA) <info> zboss: 00 80 DE AD 12 02 22 00|......". <info> zboss: 62 00 1A 08 62 01 01 02|b...b... <info> zboss: 00 00 01 00 00 00 DE AD|........ <info> zboss: 12 02 22 00 63 00 1A 08|..".c... <info> zboss: 77 01 01 02 00 00 01 00|w....... <info> zboss: 00 00 DE AD 0A 02 BD 00|........ <info> zboss: 64 00 31 01 F8 00 DE AD|d.1..... <info> zboss: 0A 02 DE 00 65 00 31 01|....e.1. <info> zboss: F8 00 DE AD 0A 02 FF 00|........ <info> zboss: 66 00 31 01 F8 00 DE AD|f.1..... <info> zboss: 0A 02 20 01 67 00 31 01|.. .g.1. <info> zboss: F8 00 DE AD 0A 02 41 01|......A. <info> zboss: 68 00 31 01 F8 00 DE AD|h.1..... <info> zboss: 1A 02 55 01 69 00 70 00|..U.i.p. <info> zboss: 40 03 00 00 00 00 00 00|@....... <info> zboss: 00 00 00 00 00 00 00 00|........ <info> zboss: 00 00 DE AD 12 02 55 01|......U. <info> zboss: 6A 00 70 00 9A 01 00 00|j.p..... <info> zboss: 00 00 E4 FF FF FF DE AD|........ <info> zboss: 1A 02 55 01 6B 00 70 00|..U.k.p. <info> zboss: 40 03 00 00 00 00 00 00|@....... <info> zboss: 00 00 00 00 00 00 00 00|........ <info> zboss: 00 00 DE AD 12 02 55 01|......U. <info> zboss: 6C 00 70 00 9A 01 00 00|l.p..... <info> zboss: 00 00 E4 FF FF FF DE AD|........ <info> zboss: 0A 02 62 01 6D 00 31 01|..b.m.1. <info> zboss: F8 00 DE AD 0A 02 83 01|........ <info> zboss: 6E 00 31 01 F8 00 DE AD|n.1..... <info> zboss: 0A 02 A4 01 6F 00 31 01|....o.1. <info> zboss: F8 00 DE AD 0A 02 C5 01|........ <info> zboss: 70 00 31 01 F8 00 DE AD|p.1..... <info> zboss: 0A 02 E6 01 71 00 31 01|....q.1. <info> zboss: F8 00 DE AD 0A 02 07 02|........ <info> zboss: 72 00 31 01 F8 00 DE AD|r.1..... <info> zboss: 0E 02 28 02 73 00 BC 08|..(.s... <info> zboss: A4 02 0A 00 00 00 DE AD|........ <info> zboss: 0E 02 28 02 74 00 BC 08|..(.t... <info> zboss: A6 02 01 00 00 00 DE AD|........ <info> zboss: 0E 02 28 02 75 00 BC 08|..(.u... <info> zboss: BB 02 00 00 00 00 DE AD|........ <info> zboss: 12 02 28 02 76 00 BC 08|..(.v... <info> zboss: 32 03 00 00 00 00 0A 00|2....... <info> zboss: 00 00 DE AD 0A 02 28 02|......(. <info> zboss: 77 00 BC 08 64 03 DE AD|w...d... <info> zboss: 0E 02 28 02 78 00 2B 08|..(.x.+. <info> zboss: 47 05 0A 00 00 00 DE AD|G....... <info> zboss: 0E 02 28 02 79 00 2B 08|..(.y.+. <info> zboss: 54 05 00 00 00 00 DE AD|T....... <info> zboss: 12 02 28 02 7A 00 2B 08|..(.z.+. <info> zboss: 62 05 EA 00 00 00 00 00|b....... <info> zboss: 00 00 DE AD 0E 02 28 02|......(. <info> zboss: 7B 00 BC 08 74 03 00 00|{...t... <info> zboss: 00 00 DE AD 0A 02 28 02|......(. <info> zboss: 7C 00 2B 08 CE 05 DE AD||.+..... <info> zboss: 0A 02 28 02 7D 00 48 01|..(.}.H. <info> zboss: 23 02 DE AD 0A 02 28 02|#.....(. <info> zboss: 7E 00 48 01 36 00 DE AD|~.H.6... <info> zboss: 0A 02 28 02 7F 00 48 01|..(...H. <info> zboss: 31 02 DE AD 0A 02 28 02|1.....(. <info> zboss: 80 00 2B 08 EA 05 DE AD|..+..... <info> zboss: 0A 02 28 02 81 00 2B 08|..(...+. <info> zboss: F2 05 DE AD 12 02 28 02|......(. <info> zboss: 82 00 AA 01 6C 00 0A 00|....l... <info> zboss: 00 00 02 00 00 00 DE AD|........ <info> zboss: 0A 02 28 02 83 00 AA 01|..(..... <info> zboss: 04 01 DE AD 0A 02 28 02|......(. <info> zboss: 84 00 AA 01 32 01 DE AD|....2... <info> zboss: 0E 02 28 02 85 00 AA 01|..(..... <info> zboss: 6D 02 00 F8 FF 07 DE AD|m....... <info> zboss: 0E 02 28 02 86 00 AA 01|..(..... <info> zboss: 1B 02 0A 00 00 00 DE AD|........ <info> zboss: 0E 02 28 02 87 00 BC 08|..(..... <info> zboss: EC 00 4F 0C 00 20 DE AD|..O.. .. <info> zboss: 12 02 28 02 88 00 BC 08|..(..... <info> zboss: 15 01 00 F8 FF 07 05 00|........ <info> zboss: 00 00 DE AD 0A 02 28 02|......(. <info> zboss: 89 00 BC 08 22 01 DE AD|...."... <info> zboss: 0A 02 28 02 8A 00 31 01|..(...1. <info> zboss: BA 00 DE AD 0E 02 28 02|......(. <info> zboss: 8B 00 BC 08 A4 02 0A 00|........ <info> zboss: 00 00 DE AD 0E 02 28 02|......(. <info> zboss: 8C 00 BC 08 A6 02 01 00|........ <info> zboss: 00 00 DE AD 0E 02 28 02|......(. <info> zboss: 8D 00 BC 08 BB 02 00 00|........ <info> zboss: 00 00 DE AD 12 02 28 02|......(. <info> zboss: 8E 00 BC 08 32 03 00 00|....2... <info> zboss: 00 00 0A 00 00 00 DE AD|........ <info> zboss: 0A 02 28 02 8F 00 BC 08|..(..... <info> zboss: 64 03 DE AD 0E 02 28 02|d.....(. <info> zboss: 90 00 2B 08 47 05 0A 00|..+.G... <info> zboss: 00 00 DE AD 0E 02 28 02|......(. <info> zboss: 91 00 2B 08 54 05 00 00|..+.T... <info> zboss: 00 00 DE AD 12 02 28 02|......(. <info> zboss: 92 00 2B 08 62 05 EA 00|..+.b... <info> zboss: 00 00 00 00 00 00 DE AD|........ <info> zboss: 0E 02 28 02 93 00 BC 08|..(..... <info> zboss: 74 03 00 00 00 00 DE AD|t....... <info> zboss: 0A 02 28 02 94 00 2B 08|..(...+. <info> zboss: CE 05 DE AD 0A 02 28 02|......(. <info> zboss: 95 00 48 01 23 02 DE AD|..H.#... <info> zboss: 0A 02 28 02 96 00 48 01|..(...H. <info> zboss: 36 00 DE AD 0A 02 28 02|6.....(. <info> zboss: 97 00 48 01 31 02 DE AD|..H.1... <info> zboss: 0A 02 28 02 98 00 2B 08|..(...+. <info> zboss: EA 05 DE AD 0A 02 28 02|......(. <info> zboss: 99 00 2B 08 F2 05 DE AD|..+..... <info> zboss: 12 02 28 02 9A 00 AA 01|..(..... <info> zboss: 6C 00 0A 00 00 00 02 00|l....... <info> zboss: 00 00 DE AD 0A 02 28 02|......(. <info> zboss: 9B 00 AA 01 04 01 DE AD|........ <info> zboss: 0A 02 28 02 9C 00 AA 01|..(..... <info> zboss: 32 01 DE AD 0A 02 28 02|2.....(. <info> zboss: 9D 00 AA 01 73 02 DE AD|....s... <info> zboss: 12 02 28 02 9E 00 AA 01|..(..... <info> zboss: 6C 00 0A 00 00 00 04 00|l....... <info> zboss: 00 00 DE AD 0E 02 28 02|......(. <info> zboss: 9F 00 AA 01 26 01 08 00|....&... <info> zboss: 00 00 DE AD 0A 02 28 02|......(. <info> zboss: A0 00 AA 01 32 01 DE AD|....2... <info> zboss: 12 02 28 02 A1 00 AA 01|..(..... <info> zboss: 6C 00 0A 00 00 00 08 00|l....... <info> zboss: 00 00 DE AD 0E 02 28 02|......(. <info> zboss: A2 00 AA 01 26 01 10 00|....&... <info> zboss: 00 00 DE AD 0A 02 28 02|......(. <info> zboss: A3 00 AA 01 32 01 DE AD|....2... <info> zboss: 12 02 28 02 A4 00 AA 01|..(..... <info> zboss: 6C 00 0A 00 00 00 10 00|l....... <info> zboss: 00 00 DE AD 0E 02 28 02|......(. <info> zboss: A5 00 2B 08 CA 01 FF FF|..+..... <info> zboss: FF FF DE AD 16 02 28 02|......(. <info> zboss: A6 00 AA 01 9B 00 03 00|........ <info> zboss: 00 00 05 00 00 00 FF FF|........ <info> zboss: FF FF DE AD 0A 02 28 02|......(. <info> zboss: A7 00 AA 01 32 01 DE AD|....2... <info> zboss: 16 02 28 02 A8 00 2B 08|..(...+. <info> zboss: F7 03 0A 00 00 00 FF FF|........ <info> zboss: FF FF 05 00 00 00 DE AD|........ <info> zboss: 0E 02 28 02 A9 00 2B 08|..(...+. <info> zboss: EA 0C 00 00 00 00 DE AD|........ <info> zboss: 0E 02 28 02 AA 00 2B 08|..(...+. <error> app: DRV_ZIGBEE: Failed to join network. Status: -1 <info> zboss: F1 0C 00 00 00 00 DE AD|........ <info> zboss: 0E 02 28 02 AB 00 AA 01|..(..... <info> zboss: 45 00 02 00 00 00 DE AD|E....... <info> zboss: 0A 02 28 02 AC 00 2B 08|..(...+. <info> zboss: 42 04 DE AD 0E 02 28 02|B.....(. <info> zboss: AD 00 2B 08 0E 02 00 00|..+..... <info> zboss: 00 00 DE AD 0A 02 28 02|......(.
The thing is that there is no more dump. Although the device works the zboss stack will put no more dump to the log output.
I attach also the schematics with nRF52840 part.