Hello everyone,
I am trying to use the ble_app_hrs_rscs_relay example from SDK V11 for s130 (2.0.1).
It compiles and works well when I use an pc10028 evaluation board. In this case I use the IRAM and IROM default values:
Now I want to run the code on my own board, which uses nRF51822 (16kB RAM) and 32MHz external clock. However, using Keil, I cannot compile the code when I change the IROM and IRAM settings to fulfill 16kB RAM specifications (as explained in devzone.nordicsemi.com/.../):
I get the following error:
linking...
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching fds.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching ble_advertising.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching pstorage.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching ble_hrs_c.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching ble_rscs_c.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching fstorage.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching security_dispatcher.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching nrf_drv_gpiote.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching peer_id.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching ble_conn_state.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching pstorage.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching bsp.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching bsp.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching bsp.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching ble_conn_params.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching peer_data_storage.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching peer_manager.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching security_manager.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching app_button.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching app_timer.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching ble_advertising.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching ble_conn_params.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching nrf_drv_uart.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching softdevice_handler.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching bsp.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching fds.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching ble_conn_params.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching app_button.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching ble_db_discovery.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching fds.o(fs_data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching bsp.o(.bss).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching gatts_cache_manager.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching bsp_btn_ble.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching ble_hrs_c.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching ble_rscs_c.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching gatt_cache_manager.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching app_uart.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching nrf_log.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching gattc_cache_manager.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching retarget.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching system_nrf51.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching fstorage.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6406E: No space in execution regions with .ANY selector matching peer_database.o(.data).
.\_build\nrf51422_xxaa_s130.axf: Error: L6407E: Sections of aggregate size 0x820 bytes could not fit into .ANY selector(s).
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 0 warning and 45 error messages.
".\_build\nrf51422_xxaa_s130.axf" - 45 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:42
Does this mean that there is not RAM enough to use with this code? Therefore, it would be impossible for this chip to run this code, right?
If I try to run the code without changing the IRAM and IROM parameters, the code will compile and load successfully, but it won't run (I already changed the necessary for the external 32MHz clock).
Thank you very much