S32K3 SRAM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32K3 SRAM

跳至解决方案
2,930 次查看
1123HENRY
Contributor I

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.

1123HENRY_0-1746665281870.png

 

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

0 项奖励
回复
1 解答
2,853 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @1123HENRY,

Have a look at the T32 .cmm script.

It does initialize the SRAM via DMA.

 

Regards,

Daniel

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,893 次查看
1123HENRY
Contributor I

I have also used JLINK to program chips with other ARM cores. I found that the S32K3 chip requires a lot of initialization. For example, the initialization of the debug interface and the initialization of ConfigTargetSettings().

1123HENRY_0-1746689258168.png

 

Are there any documentation for various initializations?

S32K3 

0 项奖励
回复
2,898 次查看
1123HENRY
Contributor I

When I was using JLINK, I found there was such an initialization sequence

1123HENRY_0-1746688334116.png

I obtained this timing sequence using a tool, but I don't quite understand it. Is there any detailed documentation to introduce this initialization? I didn't find the description of this sequence in JLINK in the AN13388 document.

 

0 项奖励
回复
2,854 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @1123HENRY,

Have a look at the T32 .cmm script.

It does initialize the SRAM via DMA.

 

Regards,

Daniel

0 项奖励
回复
2,814 次查看
1123HENRY
Contributor I
thanks
0 项奖励
回复