LockedAccessing PMP using PIC32 DMA Controller

Author
yeohwk
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2009/07/06 00:18:05
  • Location: 0
  • Status: offline
2009/07/06 00:29:16 (permalink)
0

Accessing PMP using PIC32 DMA Controller

I am currently using a PIC32 connected to a Dual-Ported Ram through a PMP. The PMP is configured as a master. The dual-ported ram served as a high speed data mail-box connected to a host controller. I am planning to use the PIC32 DMA to access (block read and block write) the dual-ported ram. However, I am not able to find any sample c codes pertaining to the PMP access using DMA. The DMA configuration procedures are also quite confusing. I may not entirely understand the DMA controller of the PIC32. Can any one help me ?

I am desperate for a solution.


rgds

WK
#1

3 Replies Related Threads

    Stampede
    Super Member
    • Total Posts : 372
    • Reward points : 0
    • Joined: 2006/10/04 05:59:28
    • Location: Germany
    • Status: online
    RE: Accessing PMP using PIC32 DMA Controller 2009/07/06 00:54:31 (permalink)
    0
    Hi,

    there is some sample code: http://ww1.microchip.com/downloads/en/DeviceDoc/dma_plib_examples.zip
    But please read the PIC32 errata, it states that the DMA does not work with the PMP in read mode properly !

    regards
    #2
    yeohwk
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2009/07/06 00:18:05
    • Location: 0
    • Status: offline
    RE: Accessing PMP using PIC32 DMA Controller 2009/07/06 01:00:43 (permalink)
    0
    I was aware of the sample source code, and the errata is for certain early batches of the PIC32. I was wondering if Microchip did fix the problem pertaining to the PMP in write mode for DMA access. The source codes does not contain any examples for the PMP write for DMA access.

    WK
    #3
    yeohwk
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2009/07/06 00:18:05
    • Location: 0
    • Status: offline
    RE: Accessing PMP using PIC32 DMA Controller 2009/07/06 01:20:05 (permalink)
    0
    My apologies, I did not noticed the PMP code in the example. Analysing the codes now. Thanks in advanced.

    WK
    #4
    Jump to:
    © 2017 APG vNext Commercial Version 4.5