We work with DWM3000evb and nRF52840DK board.We followed “Guide_for_example_build” file to run the example codes,and we connect the board with PC using a USB.But we don’t know how to configure the openocd configuration options.We don’t find nrf52.cfg in system workbench project,and don’t know how to select the debug interface.
And when I use “jlink.cfg”,it has the following errors :
Open On-Chip Debugger 0.10.0+dev-00021-g524e8c8 (2019-04-12-08:48)
Licensed under GNU GPL v2
For bug reports, read http://openocd.org/doc/doxygen/bugs.html
Error: The specified debug interface was not found (jlink)
The following debug interfaces are available:
1: ftdi
2: usb_blaster
3: vsllink
4: ulink
5: hla
6: osbdm
7: opendous
8: aice
9: cmsis-dap
10: kitprog
Yes, I have downloaded successful by using segger embedded studio.
It showed that :
Downloading ‘dw3000_api.elf’ to J-Link
Programming 0.5 KB of .vectors addresses 00000000 — 000001ff
Programming 19.0 KB of addresses 00012000 — 00016c1d
Programming 0.0 KB of addresses 00016c20 — 00016c27
J-Link: Flash download: Bank 0 @ 0x00000000: Skipped. Contents already match
Download successful
Yes,I konw that.But DWM3000 API examples work on AC6 tools system workbench, so I have to use it to run examples, after running nRF52840DK in segger embedded studio.
When working with nRF52840DK, at any point you need AC6 tools system workbench.
In example_selection.h, you need just to uncomment the example you need to run and it should work.
Thanks for your answer. But I now don’t know how to configure debug cconfiguration options. In other words, I haven’t built an environment for the program. For openocd debugger, how to configure the .cfg file is now the difficulty I meet. I don’t find nrf52.cfg in system workbench project,and don’t know how to select the debug interface.
My mean is how to configure the following :
Hello! We are trying to integrate UWB into our nrf52840 board for ranging purposes. After seeing your post, it seems there might be a suitable method to achieve this. Currently, most of the UWB-compatible mainboards we’ve found online are based on STM, with very few for NRF. I’m wondering if you still have any research or insights on this topic?
Dear Engineer, hello. Your previous advice was very good. We tried using the examples in the QM33SDK and were able to successfully query the device ID and perform SS distance measurements. Now we have encountered two problems we would like to consult you about. 1. There is a routine called ds-twr in the example that appears to be for bidirectional distance measurement. However, during use, we found that we were unable to receive a response from the responder, which seems to be related to the frequency settings. We made a series of modifications according to the comments in the code, but found no success. Do you have any suggestions? 2. We now want to call the distance measurement part within our existing Bluetooth MESH network, but unfortunately we’ve faced some setbacks. Many functions that are clearly declared in the SDK are always showing as undeclared during compilation. Do you have any advice or examples of calls? We hope you can spare some time to answer. Thank you!