AnsweredAssumed Answered

Mixing dm and pm segments

Question asked by rkn on Jul 24, 2014
Latest reply on Jul 29, 2014 by MaheshN

Hi,

 

I'm wondering about the following:

Lets consider the following memory segment definition in the LDF for my 369:

//                           Block 1   0x000B0000  to  0x000B3FFF  Normal word (48) Space (0.75 Mbit RAM)

//                           Block 1   0x000B8000  to  0x000BDFFF  Normal word (32) Space (0.75 Mbit RAM)

  seg_dmda        { TYPE(DM RAM) START(0x000b8000) END(0x000bdfff) WIDTH(32) }

 

//                           Block 2   0x000C0000  to  0x000C1554  Normal word (48) Space (0.25 Mb RAM)

//                           Block 2   0x000C0000  to  0x000C1FFF  Normal word (32) Space (0.25 Mb RAM)

  seg_pmda        { TYPE(PM RAM) START(0x000c0000) END(0x000c0fff) WIDTH(32) } 

  seg_dmda_blk2   { TYPE(DM RAM) START(0x000c1000) END(0x000c1fff) WIDTH(32) }

 

Somewhere in the manuals I read to get the optimal performance for parallel memory access the dmda segment should be in another memory block then the pmda segment (and the pmco again in another segment). Ok, that I did. But then I added seg_dmda_blk2 in the same memory block as pmda.

Ok, I cannot access dmda_blk2 and pmda in parallel within one cycle. That is clear. But can I still access dmda and pmda in parallel within one cycle although another memory segment accessed via dm bus is in the same memory block but not accessed at that moment?

Or do I have to move dmda_blk2 to another memory block and keep Block 2 reserved for pm-Bus accesses only?

 

Raphael

Outcomes