Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Self Modifying Code on the ARM1176JZF-S (raspberry pi)
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
118 subscribers
Views
3659 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
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]
Parents
Sally Chak
over 12 years ago
Note: This was originally posted on 8th April 2013 at
http://forums.arm.com
Got it. Thanks!
Cancel
Vote up
0
Vote down
Cancel
Reply
Sally Chak
over 12 years ago
Note: This was originally posted on 8th April 2013 at
http://forums.arm.com
Got it. Thanks!
Cancel
Vote up
0
Vote down
Cancel
Children
No data