Hi
I would like to have a reset of whole radar system with ROM Eclipsing after for couple frame result send out to have a quick re-start w/o download image from flash. I use the following method to have a MSS CR4-only reset
ptrSOCDriverMCB->ptrRCMRegs->CR4CTL=0x00ad0000;
ptrSOCDriverMCB->ptrRCMRegs->CR4CTL=0x0000ad00;
ptrSOCDriverMCB->ptrRCMRegs->SOFTCORERST=0xad0f0f00;
ptrSOCDriverMCB->ptrRCMRegs->SOFTRST1=0xad;
The system can jump to the start of MSS main(), but it will have exception error when run into MmwDemo_edmaOpen in the MmwDemo_initTask().
I have some questions:
(1) What need to do before software reset to prevent such kind of error happen? I check the SBL code, after image load successful, it will close the QSPI, UART and copy gSblMCB.sblIntVecTable to _appVecs, do I need to do similar things before software reset?
(2) After the Software reset, I find similar all of the global variable clear to zero, is there any data memory area that can keep the data after the software reset? does the DSS data memory will be reset too?
thanks