You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In the latest NRF Connect SDK 2.0.0, I am trying to do add DFU over BLE to my main project. DFU went well when I create a workspace C:\ncs\v2.0.0\zephyr\samples\subsys\mgmt\mcumgr\smp_svr separately but i have to add DFU application to my main project. I added source files and conf files to my main project. The project compiled well but when I started DFU I observed this crash/error.
To Reproduce
Steps to reproduce the behavior:
mkdir build; cd build
cmake -DBOARD=board_xyz
make
See error
Expected behavior
DFU Successfull
Impact
Illegal use of the EPSR
Logs and console output
[00:00:00.166,625] fs_nvs: alloc wra: 0, fe0
[00:00:00.166,656] fs_nvs: data wra: 0, 4
[00:00:02.267,089] date_time: getaddrinfo, error: -3
[00:00:04.367,584] date_time: getaddrinfo, error: -3
[00:00:04.367,614] date_time: Did not get time from any NTP server
[00:00:04.367,980] littlefs_storage: get_last_fb_ts_from_flash: last known timestamp to 0
[00:00:04.368,225] littlefs_storage: get_last_ts_from_flash: last known timestamp to 4
[00:00:04.368,255] net_sntp_client_sample: ts is 0 and localts is 19 fallback_ts 0
[00:00:04.368,255] net_sntp_client_sample: updating timestamp from local 19
[00:00:04.368,316] date_time: Year in time structure not in correct format
[00:00:04.368,347] littlefs: LittleFS version 2.4, disk version 2.0
[00:00:04.368,560] littlefs: FS at NRF_FLASH_DRV_NAME:0xf4000 is 6 0x1000-byte blocks with 512 cycle
[00:00:04.368,591] littlefs: sizes: rd 16 ; pr 16 ; ca 64 ; la 32
[00:00:04.368,865] littlefs: /lfs1 mounted
[00:00:04.369,384] sdc_hci_driver: SoftDevice Controller build revision:
33 78 2a 18 20 f5 61 61 a6 8b 77 60 62 83 39 2a |3x*. .aa ..w`b.9*
7c f1 14 e4 ||...
[00:00:04.375,427] smp_bt_sample: Bluetooth initialized
[00:00:04.376,800] smp_bt_sample: Advertising successfully started
[00:00:04.376,892] smp_sample: build time: Jul 31 2022 00:49:13
[00:00:15.341,857] bt_hci_core: opcode 0x200a status 0x09
[00:00:15.342,010] smp_bt_sample: Connected
[00:00:16.468,780] date_time: getaddrinfo, error: -3
[00:00:18.569,244] date_time: getaddrinfo, error: -3
[00:00:18.569,274] date_time: Did not get time from any NTP server
[00:00:18.569,610] littlefs_storage: get_last_fb_ts_from_flash: last known timestamp to 0
[00:00:18.569,885] littlefs_storage: get_last_ts_from_flash: last known timestamp to 4
[00:00:18.569,885] net_sntp_client_sample: ts is 0 and localts is 4 fallback_ts 0
[00:00:18.569,915] net_sntp_client_sample: updating timestamp from local 4
[00:00:18.569,946] date_time: Year in time structure not in correct format
[00:00:20.626,342] os: ***** USAGE FAULT *****
[00:00:20.626,373] os: Illegal use of the EPSR
[00:00:20.626,403] os: r0/a1: 0x2000fda4 r1/a2: 0xe000ed00 r2/a3: 0x2000fda4
[00:00:20.626,403] os: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x0002bbf5
[00:00:20.626,434] os: xpsr: 0x60000000
[00:00:20.626,434] os: s[ 0]: 0x00000000 s[ 1]: 0x00000000 s[ 2]: 0x00000000 s[ 3]: 0x00000000
[00:00:20.626,464] os: s[ 4]: 0x00000000 s[ 5]: 0x00000000 s[ 6]: 0x00000000 s[ 7]: 0x00000000
[00:00:20.626,464] os: s[ 8]: 0x00000000 s[ 9]: 0x00000000 s[10]: 0x00000000 s[11]: 0x00000000
[00:00:20.626,495] os: s[12]: 0x00000000 s[13]: 0x00000000 s[14]: 0x00000000 s[15]: 0x00000000
[00:00:20.626,495] os: fpscr: 0x00000000
[00:00:20.626,525] os: Faulting instruction address (r15/pc): 0x00000000
[00:00:20.626,525] os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:20.626,556] os: Current thread: 0x2000b100 (sysworkq)
[00:00:20.789,184] fatal_error: Resetting system
Environment (please complete the following information):
OS: windows
Toolchain (e.g Zephyr SDK, ...)
Commit SHA or Version used
Additional context
Add any other context that could be relevant to your issue, such as pin setting,
target configuration, ...
This discussion was converted from issue #48501 on July 31, 2022 05:44.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
In the latest NRF Connect SDK 2.0.0, I am trying to do add DFU over BLE to my main project. DFU went well when I create a workspace C:\ncs\v2.0.0\zephyr\samples\subsys\mgmt\mcumgr\smp_svr separately but i have to add DFU application to my main project. I added source files and conf files to my main project. The project compiled well but when I started DFU I observed this crash/error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
DFU Successfull
Impact
Illegal use of the EPSR
Logs and console output
[00:00:00.166,625] fs_nvs: alloc wra: 0, fe0
[00:00:00.166,656] fs_nvs: data wra: 0, 4
[00:00:02.267,089] date_time: getaddrinfo, error: -3
[00:00:04.367,584] date_time: getaddrinfo, error: -3
[00:00:04.367,614] date_time: Did not get time from any NTP server
[00:00:04.367,980] littlefs_storage: get_last_fb_ts_from_flash: last known timestamp to 0
[00:00:04.368,225] littlefs_storage: get_last_ts_from_flash: last known timestamp to 4
[00:00:04.368,255] net_sntp_client_sample: ts is 0 and localts is 19 fallback_ts 0
[00:00:04.368,255] net_sntp_client_sample: updating timestamp from local 19
[00:00:04.368,316] date_time: Year in time structure not in correct format
[00:00:04.368,347] littlefs: LittleFS version 2.4, disk version 2.0
[00:00:04.368,560] littlefs: FS at NRF_FLASH_DRV_NAME:0xf4000 is 6 0x1000-byte blocks with 512 cycle
[00:00:04.368,591] littlefs: sizes: rd 16 ; pr 16 ; ca 64 ; la 32
[00:00:04.368,865] littlefs: /lfs1 mounted
[00:00:04.369,384] sdc_hci_driver: SoftDevice Controller build revision:
33 78 2a 18 20 f5 61 61 a6 8b 77 60 62 83 39 2a |3x*. .aa ..w`b.9*
7c f1 14 e4 ||...
[00:00:04.375,427] smp_bt_sample: Bluetooth initialized
[00:00:04.376,800] smp_bt_sample: Advertising successfully started
[00:00:04.376,892] smp_sample: build time: Jul 31 2022 00:49:13
[00:00:15.341,857] bt_hci_core: opcode 0x200a status 0x09
[00:00:15.342,010] smp_bt_sample: Connected
[00:00:16.468,780] date_time: getaddrinfo, error: -3
[00:00:18.569,244] date_time: getaddrinfo, error: -3
[00:00:18.569,274] date_time: Did not get time from any NTP server
[00:00:18.569,610] littlefs_storage: get_last_fb_ts_from_flash: last known timestamp to 0
[00:00:18.569,885] littlefs_storage: get_last_ts_from_flash: last known timestamp to 4
[00:00:18.569,885] net_sntp_client_sample: ts is 0 and localts is 4 fallback_ts 0
[00:00:18.569,915] net_sntp_client_sample: updating timestamp from local 4
[00:00:18.569,946] date_time: Year in time structure not in correct format
[00:00:20.626,342] os: ***** USAGE FAULT *****
[00:00:20.626,373] os: Illegal use of the EPSR
[00:00:20.626,403] os: r0/a1: 0x2000fda4 r1/a2: 0xe000ed00 r2/a3: 0x2000fda4
[00:00:20.626,403] os: r3/a4: 0x00000000 r12/ip: 0x00000000 r14/lr: 0x0002bbf5
[00:00:20.626,434] os: xpsr: 0x60000000
[00:00:20.626,434] os: s[ 0]: 0x00000000 s[ 1]: 0x00000000 s[ 2]: 0x00000000 s[ 3]: 0x00000000
[00:00:20.626,464] os: s[ 4]: 0x00000000 s[ 5]: 0x00000000 s[ 6]: 0x00000000 s[ 7]: 0x00000000
[00:00:20.626,464] os: s[ 8]: 0x00000000 s[ 9]: 0x00000000 s[10]: 0x00000000 s[11]: 0x00000000
[00:00:20.626,495] os: s[12]: 0x00000000 s[13]: 0x00000000 s[14]: 0x00000000 s[15]: 0x00000000
[00:00:20.626,495] os: fpscr: 0x00000000
[00:00:20.626,525] os: Faulting instruction address (r15/pc): 0x00000000
[00:00:20.626,525] os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:20.626,556] os: Current thread: 0x2000b100 (sysworkq)
[00:00:20.789,184] fatal_error: Resetting system
Environment (please complete the following information):
Additional context
Add any other context that could be relevant to your issue, such as pin setting,
target configuration, ...
Beta Was this translation helpful? Give feedback.
All reactions