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

Flash Download Error

I have combined to programs Ble_uart and Spi_Master into one. However, after uploading the file the GPIOs do not work (No clock is generated). Meanwhile when I erase the softdevice from the chip I could upload the Spi_Master program and see it working. I have already looked at this and found there might be problem with the softdevice interfeering with my Ble_uart + Spi_Master program. What would me my best choice?

Thank You

Parents
  • I got a habit of asking if you have checked IRAM and IROM settings correctly. for S110 they should be like this.

    Softdevice should not interfere with with your SPI code, unless

    1. your SPI code is using protected peripherals like (RTC0, TIMER0, RNG etc).
    2. It could be either stack overflow of your application growing into softdevice stack memory
    3. wrong IRAM and IROM settings.

    Can you exclude these above reasons and see if the problem still exists.

Reply
  • I got a habit of asking if you have checked IRAM and IROM settings correctly. for S110 they should be like this.

    Softdevice should not interfere with with your SPI code, unless

    1. your SPI code is using protected peripherals like (RTC0, TIMER0, RNG etc).
    2. It could be either stack overflow of your application growing into softdevice stack memory
    3. wrong IRAM and IROM settings.

    Can you exclude these above reasons and see if the problem still exists.

Children
Related