This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

bootloader from SDK 6.1, S110 V7.0.0 and GCC

Hello all, i am trying to make working the ble bootloader from SDK 6.1 with SoftDevice 7.0.0 and gcc setup (pure Eclipse gcc project frome here devzone.nordicsemi.com/.../ with gcc 4.8 from here launchpad.net/.../4.8-2014-q2-update) but i run into some memory issue;

Anytime i try to upload an application from latest nRF-Tollbox (Android), immediately after pressing the UPLOAD button the bootloader asserts a NRF_ERROR_NO_MEM error into dfu_dual_bank.c file, when calling the app_timer_stop function inside the dfu_timer_restart function;

I am using all the possible flags in order to reduce firmware size and ram footprint (-Os -lc -lnosys --specs=nano.specs -flto -ffunction-sections -fdata-sections -fno-builtin) but nothing seems to work;

Attached are the gcc scripts used[gcc_nrf51_s110_xxaa.ld] [gcc_nrf51_common.ld] [gcc_startup_nrf51.S]

I am using SDK 6.1 and SD S110 7.0.0 because my nRF51822 ic is hw revision 2 and the compatibility matrix document specifies SDK 6.1 and SD7.0.0 as the latest available;

Any idea? Or could be possible to use a newer SDK only for the bootloader project remaining with SD 7.0.0?

(/attachment/6c7cf8af8da878b5de1759613e95f933)(/attachment/bee9ac43da93fd17b190f3de11470e44)(/attachment/12db1f39d6b56c29a477c307e6fdaebf)

  • Thanks Nguyen, it is good to know that previous revision still works well;

    My only complaint about migrating to SDK8 is the need to use also SoftDevice 8, cause in my projects i use a nRF51822 module which is already SIG qualified with SD 7, and flashing new SD8 probably means loosing the qualification

Related