Hello,
I'm using a custom board with S7G2 microcontroller and I would like to load my application to QSPI instead of loading to the flash memory.
I'm trying to do this by changing the linker script, but I have some questions:
1. Do I have to add a qspi driver to the HAL or to a thread?
2. Here's my QSPI pin configuration:
3. I see that the S7G2.icf file states: do not initialize { section .qspi_flash }; but I make a call to bsp_qspi_init() from bsp_init(). Does this initialize the QSPI?
4. if I change the place at start of FLASH_region and place in FLASH_region attributes to place at start of FLASH_region and place in FLASH_region, will I manage to do what I'm looking for?
I've tried this and it looks like the application is being loaded to the correct address range (the one defined for the QSPI in the linker script) but it doesn't manage to boot correctly. How can I change the bootloader to specify that the start of the application is in a different address?
5. Do I have to use also the BSP_PLACE_IN_SECTION macro?
Regards,
isaenz.