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

nRF5 SDK 12.3.0 Eddystone on nRF51822 beacon

Hi,

I've seen that SDK 12.3.0 contains a new version of the application sample using the Eddystone protocol for BLE. I would like to know if this version is compatible with nRF51 chips as it was said in GitHub:

Experimental support for nRF51 is found in nRF5 SDK Version 12.2.0 A future 12.x release will add production quality support for nRF51 for Eddystone.

I tried to program a beacon with nRF51822 chip using the SDK example (nRF5_SDK_12.3.0_d7731ad\examples\ble_peripheral\ble_app_eddystone), but I did not succeed.

GCC (after make flash_softdevice)

nRF5_SDK_12.3.0_d7731ad\examples\ble_peripheral\ble_app_eddystone\pca10028\s130\armgcc>make flash
Flashing: _build/nrf51822_xxab.hex
nrfjprog --program _build/nrf51822_xxab.hex -f nrf51 --sectorerase
Parsing hex file.
ERROR: The file specified is not a valid hex file, has data outside valid areas
ERROR: or does not have data in valid areas.
Makefile:250: recipe for target 'flash' failed
make: *** [flash] Error 52

Keil + nRFgo Studio (after Program SoftDevice)

image description

Could you guys help me identify the cause of the errors above?

Thanks in advance!

Parents
  • On Keil , you need to reconfigure the memory setting after you select the new chip configuration. Please follow the original configuration of the project. And update the size to match with your flash size.

    Note that the nRF51822 only has 128kB of flash, the softdevice S130 already occupies 108 kB leaving 20 kB for the application. Could you check how big your application is ?

Reply
  • On Keil , you need to reconfigure the memory setting after you select the new chip configuration. Please follow the original configuration of the project. And update the size to match with your flash size.

    Note that the nRF51822 only has 128kB of flash, the softdevice S130 already occupies 108 kB leaving 20 kB for the application. Could you check how big your application is ?

Children
No Data
Related