Not able o build code

Hii, 

Downloaded Timer code from sample and trying to build using 2.9.0 SDK but not able to build. It is building using 2.6.2 sdk.

Pls check and update soon.

Thanks 

Atul 

Parents
  • Can you please give us more details of which timer code from which sample you are using so that we can try to reproduce the issue on our side. Can you also show the build errors you are getting on your end?

  • Im using nrf connect sdk 2.9.0 version and the sample code is "nrfx_timer timer example"

  • 98918atul said:
    Im using nrf connect sdk 2.9.0 version and the sample code is "nrfx_timer timer example"

    There seems to be a issue in understanding here. You are trying to build a baremetal image using sysbuild. There is no support for that. 

    In VSC please chose this 

    We should have chosen this by default, I will try to find out why this is not the case. In anycase for you the solution is now is manually chose normal build and not sysbuild

  • yes but if i add this code in light mesh code then Im getting this errors : [00:00:00.723,663] <ESC>[1;31m<err> os: ***** USAGE FAULT *****<ESC>[0m<CR><LF>
    [00:00:00.723,663] <ESC>[1;31m<err> os: Illegal use of the EPSR<ESC>[0m<CR><LF>
    [00:00:00.723,693] <ESC>[1;31m<err> os: r0/a1: 0x00000000 r1/a2: 0x00000004 r2/a3: 0x200040c0<ESC>[0m<CR><LF>
    [00:00:00.723,693] <ESC>[1;31m<err> os: r3/a4: 0x00000020 r12/ip: 0x00000001 r14/lr: 0x00063933<ESC>[0m<CR><LF>
    [00:00:00.723,724] <ESC>[1;31m<err> os: xpsr: 0x20000018<ESC>[0m<CR><LF>
    [00:00:00.723,724] <ESC>[1;31m<err> os: s[ 0]: 0x20010100 s[ 1]: 0xfffffffd s[ 2]: 0x3d727ba2 s[ 3]: 0x1045e046<ESC>[0m<CR><LF>
    [00:00:00.723,754] <ESC>[1;31m<err> os: s[ 4]: 0x684f7382 s[ 5]: 0x0f121004 s[ 6]: 0x554d698a s[ 7]: 0xd831a832<ESC>[0m<CR><LF>
    [00:00:00.723,754] <ESC>[1;31m<err> os: s[ 8]: 0xad72eb58 s[ 9]: 0x86e48a45 s[10]: 0xf1062ba9 s[11]: 0xb963d202<ESC>[0m<CR><LF>
    [00:00:00.723,785] <ESC>[1;31m<err> os: s[12]: 0x766acdcc s[13]: 0x1cc17205 s[14]: 0x4fcffbbe s[15]: 0x99552164<ESC>[0m<CR><LF>
    [00:00:00.723,785] <ESC>[1;31m<err> os: fpscr: 0xb0339f3f<ESC>[0m<CR><LF>
    [00:00:00.723,815] <ESC>[1;31m<err> os: Faulting instruction address (r15/pc): 0x00000020<ESC>[0m<CR><LF>
    [00:00:00.723,846] <ESC>[1;31m<err> os: >>> ZEPHYR FATAL ERROR 35: Unknown error on CPU 0<ESC>[0m<CR><LF>
    [00:00:00.723,846] <ESC>[1;31m<err> os: Fault during interrupt handling<LF>
    <ESC>[0m<CR><LF>

    pls help me in solving this issue 

    thank you 

    Atul

Reply
  • yes but if i add this code in light mesh code then Im getting this errors : [00:00:00.723,663] <ESC>[1;31m<err> os: ***** USAGE FAULT *****<ESC>[0m<CR><LF>
    [00:00:00.723,663] <ESC>[1;31m<err> os: Illegal use of the EPSR<ESC>[0m<CR><LF>
    [00:00:00.723,693] <ESC>[1;31m<err> os: r0/a1: 0x00000000 r1/a2: 0x00000004 r2/a3: 0x200040c0<ESC>[0m<CR><LF>
    [00:00:00.723,693] <ESC>[1;31m<err> os: r3/a4: 0x00000020 r12/ip: 0x00000001 r14/lr: 0x00063933<ESC>[0m<CR><LF>
    [00:00:00.723,724] <ESC>[1;31m<err> os: xpsr: 0x20000018<ESC>[0m<CR><LF>
    [00:00:00.723,724] <ESC>[1;31m<err> os: s[ 0]: 0x20010100 s[ 1]: 0xfffffffd s[ 2]: 0x3d727ba2 s[ 3]: 0x1045e046<ESC>[0m<CR><LF>
    [00:00:00.723,754] <ESC>[1;31m<err> os: s[ 4]: 0x684f7382 s[ 5]: 0x0f121004 s[ 6]: 0x554d698a s[ 7]: 0xd831a832<ESC>[0m<CR><LF>
    [00:00:00.723,754] <ESC>[1;31m<err> os: s[ 8]: 0xad72eb58 s[ 9]: 0x86e48a45 s[10]: 0xf1062ba9 s[11]: 0xb963d202<ESC>[0m<CR><LF>
    [00:00:00.723,785] <ESC>[1;31m<err> os: s[12]: 0x766acdcc s[13]: 0x1cc17205 s[14]: 0x4fcffbbe s[15]: 0x99552164<ESC>[0m<CR><LF>
    [00:00:00.723,785] <ESC>[1;31m<err> os: fpscr: 0xb0339f3f<ESC>[0m<CR><LF>
    [00:00:00.723,815] <ESC>[1;31m<err> os: Faulting instruction address (r15/pc): 0x00000020<ESC>[0m<CR><LF>
    [00:00:00.723,846] <ESC>[1;31m<err> os: >>> ZEPHYR FATAL ERROR 35: Unknown error on CPU 0<ESC>[0m<CR><LF>
    [00:00:00.723,846] <ESC>[1;31m<err> os: Fault during interrupt handling<LF>
    <ESC>[0m<CR><LF>

    pls help me in solving this issue 

    thank you 

    Atul

Children
No Data
Related