Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Self Modifying Code on the ARM1176JZF-S (raspberry pi)
Locked
Locked
Replies
4 replies
Subscribers
119 subscribers
Views
3437 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
Self Modifying Code on the ARM1176JZF-S (raspberry pi)
Sally Chak
over 12 years ago
Note: This was originally posted on 6th April 2013 at
http://forums.arm.com
Hello
I'm trying to write some Self modifying code (SMC) to run on my raspberry pi and I've been reading a few things and am slightly confused.
[size=2]From what I understand, ARMv6-M is thumb2 only (i.e. always in thumb mode) So if I want to write SMC, it has to be in thumb 2? (despite the 1176JZF-S? being able to run both arm and thumb?)
[/size]
[size=2]Should I use MCRR (and stay in the assembly) or linux's mmap/mprotect/__cache__clear (in the OS) for cache coherence?
Currently, I just keep getting segmentation faults on my code
Best
Sally[/size]
0
Quote