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

NRF_ERROR_SVC_HANDLER_MISSING on SPI master open

I get NRF_ERROR_SVC_HANDLER_MISSING error in spi_open function.

uint32_t err = sd_nvic_ClearPendingIRQ(p_spi_instance->irq_type);
APP_ERROR_CHECK(err);

I'm using dfu_dual_bank_ble_s110_pca10028 project for my bootloader project. I understand that SD must be initialized before SPI initialization, but I don't need SD in this moment since I will flash the SD with my functions and not MBR. This bootloader uses SPI external flash to read data which must be flashed, since SD is one of the thing I must update, it should not be initiated.

Any way to initialize SPI in this example without enabling the SD?

Thank you!

Br, Mladen

Parents Reply
  • But that is in softdevice_handler.c and it's a part of SDK. Not even sure where to put align since it's all called from SDK functions...

    Also, sometimes it passes that check but it breaks on sd_softdevice_enable(clock_source, softdevice_assertion_handler);

    I have no clue what's going on. I should use SPI without SD(so I can reflash SD without MBR), then enable SD and use it to jump to app. When I enable SPI and use it, jump does not work. When SPI is not enabled, jump works.

Children
No Data
Related