Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).
|
hi all, i have one problem regarding DMA. my aim is to transfer the unpacked data from internal memory to external memory in packed format with double indexing (DST AMODE in CCR register is set to 1) i.e source=> 0x0011 0x0076 0x0065 0x0075 dest => 0x1176 0x6575 1>in first case i am using burst disabled at both ends destination pack enabled destination EMIF source unpack source DARAM data type is 8-bit. source =>double indexed destination =>auto post increment mode element index is 2 here data transfer occurs properly. 2>now i just change the indexing configuration for source and destination and the source and destination ports destination =>DARAM source =>EMIF source =>auto post increment mode destination =>double indexed but here data is not packed in this case here output is dest-> 0x11yy 0x76 0x65yy 0x75yy (yy is old data in destination at that position) what can be the reason for this? sachin |
|
|
|
Hallo sachinpandhare, we are having a similar problem except in the opposite direction! We are transferring data from an external memory address into internal SARAM. Our opinion now is after talking to EPIC and not getting very far that the 5509 has a bug in the DMA / EMIF which prevents packing from working correctly. Cheers, Martin. On Tuesday 16 April 2002 10:08, sachinpandhare wrote: > hi all, > i have one problem regarding DMA. > my aim is to transfer the unpacked data from internal memory to > external memory in packed format with double indexing (DST AMODE in > CCR register is set to 1) > i.e > source=> 0x0011 0x0076 0x0065 0x0075 > dest => 0x1176 0x6575 > 1>in first case i am using > > burst disabled at both ends > destination pack enabled > destination EMIF > source unpack > source DARAM > data type is 8-bit. > > source =>double indexed > destination =>auto post increment mode > > element index is 2 > > here data transfer occurs properly. > > 2>now i just change the indexing configuration for source and > destination and the source and destination ports > destination =>DARAM > source =>EMIF > source =>auto post increment mode > destination =>double indexed > > but here data is not packed in this case > here output is > dest-> 0x11yy 0x76 0x65yy 0x75yy > (yy is old data in destination at that position) > what can be the reason for this? > > sachin > > > _____________________________________ |