This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to run demo after builded

I am using nrf52811, SEGGER Embedded Studio and I want to use Beacon demo. I click Build and Run, it prints as below:

And I can not find the beacon device in nRF Connect. But if I click Build and Debug,  it prints as below:

And I can find the beacon device. However, if I reboot it, it prints garbled codes:

So How to run the demo without debug? 

Parents
  • Have you checked if the baud rate is set correctly?

    Best regards,

    Simon

  • Hi, Simon. The baud rate is correct, because if I start debug or click Connect J-Link, it works

  • I just tested this with an nRF52832 (I don't have an nrf52811 at hand at the moment) using NCS v1.3.0, the sample ncs/v1.3.0/zephyr/samples/bluetooth/beacon, and Termite with the following UART settings:

    It works without starting a debug session (just west build -b nrf52dk_nrf52832 && west flash):

    *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***
    Starting Beacon Demo
    Bluetooth initialized
    Beacon started
    [00:00:00.006,561] [1B][0m<inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)[1B][0m
    [00:00:00.006,591] [1B][0m<inf> bt_hci_core: HW Variant: nRF52x (0x0002)[1B][0m
    [00:00:00.006,591] [1B][0m<inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 2.3 Build 0[1B][0m
    [00:00:00.007,171] [1B][0m<inf> bt_hci_core: Identity: d4:83:20:fe:9e:4c (random)[1B][0m
    [00:00:00.007,202] [1B][0m<inf> bt_hci_core: HCI: version 5.2 (0x0b) revision 0x0000, manufacturer 0x05f1[1B][0m
    [00:00:00.007,202] [1B][0m<inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0xffff[1B][0m

    Could you test the same setup as me (NCS v1.3.0 and Termite) and see if it works or not.

    Best regards,

    Simon

Reply
  • I just tested this with an nRF52832 (I don't have an nrf52811 at hand at the moment) using NCS v1.3.0, the sample ncs/v1.3.0/zephyr/samples/bluetooth/beacon, and Termite with the following UART settings:

    It works without starting a debug session (just west build -b nrf52dk_nrf52832 && west flash):

    *** Booting Zephyr OS build v2.3.0-rc1-ncs1  ***
    Starting Beacon Demo
    Bluetooth initialized
    Beacon started
    [00:00:00.006,561] [1B][0m<inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)[1B][0m
    [00:00:00.006,591] [1B][0m<inf> bt_hci_core: HW Variant: nRF52x (0x0002)[1B][0m
    [00:00:00.006,591] [1B][0m<inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 2.3 Build 0[1B][0m
    [00:00:00.007,171] [1B][0m<inf> bt_hci_core: Identity: d4:83:20:fe:9e:4c (random)[1B][0m
    [00:00:00.007,202] [1B][0m<inf> bt_hci_core: HCI: version 5.2 (0x0b) revision 0x0000, manufacturer 0x05f1[1B][0m
    [00:00:00.007,202] [1B][0m<inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0xffff[1B][0m

    Could you test the same setup as me (NCS v1.3.0 and Termite) and see if it works or not.

    Best regards,

    Simon

Children
Related