NRF54L15: DFU to internal flash fails without JLink

Hello! Using NCS 3.2.1 I am implementing DFU over SPI (the NRF54L15 is SPI slave) using the "DFU Target" library. It works very well, as long as I am connected with JLink. As soon as I disconnect JLink it fails. Since the debugger is not there it's hard to debug. Any ideas what I could do to fix it?

Parents
  • Hello,

    Maybe the SPI master is asserting the CS signal too late? In debug interface mode the HF clock is kept running in sleep which reduces the wakeup time of the SPIS peripheral as it doesn't have to wait for the clock to become ready. This effectively shortens the required time between when the CS signal is asserted and transfer start.

    Best regards,

    Vidar

      

Reply
  • Hello,

    Maybe the SPI master is asserting the CS signal too late? In debug interface mode the HF clock is kept running in sleep which reduces the wakeup time of the SPIS peripheral as it doesn't have to wait for the clock to become ready. This effectively shortens the required time between when the CS signal is asserted and transfer start.

    Best regards,

    Vidar

      

Children
Related