I want to use the SWD protocol to write my data to the SRAM of the S32K3 chip and debug it. After writing the data to the SRAM using the SWD protocol, I found that the data in the SRAM could not be read.

Through the manual, I have also attempted to initialize SRAM using dma. However, after I wrote to these registers using SWD, I was unable to read the DMA_TCD_CH0_CSR_DONE_MASK is set. How can I complete the operation of writing data to SRAM using SWD and it can be used for debugging