-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the question of twr_node_nranges_tdma reboot #8
Comments
Hi Yan, Thanks for catching this. Regards Paul. |
Hi pkettle I opened the log of tx_complete_cb()and tdma_superframe_event_cb() in the tdma.c file, and change TDMA_SANITY_INTERVAL: 20 in syscfg.yml,the log when the problem occurs is as follows。 I don't know why? [2019/3/8 16:54:31] {"utime": 4291079282,"msg": "tdma:tx_complete_cb"} |
Hi Yanxuex, It appears that the ccp->sem is blocking. Can you set the TDMA_SANITY_INTERVAL=0 and allow os_timer rollover to occur. On the console type Regards Paul. |
Hi Paul thanks. |
Just a note that I'm able to reproduce the issue using Timer 0 at 16MHz after a couple of hours. I don't think the dw1000 dump with be very informative at this stage. Thanks though @yanxuex. |
Hi
When I run twr_node_nranges_tdma APP for a long time, I find that it restarts every time when the utime upto 0xFFFFFFFF.
log:
{"utime": 4288931898,"wcs": [275343380480,275343380480,275343380480],"skew": 0}
{"utime": 4290007361,"wcs": [344062857216,344062857216,344062857216],"skew": 0}
{"utime": 4291082816,"wcs": [412782333952,412782333952,412782333952],"skew": 0}
{"utime": 4292158260,"wcs": [481501810688,481501810688,481501810688],"skew": 0}
{"utime": 4293233731,"wcs": [550221287424,550221287424,550221287424],"skew": 0}
{"utime": 4294309201,"wcs": [618940764160,618940764160,618940764160],"skew": 0}
{"utime": 414252,"wcs": [687660240896,687660240896,687660240896],"skew": 0}
{"utime": 1489700,"wcs": [756379717632,756379717632,756379717632],"skew": 0}
{"utime": 2565154,"wcs": [825099194368,825099194368,825099194368],"skew": 0}
{"utime": 3640608,"wcs": [893818671104,893818671104,893818671104],"skew": 0}
{"utime": 4716062,"wcs": [962538147840,962538147840,962538147840],"skew": 0}
{"utime": 5791516,"wcs": [1031257624576,1031257624576,1031257624576],"skew": 0}
{"utime": 6866982,"wcs": [465473536,465473536,465473536],"skew": 0}
{"utime": 7942418,"wcs": [69184950272,69184950272,69184950272],"skew": 0}
{"utime": 9017872,"wcs": [137904427008,137904427008,137904427008],"skew": 0}
{"utime": 10093325,"wcs": [206623903744,206623903744,206623903744],"skew": 0}
{"utime": 11168780,"wcs": [275343380480,275343380480,275343380480],"skew": 0}
551327 Assert @ 0xc429 - repos/apache-mynewt-core/kernel/os/src/os_sanity.c:180
551327 Unhandled interrupt (2), exception sp 0x200013b0
551327 r0:0x00000000 r1:0x00000000 r2:0x80000000 r3:0xe000ed00
551327 r4:0x00016ccc r5:0x0000c429 r6:0x000000b4 r7:0x00000000
551327 r8:0xffffffff r9:0x0008699e r10:0x00000000 r11:0x00000000
551327 r12:0x00000000 lr:0x0000b973 pc:0x0000b982 psr:0x61000000
551327 ICSR:0x00421802 HFSR:0x00000000 CFSR:0x00000000
551327 BFAR:0xe000ed38 MMFAR:0xe000ed34
{"utime": 252031,"msg": "dw1000_pkg_init"}
{"utime": 260014,"msg": "ccp_pkg_init"}
{"utime": 260950,"msg": "tdma_pkg_init"}
{"utime": 261623,"msg": "rng_pkg_init"}
{"utime": 261965,"msg": "nrng_pkg_init"}
{"utime": 262310,"msg": "ss_nrng_pkg_init"}
{"utime": 262655,"exec": "apps/twr_node_nranges_tdma/src/main.c"}
{"utime": 262655,"msg": "device_id = 0xDECA0130"}
{"utime": 262655,"msg": "PANID = 0xDECA"}
{"utime": 262655,"msg": "DeviceID = 0x1010"}
{"utime": 262655,"msg": "partID = 0xC41040AF"}
{"utime": 262655,"msg": "lotID = 0x13A6102"}
{"utime": 262655,"msg": "xtal_trim = 0x17"}
{"utime": 262655,"msg": "frame_duration = 195 usec"}
{"utime": 262655,"msg": "SHR_duration = 139 usec"}
{"utime": 262655,"msg": "holdoff = 821 usec"}
{"utime": 2420672,"wcs": [137920926720,137920926720,137920926720],"skew": 0}
{"utime": 3496932,"wcs": [206640403456,206640403456,206640403456],"skew": 0}
{"utime": 4572426,"wcs": [275359880192,275359880192,275359880192],"skew": 0}
{"utime": 5647870,"wcs": [344079356928,344079356928,344079356928],"skew": 0}
{"utime": 6723333,"wcs": [412798833664,412798833664,412798833664],"skew": 0}
{"utime": 7798788,"wcs": [481518310400,481518310400,481518310400],"skew": 0}
{"utime": 8874239,"wcs": [550237787136,550237787136,550237787136],"skew": 0}
The text was updated successfully, but these errors were encountered: