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?
Hi There,Thank you for posting your question online.Please refer on the following documents: 1) AN-B-0452) Flash AdaptersOn AN-B-045 you will find all the information you need to be able to work with your Flash:Kind Regards,OV_Renesas
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: 184.108.40.20660 and SDK 220.127.116.111.
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?
Hi There,Thank you for the reply.
mcunator said:I'm using IDE Version: 18.104.22.16860 and SDK 22.214.171.1241.
For the DA1468x series you will have to use the SmartSnippets Studio v1.6.3.
mcunator said: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:16Yes, 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: ../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.
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
how to add qspi loader to my code?
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.