Bluetooth Fundamentals course - Lesson 1 -- Flashed Sample Firmware had no LED or Logging Information

Hello,

I'm working through the fundamental courses and trying to get my nrf54lm20 development board setup. After I have built and flashed the sample firmware to the dev board. There had been no LED lighting up on the board nor any messages logged when listening on the emulated terminal. The emulated terminal had no message showing up. I'm unsure if the board is even starting after flashing the firmware. There were no error messages during the build or flashing process. Both finished normally.

Below is the build configuration used and the flash logging messages. It is building with the default configurations with sysbuild. As a side note, the flashed firmware was working normally with hello world applications.

   

Thank you,

  • Hi. 


    The LED and the blinky sample does work. and the board has revision number 0.7.0.

    I tried to run debug on the board, the output through RTT after enabling BT in the proj.conf are the following. And the second chunk is what was outputted when running west debug, listening for the address then running backtrace.

    Thanks,


    [00:00:00.000,160] <err> os: ***** BUS FAULT *****
    [00:00:00.000,168] <err> os:   Precise data bus error
    [00:00:00.000,173] <err> os:   BFAR Address: 0x50047004
    [00:00:00.000,186] <err> os: r0/a1:  0x20001a08  r1/a2:  0x20004197  r2/a3:  0x00000000
    [00:00:00.000,195] <err> os: r3/a4:  0x20004190 r12/ip:  0x00000001 r14/lr:  0x80000000
    [00:00:00.000,201] <err> os:  xpsr:  0x00014400
    [00:00:00.000,206] <err> os: Faulting instruction address (r15/pc): 0xe000ed00
    [00:00:00.000,227] <err> os: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0
    [00:00:00.000,244] <err> os: Current thread: 0x20002408 (unknown)
    [00:00:00.984,253] <err> os: Halting system

    Reading symbols from /home/bluetooth/l1/build/l1/zephyr/zephyr.elf...
    Remote debugging using :2331
    arch_system_halt (reason=reason@entry=25) at /home/ncs/v3.2.4/zephyr/kernel/fatal.c:30
    30              for (;;) {
    Resetting target
    Loading section rom_start, size 0x4c8 lma 0x0
    Loading section text, size 0x150b4 lma 0x4c8
    Loading section .ARM.exidx, size 0x8 lma 0x1557c
    Loading section initlevel, size 0xa0 lma 0x15584
    Loading section device_area, size 0xe0 lma 0x15624
    Loading section sw_isr_table, size 0x910 lma 0x15704
    Loading section entropy_driver_api_area, size 0x8 lma 0x16014
    Loading section gpio_driver_api_area, size 0x24 lma 0x1601c
    Loading section clock_control_driver_api_area, size 0x1c lma 0x16040
    --Type <RET> for more, q to quit, c to continue without paging--c
    Loading section uart_driver_api_area, size 0xc lma 0x1605c
    Loading section log_const_area, size 0xb8 lma 0x16068
    Loading section log_backend_area, size 0x10 lma 0x16120
    Loading section zephyr_dbg_info, size 0x44 lma 0x16130
    Loading section rodata, size 0x33b4 lma 0x16180
    Loading section datas, size 0x35c lma 0x1953c
    Loading section device_states, size 0x10 lma 0x19898
    Loading section log_mpsc_pbuf_area, size 0x44 lma 0x198a8
    Loading section log_msg_ptr_area, size 0x4 lma 0x198ec
    Loading section k_mutex_area, size 0x78 lma 0x198f0
    Loading section k_sem_area, size 0x18 lma 0x19968
    Loading section k_event_area, size 0x20 lma 0x19980
    Loading section net_buf_pool_area, size 0xd0 lma 0x199a0
    Loading section .last_section, size 0x4 lma 0x19a70
    Start address 0x0000b250, load size 105056
    Transfer rate: 65 KB/sec, 4377 bytes/write.
    Resetting target
    (gdb) awatch *0x50047004
    Hardware access (read/write) watchpoint 1: *0x50047004
    (gdb) c
    Continuing.
    [New Remote target]
    
    Thread 2 received signal SIGTRAP, Trace/breakpoint trap.
    [Switching to Remote target]
    (gdb) bt
    #0  z_arm_usage_fault () at /home/ncs/v3.2.4/zephyr/arch/arm/core/cortex_m/fault_s.S:80
    #1  <signal handler called>
    #2  0x00006448 in sym_KNXPCDCG3D5MEDJBO3R6REAMOHWZ5KSX2FRQDJA ()
    #3  0x00006560 in mpsl_init ()
    #4  0x0000d9c2 in mpsl_lib_init_internal () at /home/ncs/v3.2.4/nrf/subsys/mpsl/init/mpsl_init.c:437
    #5  mpsl_lib_init_sys () at /home/ncs/v3.2.4/nrf/subsys/mpsl/init/mpsl_init.c:479
    #6  0x0000f0e6 in z_sys_init_run_level (level=level@entry=INIT_LEVEL_PRE_KERNEL_1) at /home/ncs/v3.2.4/zephyr/kernel/init.c:246
    #7  0x0000f2ee in z_cstart () at /home/ncs/v3.2.4/zephyr/kernel/init.c:564
    #8  0x0000b4d0 in z_prep_c () at /home/ncs/v3.2.4/zephyr/arch/arm/core/cortex_m/prep_c.c:223
    #9  0x0000b2a8 in z_arm_reset () at /home/ncs/v3.2.4/zephyr/arch/arm/core/cortex_m/reset.S:233
    Backtrace stopped: previous frame identical to this frame (corrupt stack?)


  • The problem was fixed after updating the sdk version. It seemed like a problem building the older SDK, building with v3.3.0 with nrf54lm20b as the target fixed the issue.

    The development kit's description on the site did say it needed the v3.3.0 previews SDKs at least, but it wasn't mentioned in the courses. 

Related