[SOLVED] ERROR: Failed to auto-detect SPI Flash.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] ERROR: Failed to auto-detect SPI Flash.

    I'm trying to connect j-flash spi with my spi nor flash. I'm getting the following error.

    Connecting to SPI Flash...
    - VTarget = 3.277V
    - Read SPI Flash Id = 0xFF FF FF
    - ERROR: Failed to auto-detect SPI Flash.
    - Failed to auto-detect SPI Flash.

    I used logic analyzer to see what's going on and looks like the j flash is sending 0x9f command but the spi is not responding to it.
  • So what exactly is the question?
    If the SPI flash is not responding, there is either a wiring issue or other setup issue…

    But your screenshot does not really show a complete sequence.
    There should be 8-bit = 0x9F on MOSI, followed by 8-bit 0xFF/0x00.
    When there is the FF on MOSI, the MISO should indicate the ID of the flash.
    However, in your screenshot I only see the 8-bit 0x9F transmission and that one is not expected to show anything useful on MISO…
    There is no activity on the clock line after these 8-bit, so I cannot really say if the flash is unresponsive or not…


    BR
    Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.