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
  • Thanks again, Bui.

    I've changed the configs to match the initial project configuration:

    IROM: START= 0x1B000, SIZE = 0x20000 IRAM: START = 0x20003440, SIZE = 0x4BC0

    Now when I try to program the application the error says "The flash is not erased."

    The Keil build outputs the following:

    Program Size: Code=32844 RO-data=2152 RW-data=412 ZI-data=5996

    That means that I need 32kB of flash free for the application? If true, what can I do to reduce the "Program Size"?

Reply
  • Thanks again, Bui.

    I've changed the configs to match the initial project configuration:

    IROM: START= 0x1B000, SIZE = 0x20000 IRAM: START = 0x20003440, SIZE = 0x4BC0

    Now when I try to program the application the error says "The flash is not erased."

    The Keil build outputs the following:

    Program Size: Code=32844 RO-data=2152 RW-data=412 ZI-data=5996

    That means that I need 32kB of flash free for the application? If true, what can I do to reduce the "Program Size"?

Children
No Data
Related