Questions tagged [nrf51]

The nRF51 Series is a family of highly flexible, multi-protocol, system-on-chip (SoC) devices for ultra-low power wireless applications from Nordic Semiconductor [1].

90 questions
0
votes
1 answer

Coudn't Flash to a softdevice

I am using nRF5 SDK to flash a softdevice pca10001 s110, and when ever I am using make flash_softdevice it shows the below error line : Flashing: s130_nrf51_2.0.0_softdevice.hex nrfjprog --program…
Prasath
  • 57
  • 1
  • 7
0
votes
1 answer

ARM gnu install build error with Nordic nRF51, could be path or admin

I have been installing ARM toolchain on Windows 10 for development of Nordic nRF51, and followed instructions in their tutorial https://devzone.nordicsemi.com/tutorials/7 when I run make for first time, I get a build error. In detail: I have…
0
votes
1 answer

Cannot find the definition for sd_ble_enable() in nrf51822 source code

Could not browse some of the functions for pca10001->s110 softdevice. Is it something the firmware code this function sd_ble_enable() referring to ?
Prasanth
  • 3
  • 3
0
votes
1 answer

"Program File does not exist" while trying to debug with Eclipse/OpenOCD

I recently got a nrf51 bluetooth module and I am trying to debug it with Eclipse Mars. I installed the required toolchain as well as OpenOCD (I am using STLink v2 to debug the board). While running openOCD and arm-none-eabi-gdb in console,…
Ziga Petek
  • 3,953
  • 5
  • 33
  • 43
0
votes
3 answers

Do i need motherboard for NRF51822 BLE UART?

I'm working on the iOS app to interact with Arduino boards. On Arduino side i use "transparent" serial implemented in HM-10/11 firmware. So i just wire HM-10/11 RT/TX pins with Arduino ones and it works just perfect and write to specific…
4ntoine
  • 19,816
  • 21
  • 96
  • 220
0
votes
0 answers

Share typedef struct array used in file among other files

I am not been able to share a typef struct among files, concretely from one file and the main.c. To summarize I have the following: pagos.h: typedef struct { uint8_t usuario[LONGITUD_USUARIO]; uint8_t importe[LONGITUD_IMPORTE]; …
Fulgor3
  • 389
  • 4
  • 18
0
votes
1 answer

Cortex M0 hardfault; BLC Huffman

On my application I have a Cortex M0 running inside the nRF51422 IC from Nordic Semiconductor. When trying to use the Basic Compression Library, I got LZ and Rice working, but Huffman_Compress gives me a Hardware Fault. I suspect that the processor…
0
votes
1 answer

lib\app_error.c|49|error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' Nortic Semi example

I'm trying to use nordic semiconductor example showing how to use button handling library: https://github.com/NordicSemiconductor/nrf51-app-button-example compiler gives me error like in the title. I'm trying to find missing coma or semicolon but I…
yoyki
  • 1
  • 2
0
votes
1 answer

Unable to Compile nrf51 SDK example from directory other than SDK

I'm devloping application on nRf51 for that i'm using... SDK : nRF51_SDK_7.2.0_cf547b5 Tool chain : GNU tools arm Embedded [arm-none-eabi version 4.9.3] Dev Board : PCA10028(nRF51 DK) I'm using following…
0
votes
1 answer

make[1]: *** [_build/app_error.o] Error 1

right now i use nrf51-dev kit and i want blinky code for that, in Keil i compile code and load in kit and it work fine but now i want to make code in eclipse, for that i install all required tool, but now it give me error in console is echo …
hiren
  • 1
  • 3
0
votes
1 answer

Modifying and re-exporting an eclipse plugin

I'm setting up an embedded development system for the Nordic nrf51422 SoC in eclipse on my mac. Nordic provides a c-based SDK for these chips as well as a closely related part, the nrf51822 in a single package. I have a plugin that configures the…
David
  • 21
  • 5
-1
votes
1 answer

In house bootloader ARM cortex M4 NRF52 chip

I am working on making a bootloader for a side project. I have read in a hex file, verified the checksum and stored everything in flash with a corresponding address with an offset of 0x4000. I am having issues jumping to my application. I have…
-1
votes
2 answers

Dynamically allocated array with static const members

How can one define and use a dynamically allocated array, whose members are static const? Background: I need to do the above, to store the several transaction that are requested at runtime. The snipet bellow exemplifies how to define a transaction.…
AmiguelS
  • 805
  • 2
  • 10
  • 28
-1
votes
1 answer

Malloc a struct at a specific point in memory?

I'm trying to create a struct at a specific location in memory: struct inRAM *ptr = (struct inRAM*)malloc(sizeof(struct inRAM)); But this line only allocates the memory at a place in RAM that is not retainable. I need to malloc beginning at a…
Kevin Kelly
  • 164
  • 1
  • 12
-3
votes
2 answers

gcc can compile with object file compiled from keil-arm compiler?

project chip : nordic nrf51822 256KB NRF51 SDK version : 6.1 I'm converting my project to OSX GNU from windows keil because of license problem. There is some .o files made by keil-arm complier in my previous project. and I don't have those c…
1 2 3 4 5
6