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

Need help with RedBearLab BLE Board w/Nordic nRF51822

Hi, I am having some trouble in setting up the RedBearLab BLE board w/ nRF51822 that i recently bought for a project I am currently doing . I am using windows OS, with eclipse mars 2 for C++ developers and followed the instructions from the following links.

devzone.nordicsemi.com/.../1 redbearlab.com/.../

I solved the problem with installing eclipse, as I found that Java SE and the eclipse should be both in either 32 or 64-bit.

I downloaded the sdk 10.0 for NRF51x as well as the GNU Tools ARM Embedded processors 6.0 2017 and GnuWin32's Make-3.81. However, I do not know what the board's PCA number is to completely follow the steps shown in the nordic devzone. I have also downloaded the nRF connect and nRFgo studio applications which I believe is useful for me. The following are the issues I face now:

  1. The initial setup is where I face the problem, I believe that I am unable to proceed with building an example in the SDK because of this. In the instructions, I first need to set the toolchain path in the "makefile.windows" file. The following is from the given tutorial,

GNU_INSTALL_ROOT := $(PROGFILES)/GNU Tools ARM Embedded/4.9 2015q3 // Toolchain path GNU_VERSION := 4.9.3 GNU_PREFIX := arm-none-eabi

I changed the verison 4.9 2015q3 to 6 2017q1 as shown below:

ifeq ($(findstring 86, $(ProgramFiles)), ) PROGFILES := C:/Program Files else PROGFILES := C:/Program Files (x86) endif

GNU_INSTALL_ROOT := $(PROGFILES)/GNU Tools ARM Embedded/6 2017q1 // Toolchain path GNU_VERSION := 6 GNU_PREFIX := arm-none-eabi

The problem is when i use the command prompt to call for the make-file after I did the steps. It is stated that it is not recognised.

  1. I also wish to ask which debugging tool would be suitable for this board. I have installed J-link, however it is quite costly for me to buy the segger debugger.

Bought the board from: www.sgbotic.com/index.php

Related