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 assert error using gcc in SD v7

Hi,

I'm trying to get the bootloader from SDK v6 running with SoftDevice v7. I managed to compile it under Eclipse (gcc). I've just removed buttons and LEDs from the code. The rest is original.

When running I get assert error from soft device (inside of sd_ble_enable)

  • line_num = 190
  • file_name = "src\host_core.c"

BTW Using original bootloader source code (with Keil) the bootloader hangs in sd_ble_enable.

Anyone can help?

  • What project are you using? I don't see any host_core.c it SDK.

  • I assume host_core.c is part of the SoftDevice, not SDK.

  • Are you sure you are using lastest S110 SDv7 and not SDv7 alpha? And what board do you use? I just tried nRF51 SDK_v6.0.0.43681\Nordic\nrf51822\Board\nrf6310\device_firmware_updates\bootloader project with removed LED_2 and LED7 and changed button 7 to button 0 on my PCA10001 board and it works fine.

  • I'm using latest S110 SDv7 and the same project you wrote. The only difference is I have custom board. But normal application works fine with SDv7. And the bootloader worked with previous SDv6 without problems.

  • Maybe it's not 190 line number of main.c but src\host_core.c file? And this assert not from sd_ble_enable()? Upload your project, I'll try it on my board, maybe you add some more changes.

1 2