S32K3 SRAM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K3 SRAM

Jump to solution
2,629 Views
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 Kudos
Reply
1 Solution
2,552 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @1123HENRY,

Have a look at the T32 .cmm script.

It does initialize the SRAM via DMA.

 

Regards,

Daniel

View solution in original post

0 Kudos
Reply
4 Replies
2,592 Views
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 Kudos
Reply
2,597 Views
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 Kudos
Reply
2,553 Views
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 Kudos
Reply
2,513 Views
1123HENRY
Contributor I
thanks
0 Kudos
Reply