Bluetooth is not up after flashing peripheral_hr_coded example

Following this link to build and flash BLE advertisement https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/app_dev/device_guides/thingy91x/thingy91x_building_programming.html#programming-onto-thingy-91-x

Issue: Advertisments are not shown on NRF application

Steps Followed:

1. Build peripheral_hr_coded sample from nrf/samples/bluetooth/peripheral_hr_coded on VS code with thingy91x/nrf5340/cpuapp build configuration

2. Flashed dfu_application.zip

Problem while building cpunet

1. Build peripheral_hr_coded sample from nrf/samples/bluetooth/peripheral_hr_coded on VS code with thingy91x/nrf5340/cpunet build configuration

Error:`text' will not fit in region `FLASH'
/opt/nordic/ncs/toolchains/ef4fc6722e/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd: region `FLASH' overflowed by 62816 bytes
collect2: error: ld returned 1 exit status 

Any help would be really appreciated thanks

  • Here is my configuration to build Bluetooth: Peripheral Heart Rate Monitor with Coded PHY

    I used the nRF54L15 DK to program the .hex file to the Thingy:91X.

    I then programmed Bluetooth: Central Heart Rate Monitor with Coded PHY based on the below configruation.

    The serial output from the nRF54L15 DK running Bluetooth: Central Heart Rate Monitor with Coded PHY is:

    *** Booting nRF Connect SDK v3.0.1-9eb5615da66b ***
    *** Using Zephyr OS v4.0.99-77f865b8f8d0 ***
    Starting Bluetooth Central HR coded sample
    I: SoftDevice Controller build revision:
    I: 89 9a 50 8a 95 01 9c 58 |..P....X
    I: fc 39 d2 c1 10 04 ee 02 |.9......
    I: 64 ce 25 be |d.%.
    I: HW Platform: Nordic Semiconductor (0x0002)
    I: HW Variant: nRF54Lx (0x0005)
    I: Firmware: Standard Bluetooth controller (0x00) Version 137.20634 Build 2617349514
    I: Identity: C7:16:13:C6:0E:D7 (random)
    I: HCI: version 6.0 (0x0e) revision 0x30f3, manufacturer 0x0059
    I: LMP: version 6.0 (0x0e) subver 0x30f3
    Bluetooth initialized
    Scanning successfully started

    I then turn on Thingy:91X and the nRF54L15 DK serial output is:

    *** Booting nRF Connect SDK v3.0.1-9eb5615da66b ***
    *** Using Zephyr OS v4.0.99-77f865b8f8d0 ***
    Starting Bluetooth Central HR coded sample
    I: SoftDevice Controller build revision:
    I: 89 9a 50 8a 95 01 9c 58 |..P....X
    I: fc 39 d2 c1 10 04 ee 02 |.9......
    I: 64 ce 25 be |d.%.
    I: HW Platform: Nordic Semiconductor (0x0002)
    I: HW Variant: nRF54Lx (0x0005)
    I: Firmware: Standard Bluetooth controller (0x00) Version 137.20634 Build 2617349514
    I: Identity: C7:16:13:C6:0E:D7 (random)
    I: HCI: version 6.0 (0x0e) revision 0x30f3, manufacturer 0x0059
    I: LMP: version 6.0 (0x0e) subver 0x30f3
    Bluetooth initialized
    Scanning successfully started
    Filters matched. Address: FD:C8:58:4F:89:FD (random) connectable: yes Primary PHY: S=8 Coded Secondary PHY S=8 Coded
    Connection pending
    Connected: FD:C8:58:4F:89:FD (random), tx_phy LE Coded, rx_phy LE Coded
    The discovery procedure succeeded
    [SUBSCRIBED]
    Heart Rate Measurement notification received:

    Heart Rate Measurement Value Format: 8 - bit
    Sensor Contact detected: 1
    Sensor Contact supported: 1
    Energy Expended present: 0
    RR-Intervals present: 0

    Heart Rate Measurement Value: 102 bpm

    Heart Rate Measurement notification received:

    Heart Rate Measurement Value Format: 8 - bit
    Sensor Contact detected: 1
    Sensor Contact supported: 1
    Energy Expended present: 0
    RR-Intervals present: 0

    Heart Rate Measurement Value: 103 bpm

    Heart Rate Measurement notification received:

    Heart Rate Measurement Value Format: 8 - bit
    Sensor Contact detected: 1
    Sensor Contact supported: 1
    Energy Expended present: 0
    RR-Intervals present: 0

    Heart Rate Measurement Value: 104 bpm

    Heart Rate Measurement notification received:

    Heart Rate Measurement Value Format: 8 - bit
    Sensor Contact detected: 1
    Sensor Contact supported: 1
    Energy Expended present: 0
    RR-Intervals present: 0

    Heart Rate Measurement Value: 105 bpm

    Heart Rate Measurement notification received:

    Heart Rate Measurement Value Format: 8 - bit
    Sensor Contact detected: 1
    Sensor Contact supported: 1
    Energy Expended present: 0
    RR-Intervals present: 0

    Heart Rate Measurement Value: 106 bpm

    Heart Rate Measurement notification received:

    Heart Rate Measurement Value Format: 8 - bit
    Sensor Contact detected: 1
    Sensor Contact supported: 1
    Energy Expended present: 0
    RR-Intervals present: 0

    Heart Rate Measurement Value: 107 bpm

    Heart Rate Measurement notification received:

    Heart Rate Measurement Value Format: 8 - bit
    Sensor Contact detected: 1
    Sensor Contact supported: 1
    Energy Expended present: 0
    RR-Intervals present: 0

    Heart Rate Measurement Value: 108 bpm

    Heart Rate Measurement notification received:

    Heart Rate Measurement Value Format: 8 - bit
    Sensor Contact detected: 1
    Sensor Contact supported: 1
    Energy Expended present: 0
    RR-Intervals present: 0

    Heart Rate Measurement Value: 109 bpm

    Hopefully this helps.

Related