You copied the Doc URL to your clipboard.

How do I handle the fast memory access issue?

Information in this article applies to:

  • Arm Development Studio
  • DS-5 Development Studio

Problem/Question

How do I handle the fast memory access issue?

Scenario

The DS-5 or ARMDS tool reports the following warning messages in the Command Window:

Target Message: WARNING: Fast memory access was too fast for the core - switching to slower mode. Consider lowering the debug system clock speed.

Answer

Generally, the issue is caused when the target platform clock frequency is too slow. For example, you might get this issue when you use the FPGA platform as the target.

To avoid this issue on a platform with a low frequency, use one of the following methods:

  • Method 1: Slow down the JTAG frequency

  • Method 2: Change the configuration database file

  • Method 3: Set the configuration option with a command

Method 1: Slow down the JTAG frequency

You can use a text editor to open the *.sdf configuration database file, as shown in the following figure:

images/handle_fast_memory_access1.png

You can set the speed option to 1000000, as shown in the following figure:

images/handle_fast_memory_access2.png


Method 2: Change the configuration database file

Follow these steps to change the configuration file:

  1. Open the *.sdf configuration database file.

  2. Disable JTAG timeouts by setting the JTAG_TIMEOUTS_ENABLED option to false, as shown in the following figure:

    images/handle_fast_memory_access3.png

  3. Disable fast memory access mode by setting the ENABLE_FAST_MEMORY_ACCESS option to false, as shown in the following figure:

    images/handle_fast_memory_access4.png

  4. Rebuild the *.sdf file.

Method 3: Set the configuration option with a command

If you do not want to modify and rebuild the configuration database file, you can use the following command to set the configuration option in the Command Window View:

set debug-agent ENABLE_FAST_MEMORY_ACCESS 0

Workaround

N/A

Example

N/A

Related Information

N/A

Was this page helpful? Yes No