USB Bootloader with external flash QSPI


I'm trying to get my application to load, one part in the internal flash and another part in external flash by QSPI. Putting in the definition of the function  <BSP_PLACE_IN_SECTION (". Qspi_flash_code")>, I got it and it works correctly in debug mode. But I need to generate the file to be able to update it on my board through a USB bootloader using a pendrive.

I have the problem when generating the file to convert from SREC to BCH. The Renesas Synergy Flashloader application returns the error: ('Indexing Error, Slot:', 1609564160). Can someone help me to do this?.

My script is:

FLASH (rx) : ORIGIN = 0x00100000, LENGTH = 0x0300000 /* 3M */
RAM (rwx) : ORIGIN = 0x1FFE0000, LENGTH = 0x00A0000 /* 640K */
DATA_FLASH (rx) : ORIGIN = 0x40100000, LENGTH = 0x0010000 /* 64K */
QSPI_FLASH (rx) : ORIGIN = 0x60000000, LENGTH = 0x4000000 /* 64M, Change in QSPI section below also */
SDRAM (rwx) : ORIGIN = 0x90000000, LENGTH = 0x2000000 /* 32M */


Loading the entire application in the internal flash, works correctly. Once the .BCH file is generated, I update it with a pendrive through the USB port.




Parents Reply Children
No Data