I currently face with following behaviour of Vybrid VF6xx
On our HW target the 4SPI1 interface is used for system boot.
After initializing 4SPI1 interface and doing flash read by using AHB cmd read, the µP Vybrid VF6xx doesn´t successfully restart after a SW reset, a power cycle is required.
The sequence is as follows: ( a simply blinking programm with dummy flash access)
qspi_vInit(); //initialize 4SPI1 interface as vybrid sample code (4SPI 0 interface)
qspi_vReadFlashData(); //read data from flash via AHB: RAMbuffer = *ptrFlash (e.g. 0x5000 0000 for 4SPI1 flash)
doSWReset(); //SRC->SCR |= (SRC_SCR_SW_RST_MASK | SRC_SCR_CA5_WDGRST_MASK(0xA) | SRC_SCR_CM4_WDGRST_MASK(0xA));
As workaround a dummy read of flash status byte by using IP cmd read is required, afterward the Vybrid successfully restarts.
I think the same behaviour can be also reproduced at 4SPI0 interface.
I would like to know what is the reason for the failed SW reset (without the above mentioned workaround) ?
Is there any other option for a SW reset without the workaround mentioned above ?
Thank you in advance for any clarification.