RSS
Sort by » date activity ▼ answers views votes

29 questions

Tagged
  • x
194
views
1
vote
1
answer
Last activity 2017-09-21 20:50:27 +0200 by zoltan

NRF52 nrfjprog: ERROR: There is no debugger connected to the PC

------------ EDIT Sep-21-2017 ----------------

I was able to work around the issue by trying on a Linux distribution. Here is a written guide to the package install and board connect process on Ubuntu 16.04: Warning! the guide is written for a ... (more)

97
views
1
vote
1
answer
Last activity 2017-07-22 18:40:18 +0200 by phob

openocd configuration file nrf51.cfg not working

Hi, I am using st-link debugger with NRF51822 module. I was trying to connect it openocd, but it failed. st-link is working with STM32 processor and able to flash through STM32 ST-LINK Utility.<br /> I was got error as follows ... (more)

507
views
1
vote
2
answers
Last activity 2017-07-17 11:32:48 +0200 by Ronaldo Pace

Flashing nRF51 with OpenOCD on Raspberry Pi

On our project we're using a Raspberry Pi 3 compute module with custom hardware and 2x nRF51 SoC running HCI from Zephyr.

We'll be delivering more than 150 of those devices, that means more than 300 nRF51 and ... (more)

272
views
2
votes
1
answer
Last activity 2017-06-18 17:29:19 +0200 by HITMAnsOFT

How to recover bricked nRF52832 with ST Link?

Hi,

I was trying to write the s132 SoftDevice from the nRF5_SDK_13.0.0 onto the Sparkfun nRF52832 breakout via OpenOCD and an ST-Link v2 debugger. The SoftDevice flashed and verified successfully. After reset, I am not able to connect ... (more)

201
views
1
vote
1
answer
Last activity 2017-04-25 17:34:24 +0200 by Jakob

Can I run the ble_app_uart example code from nRF5_SDK_12 with S130 on nRF51822QFAAH0? [closed]

Story Short: When trying to run the ble_app_uart example on a custom board with a nRF51822QFAAH0 chip, the code faults and resets at the point in tries to call sd_softdevice_enable.

What are the prerequisites for running the examples of the ... (more)

239
views
2
votes
1
answer
Last activity 2017-04-20 12:21:02 +0100 by RK flag of Singapore

OpenOCD and the NRF not flashing complete HEX file

I'm trying to flash a nRF518122 with a St-Link V2 programmer via Open OCD. The process seems to goes smooth, but comparing the number of written bytes to the actual HEX size are not the same (about a third ... (more)

433
views
4
votes
1
answer
Last activity 2017-03-31 14:27:50 +0200 by 639zw

Memory Protection and PinReset Configuration with OpenOCD

I am trying to set the Memory protection bit and PinReset configuration with OpenOCD. I have applied the NRF52 patch (outlined here: https://devzone.nordicsemi.com/questi... )

I am able to program .hex files to an NRF52 after running nrfjprog ... (more)

250
views
1
vote
no
answers
Last activity 2017-03-28 12:21:15 +0200 by allankliu

How to load hex to nRF51 with openocd ? [closed]

Due to limited budget, I have to use STLINK/V2 to flash code into nRF51822. I have been through steps of how to setup OpenOCD/STLINK/V2/nRF51822 in Ubuntu. After mass erase, I have to flash softdevice back to ... (more)

139
views
no
votes
1
answer
Last activity 2017-02-24 16:06:11 +0200 by Bjørn Spockeli flag of Norway

Need help with openocd and stlink

Hi,

I configured openOCD and gcc compiler. But i got following error. i gave following command on terminal.

i created one file that is manual.cfg and contain in that file as follows.

 #nRF52832 Target
source [find interface/stlink-v2.cfg ...
(more)

286
views
no
votes
3
answers
Last activity 2017-02-20 00:02:10 +0200 by Roger Clark

can i program nrf51822 bt module using uart

Hi,

I am facing some problem with openocd and stlink connection.

I saw some dve. boards having USB<->serial converter on board for programming (i guess).

So, i got following board.

image description

225
views
1
vote
2
answers
Last activity 2017-02-19 23:53:14 +0200 by Yurii G

flash nrf51822 using openocd giving error

Hi, I have install openocd on ubuntu. but i after running next line

openocd -f interface/stlink-v2.cfg cfg -f target/nrf51_stlink.tcl

i got these error.

Runtime Error: embedded:startup.tcl:47: Can't find target/nrf51_stlink.tcl
in ...
(more)

165
views
1
vote
1
answer
Last activity 2017-02-14 13:59:15 +0200 by butch

Eclipse Managed Make Project for nRF52

I'm using nRF52 + SDK11.0.0 + s132 and following this tutorial and this blog to make a Managed Make project using the ble_hrs esample.

As I was going through the directory structure, I noticed that ble_app_hrs_gcc_nrf52.ld in the ... (more)

93
views
1
vote
1
answer
Last activity 2017-02-05 19:51:45 +0200 by Vignesh

nrf51822 SDK V12 proximity example problem [closed]

Problem : After successful compilation of ble_proximity example in SDK 12 version Ble is not showing up in Android device How ever If I load pre compile file in example path (/nRF5_SDK_12.2.0_f012efa/examples/ble_peripheral/ble_app_proximity/hex/ble_app_proximity_pca10028_s130.hex) its ... (more)

323
views
no
votes
1
answer
Last activity 2017-01-06 14:09:01 +0100 by kling

nRF51822 + OpenOCD: Error: Could not initialize the debug port

Hi,

when trying to connect to a 51822 target, using for example OOCD I keep getting

.... Open On-Chip Debugger 0.10.0-rc1-dev-00001-gc404ff5-dirty (2016-12-29-19:45) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html ... (more)

5k
views
6
votes
3
answers
Last activity 2016-12-01 11:46:11 +0200 by Shriram

Programming nRF52 with OpenOCD

Hi, I have a BMD-300 (nRF52) module that I'm attempting to program with OpenOCD and an ST-link from Linux (it worked great for nRF51 so I was trying to keep the same tools).

$OPENOCD/src/openocd -s $OPENOCD/tcl ...
(more)

490
views
no
votes
1
answer
Last activity 2016-10-13 10:08:56 +0200 by Michael Dietz flag of United States

How do I disable control access port protection on nRF52 using openOCD?

I am using openOCD as the debugger for my nRF52 device. Nothing is working anymore. I am seeing errors like:

$ Error: Could not find MEM-AP to control the core
$ Error: Target not examined yet

whenever I try to do a ... (more)

292
views
4
votes
3
answers
Last activity 2016-09-13 07:48:22 +0200 by IlyaM

Have a problem with compile under GCC

Hey everyone, I'm trying to compile blinky example, using ARM on Mac OS X. I use st-link 2 to flash it. So, the first when I do 'make' command I've got errors

Makefile:220: Cannot find include folder ...
(more)

860
views
1
vote
2
answers
Last activity 2016-06-25 23:33:18 +0200 by Nguyen Hoan Hoang flag of Canada

Unable to connect to NRF51822 with OpenOCD and STLink/V2 via SWD

Hello,

I have some MDBT40 modules from Raytac that are blank. I want to flash some code (anything at this point) using the STLink/V2 programmer, SWD interface, and OpenOCD 0.9.0 (Windows). I've attempted to follow several ... (more)

2k
views
no
votes
1
answer
Last activity 2016-05-16 12:04:53 +0200 by Christopher

Openocd promgram NRF51822 with ST link v2 mini

Hi, I got a nrf51822 board and a st link v2 mini as shown below. I have been trying to connect the nrf51822 board so that i can upload code to the board by following this post link text. However ... (more)

160
views
1
vote
1
answer
Last activity 2016-05-11 17:14:40 +0100 by James Yu

Debuging tool for native nordic SDk

hello,

I wanted an info which tool is better for debugging when using native SDK.

do i have to use pyocd or openocd for native sdk hardware debugging and if you can tell me how i can do realtime hardware ... (more)

88
views
no
votes
no
answers
Last activity 2016-04-24 07:19:12 +0100 by Oliver

Merging Hex Files SDK9, GCC, STLINK

Hi, I've recently switched from the older SDK 6 to SDK 9. However, I am unable to get my NRF51822 working with any of the example projects. I've managed to compile the projects using GCC to get the ... (more)

441
views
no
votes
2
answers
Last activity 2016-04-13 15:39:17 +0200 by tobias.poppe

nrf51822 uart example doesn´t work

Hey pro´s, first thanks for this great community! I´ve read a lot of conntents here, and there is a huge amount of knowledge in this forum! But since 2 weeks i´ve got a problem i can´t ... (more)

4k
views
2
votes
3
answers
Last activity 2016-03-14 12:54:06 +0200 by ben b.

Program bluetooth for nrf51822 yunjia board with STLink-v2

Hello everyone,

i'm kinda new to microcontroller programming and feel like i bit of more than i can chew. I bought a variant of the nrf51822 chip (https://github.com/RIOT-OS/RIOT/wiki/...) and thought it would be easier ... (more)

832
views
1
vote
1
answer
Last activity 2016-02-06 00:33:08 +0200 by ypearson

nRF51-DK OpenOCD GDB

Setup: Ubuntu14.04 ARM gcc version 4.8.4 20140725 OpenOCD 0.9

OpenOCD: openocd -f openocd/share/openocd/scripts/interface/jlink.cfg -c "transport select swd" -f openocd/share/openocd/scripts/target/nrf51.cfg

GDB: arm-none-eabi-gdb -tui _build/nrf51422_xxac_s110 ... (more)

609
views
1
vote
1
answer
Last activity 2016-02-03 20:17:10 +0100 by Christopher

"Couldn't read CONFIGID register" error when using nrf51822 with STLink and OpenOCD

Hi, I have setup my system for working with nrf51822 with openOCD and STLink to program it. The blinky went well. But now when i try to program it i get the following error:

Couldn't read CONFIGID register auto_probe ... (more)

1k
views
no
votes
no
answers
Last activity 2015-07-28 10:24:24 +0200 by Aryan flag of Norway

nRF51822 SEGGER J-Link Base debug probe openocd gdb fails with SIGINT 0xfffffffe.

Hardware setup:

Ubuntu <--USB--JLink--TagConnect--> nRF51822

Software:

  • gcc-arm-none-eabi 4.9.3.2015q2-1preci A GNU-based tool chain for arm embedded processors
  • arm-none-eabi-gcc4.9.3 20150529 (release) [ARM/embedded-4_9-branch revision 224288]
  • GNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150604-cvs ...
(more)

4k
views
3
votes
2
answers
Last activity 2015-07-20 15:54:26 +0200 by Steven Grunza

Programming nrf51822 with openOCD and STLink-v2 issues [closed]

I want to flash a firmware on my nrf51822 module I was trying an example from Nordic, I concatenated the bin file with the s110 file and it worked fine. Now, when I went ahead to flash the bin file ... (more)

5k
views
1
vote
2
answers
Last activity 2015-01-03 20:10:27 +0200 by bishop

ST-LINK NRF51822 and OPENOCD [closed]

Hello Everyone! I want to program nrf51822. I'm using open OCD 0.9. I created openocd.cfg file:

source [find interface/stlink-v2.cfg]
transport select hla_swd
set WORKAREASIZE 0x4000
source [find target/nrf51.cfg]

and started openocd-x64-0.9.0-dev-141103193059 ... (more)

3k
views
1
vote
2
answers
Last activity 2014-07-26 23:11:52 +0200 by EUA

What flasher can I use to program nRF51822?

Hello,

I am looking for a not expensive way to program nRF51822 by frame of 10 modules. All the 10 modules would be connected to a PC using pogo pins, and I would use a custom software to drive the ... (more)

Statistics

  • Total users: 25335
  • Latest user: Rose Finlay
  • Resolved questions: 10977
  • Unanswered questions: 3687
  • Total questions: 27077