Login

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.

ARM Community: ARM 968 write drain buffer operation one time setting? - ARM Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

ARM 968 write drain buffer operation one time setting? Rate Topic: -----

#1 User is offline   Parav 

  • Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 30-August 10

Posted 30 August 2010 - 05:32 AM

I am referring to ARM 968 TRM section of draining write buffer.

TCM write buffer entry is 2 entry deep.
When we want to drain the TCM write buffer to connected TCM memory, are we supposed to drain in explicitly each time by executing MCR p15, 0, <Rd>, c7, c10, 4 to drain write buffers?

Or its one time setting that we can do during CPU initialization time?

Regards,
Parav Pandit
0

#2 User is offline   ttfn 

  • Super Contributor
  • PipPipPipPip
  • Group: Members
  • Posts: 576
  • Joined: 29-September 06

Posted 31 August 2010 - 07:09 AM

You would need to re-execute the instruction every time you wished to force the write-buffers to drain. However, you should not need to do this often - in fact very rarely in my experience.
0

#3 User is offline   Parav 

  • Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 30-August 10

Posted 31 August 2010 - 10:02 AM

View Postttfn, on Aug 31 2010, 07:09 AM, said:

You would need to re-execute the instruction every time you wished to force the write-buffers to drain. However, you should not need to do this often - in fact very rarely in my experience.


Thanks for the information.
This is typically to access peripheral devices mapped via the TCM memory. Each time we access them we need to ensure that it reaches the device (before software asked for the completion of same).

How do we know whether its one time setting or required for each operation?
Like ITCM and DTCM enabling is one time setting.

How about DTCM/ITCM ordering enable/disable option? Is it one time operation during initialization stage or each time we need do it?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic