nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF Connect for Desktop Programmer V2.2.0 and Heart Rate Monitor Demo

I have connected a nRF5340 DK board which the Programmer can connect to. I then drag the two .hex files for the Heart Rate Monitor demo over to the File Memory Layout window, however the following commands are still grayed out:

  • Erase all
  • Erase & write
  • Save as file
  • Reset
  • Write
  • Read

What am I missing please?

# nRFConnect System Report - 2022-01-25T07-26-56.445Z

- System: Apple Inc. MacBookPro12,1
- BIOS: Apple Inc. 428.60.3.0.0
- CPU: 1 x IntelRegistered CoreTm i7-5557U 3.1 GHz 4 cores (2 physical)
- Memory: 425.4 MB free of 16 GB total
- Filesystem: /dev/disk1s5 (APFS) 931.6 GB 2.2% used

- OS: Mac OS X (10.15.7) darwin x64

- Versions
- kernel: 19.6.0
- git: 2.24.3
- node: 14.16.0
- python: 2.7.16
- python3: 3.8.2
- nrfjprog: 10.15.1
- jlink: 7.58b

- Connected devices:
- 001050072527 PCA10095: /dev/tty.usbmodem0010500725271, /dev/tty.usbmodem0010500725273

- Current device:
- name: nRF5340 DK
- serialNumber: 001050072527
- cores: 2
- website: www.nordicsemi.com/.../nRF5340-DK

Parents Reply Children
  • OK I see.

    Could you show me what your DK is printing over serial? Maybe it's giving you error messages.

    You can access this for example in the nRF Connect SDK for VS Code while your device is connected through USB.

    -Einar

  • Thanks again Einar, I have launched the terminal monitor in nRF Connect SDK for VS Code, but am not seeing USB traffic, what connection and display options should I be using please?

      

  • In the nRF Connect tab of VS Code you should find a "Connected devices" section.

    There you can choose the COM port of your device, and VS Code will display the serial traffic under "nRF Terminal"

  • There's definitely something not right!

    The terminal window continuously scrolls with the same block:

    *** Booting Zephyr OS build v2.4.0-ncs1-1706-ga89f951e1eb8  ***

    [00:00:00.005,737] <err> os: ***** BUS FAULT *****

    [00:00:00.005,737] <err> os:   Precise data bus error

    [00:00:00.005,737] <err> os:   BFAR Address: 0x20070000

    [00:00:00.005,737] <err> os: r0/a1:  0x21001820  r1/a2:  0x00000001  r2/a3:  0x00000001

    [00:00:00.005,767] <err> os: r3/a4:  0x20070000 r12/ip:  0x2100041c r14/lr:  0x01021cab

    [00:00:00.005,767] <err> os:  xpsr:  0x69000000

    [00:00:00.005,767] <err> os: Faulting instruction address (r15/pc): 0x0101d166

    [00:00:00.005,767] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0

    [00:00:00.005,767] <err> os: Current thread: 0x21001b30 (unknown)

    *** Booting Zephyr OS build v2.4.0-ncs1-1706-ga89f951e1eb8  ***

  • Oh, that doesn't look good

    Could you try to compile and flash the Heart Rate Monitor Demo in VS Code, and see if you still get these errors?

    -Einar

Related