S32K3 SRAM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,634件の閲覧回数
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,557件の閲覧回数
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,597件の閲覧回数
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,602件の閲覧回数
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,558件の閲覧回数
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,518件の閲覧回数
1123HENRY
Contributor I
thanks
0 件の賞賛
返信