ARM Technical Support Knowledge Articles

Is it possible to do a read-modify-write of a variable using the DAP Macro Language code supported by CoreSight Integration Kits, e.g. using DAP_READ_AP / DAP_WRITE_AP?

Applies to: Debug and Trace


No. It is not possible because the DAP Macro Language only supports writing hard-coded values. All you can really do with the read values (e.g. using GET <var>) is capture them in logs, test them, or print them.

Rate this article

Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential