Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Using Watchpoints within ARM assembler code
Locked
Locked
Replies
5 replies
Subscribers
119 subscribers
Views
3386 views
Users
0 members are here
Options
Share
More actions
Related
How was your experience today?
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
Using Watchpoints within ARM assembler code
aricker78 aricker78
over 12 years ago
Note: This was originally posted on 2nd October 2009 at
http://forums.arm.com
Dear all!
We are working with an ARM926EJS core (netX500 from Hilscher). For a safety application, I need to guarantee, that only safety code (written according to special coding guidelines and 100% tested) can set special GPIOs.
To separate the "standard" GPIOs from the "safety" GPIOs, I cannot use the MMU, as the MMU tables can only be programmed in steps of 1kB.
Therefore, I got the idea to use the debug unit. When standard code is run, there would be a watchpoint which will react, if standard code wants to set safety GPIOs.
Is it possible to enable a watchpoint out of ARM assembler code (by programming CP14 in a special way)?
If yes: What happens, if the watchpoint is getting active? Would be nice, if I would get an data abort or something like this, but I think, the ARM processor will try to signalize something to the debugger (which would not be there in my case)...
It would be nice, if somebody of you could share some ideas or information about this with me!
Thanks in advance,
Andreas Rickert
0
Quote