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

How can I save memory for my application?

Hello Nordic,

My goal is to control a small device with NRF51422 without any other additional controller. So I’ve developed my own PCB and I’ve used the example ble_app_uart_s130_pca10028 with softdevice s130_nrf51_2.0.0-7alpha.
Additional I’ve implemented two PWM and one ADC- Converter and small functionality. I would like to simulate the UART functionality without any UART connection on NRF- chip.

Bonding doesn’t work so I’ve added the device_manager files to the project. And now there is a new problem:

The program doesn’t fit in the memory.

The SD130 ends at address 0x1b000 and the program size is 0x5000. When I change these parameters to 0x1a800 and 0x5800 linking is successful but logically it doesn’t work. Is there a possibility to get these 0x800 bytes for my application? The hex-file from the softdevice end at 0x1a6e4 and maybe I can use this memory? Do you have a smaller softdevice or another idea?

Thanks in Advance

Parents Reply Children
No Data
Related