I`m working with SSP 1.3.2, e2studio 6.1.0 and SK-S7G2.
The problem is that I need to replace the current QSPI memory with another model with more capacity.
I have tried to modify the bsp_qspi.c and bsp_qspi.h files, but when I build the project, these files are overwritten.
I have read in other threads of the forum that the solution is to configure the BSP as Custom Board. I have tried to do it, but then, when building the project many errors are generated since some constants are undefined. I have also read that it can be done using the function R_BSP_WarmStart, but I do not understand how to do it.
I think that replacing a memory or any other device is something that is usual, but I have not found detailed information on how to do it keeping the bsp of SK-S7G2.
Can anybody help me?
In reply to adboc:
In reply to feraro:
I'm looking at SSP 1.3.2 SK-S7G2 BSP and the QSPI driver and cannot see reading from 0x64000000. To read device characteristics, it issues QSPI_COMMAND_READ_ID (0x9F) command in bsp_qspi.c - your device may use a different one, please see chip's datasheet.
The QSPI driver uses the following BSP functions, these ones should be modified to work properly with your chip:
The changes you've applied to linker script seems to be sufficient.