This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
  • Note: This was originally posted on 27th July 2011 at http://forums.arm.com

    Anyone knows how to disable cache on ARM1176ZJF-S?
    I want to try to disable Cache to check it TCM really works. I read related topics in info center.It seems that I need to disable MMU first? :huh: And I find some discussions on the web, showing:

        MMU
        /        \
    Cache   TCM

    Is that right? Or it may be this since info center says disabling MMU does NOT influence TCM:

      MMU
         |    
    Cache   TCM

    Please help me out.
  • Note: This was originally posted on 23rd July 2011 at http://forums.arm.com

    up
  • Note: This was originally posted on 1st August 2011 at http://forums.arm.com

    From the Ref, I find out that's L1 DMA for TCM blocks transfering. Right  now, I use the open("/dev/mem") + mmap to directly read/write the  virtual address returned by mmap, like var = tcm_addr[i] or tcm_addr[i] =  var in user space. Since a dedicated L1 DMA is provided, does it mean  the direct access to TCM like I did above is wrong?? Do I need to transfer blocks from main memory to TCM each time I want to put data to it?