Hi,
When initiating a DMA transfer on the L2cache configured as an 512kb SRAM nothing happens.
Note that DMA transfers are working perfectly on the DDR and it is possible to write on the SRAM.
What is not working is DMA transfers (SRAM to DDR, DDR to SRAM and SRAM to SRAM).
I have DMAx_SRn[TE] = 1 (Transfer error : error condition during the DMA transfer)
I setted DMAx_MRn[EIE] but I'm not having any interrupt.
So if someone can help, it would be very kind.
I'll join my tcl config file.
Original Attachment has been moved to: P2020DS_init_core.tcl.zip
Solved! Go to Solution.
I/O devices like DMA can access SRAM regions by marking transactions as snoopable (global).
Please, check if you set proper source/destination attribute in DMA control registers. It should be "Write, snoop local processor" or "Read, snoop local processor" for the SRAM side.
Hi, thanks helping.
@Scott : I have no ethernet or PCI configured to make these kind of tests.
@LPP : In fact my source/destination attributes are "Write/read without snooping local processor", i'll try with snoop local processor and report on how well it went.
I/O devices like DMA can access SRAM regions by marking transactions as snoopable (global).
Please, check if you set proper source/destination attribute in DMA control registers. It should be "Write, snoop local processor" or "Read, snoop local processor" for the SRAM side.
Many thanks !
I didn't imagine this could be the problem.
Do other types of DMA accesses to SRAM work (e.g. ethernet or PCI)?