RZA1L QSPI flash programming problem

Hi, 

I have a problem about programming QSPI flash with either e2 studio or .bat file command system. I use Stream It kit.

it gives result succesfull download to QSPI flash but application not running.

also I couldn't see any drivers and sample example for SPI multi IO bu controller. 

any idea about these?

 

thanks.

Parents Reply
  • This looks like a Stream-IT V1.5 board with Spansion QSPI flash. Please check.

    If you have downloaded the latest support for the Stream-IT board, it may be configured for the newer boards with two Macronix devices fitted. In this case you will need to ensure the QSPI boot Loader has been built with the "USE_SPANSION" define located in the spibsc_userdef.h in the renesas\configuration folder.

    If the board has a Macronix QSPI device fitted, then please select USE_MACRONIX, but you will need to also select Single device "SPIBSC_MODE (DDR_SINGLE_4B)" as the photograph shows only one SPI device fitted.

    Please also check the project settings for the device selected, and ensure it does NOT have the "R7S721031_DualSPI" selected. Choose the setting for the device only "R7S721031".

    I could not tell if you were able to program your board at all, if you can, program the updated boot loader as above.

    Please let us know how you get on.
Children
  • right, SPANSION chip mounted on board, I can not program the QSPI chip ; so if I edited the correct settings , how will I download to the flash ?. chip on board is R7S7210121VC .

  • OK, so there are two options.
    1: the QSPI device is booting, but on connection is configuring the QSPI to a state where it can no longer be used. this can happen if the incorrect boot loader is used. This will happen very quickly at power on. The only solution is to erase the device.
    2: The board is broken.

    So assuming 1:

    Please find the Segger installation folder, possibly here:
    C:\Program Files (x86)\SEGGER\JLink_(version)

    Please run JFlash.exe
    Choose File / New Project
    Select the correct device in the dialog presented (use the device number on your chip).
    Change interface to JTAG

    Then select Target / Manual Programming / Erase Chip

    Wait for the process to complete.

    You should then be able to connect to the device and program normally again.

    Please let me know if this works..
  •  

    I see that qspi communication is ok on the scope. But erasing the device is not succesfull. I doubt that qspi spansion chip may be in a protected state that I can not erase the device, So I can not erase or program the device. J link flasher says erasing ok but when I look in the memory browser e2 studio looks erase (memory area is different from 0xff) unsuccesfull.