DA14683 with GD25Q40CE flash

Hello!

I use my custom board with DA14683 based on DK schematic. One thing is diffrent i am using GD25Q40CEIGR and GD25LQ40CEIGR as XIP flash.

SmartSnippets toolbox and program_qspi_jtag_win script doesn't connect to this flash.

****Writing to address: 0x00000000 offset: 0x00000000 chunk size: 0x00002000
****Write to qspi failed. Abort.
****Verify writing to qspi address 0x0 failed. Retrying ...
****Write executable failed: unknown error (-300)

How i can solve this problem. Should I write a custom QSPI loader and save it to OPT?

Thanks

Parents Reply
  • Hi!

    I'm trying compile qspi_loader project on windows, and building process end with failure.

    Project archive doesn't containt this script.

    I'm using IDE Version: 2.0.20.4060 and SDK 1.0.14.1081.

    Now i'm using W25Q80DVUXIE flash and Smart Snippets Toolbox reading 0x00 always from flash, and i dont know why.

    Or Smart Snippets Toolbox can't reading flash content without qspi_loader fw in DA14683 OTP?

    Thanks!

Children
  • Hi There,

    Thank you for the reply.

    I'm using IDE Version: 2.0.20.4060 and SDK 1.0.14.1081.

    For the DA1468x series you will have to use the SmartSnippets Studio v1.6.3.

    Or Smart Snippets Toolbox can't reading flash content without qspi_loader fw in DA14683 OTP?

    According to AN-B-046, section 6. DA1468x connected to QSPI Flash, page:16

    Yes, you will need the qspi_loader in the OTP.


    Kind Regards,
    OV_Renesas


  • I changed IDE to 1.6.3 version and faces with same compilation error: make[1]: ../qspi_booter_generator.bat: Command not found 

    Let me remind you, i changed flash to W25Q80DVUXIE and it's absolutely identical to flash on dev_kit from software/hardware point of view (within 3.3V power supply).

    Why toolbox can't erase/program this flash over JTAG?


    So, do you mean that i can't load firmware to new flash on production line directly over JTAG without qspi_loader in OTP? I did understand, from reference manual, that bootloader in ROM contain basic QSPI flash loader for W25Q80.

    So, what steps i must do when i have absolutely new pcb with your MCU and new flash on board. I readed all document related to it, but  doesn't have full understanding. Please help, i can't program this flash 2 month.

    Thanks!

  • Hi There,

    Thank you for the reply.
    Could you provide the exact steps you have done in order to program your board via JTAG?
    I would suggest checking UM-B-047, section 8 to see how you can build and download your project for QSPI flash in the Smart Snippets Studio. 
    You will have to use the External Tools, and use the available scripts. Since you have a custom board you should use the program_qspi_config_win script before trying to download your FW into the board.
    Have you followed the instruction on Section 7 of Document AN-B-045?

    Kind Regards,
    OV_Renesas

  • I have an coustomised board with DA14683 MCU and W25Q40EW SPI FLASH. In that board flash is working and my application program is also working.
    Now I have a new board with same design containing DA14683 MCU and with NEW flash AT25SF041B. But here SPI is not flashing. I am using smartsnippet IDE.
    So SPI is flash is chnaged , so what are all the things i need change in my IDE or Code based on new spi flash.
    I gone through both spi flash data sheets , pin description and opcodes commands maximum all are same. Is there any flash driver i need to add based on New SPI flash.
    And also How MCU copy the program to the SPI FLASH?
    Does the MCU contain any default code to Copy code to the SPI Flash? Where can we get that code?
    When I flash in new board ie MCU with AT25SF041B SPI Flash, only MCU part name is coming in TERA TERM serial monitor, I put some printf statements too to print helloworld. But only MCU PART number is coming in serial monitor. Why that is? [ MCU with old flash is working]
    Please help me for this.