Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
ARM1176 boot code issue
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
119 subscribers
Views
3163 views
Users
0 members are here
Options
Share
More actions
Cancel
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
ARM1176 boot code issue
sathishpkumar sathishpkumar
over 12 years ago
Note: This was originally posted on 5th June 2009 at
http://forums.arm.com
Hi
I got an issue while writing the ARM1176 bootcode.
I used DCI 0xE1600071 instruction to switch from secure priviliged mode to monitor mode.
After ARM executed this instruction , tarmac.log file is not updated i.e., ARM is not switching to monitor mode but r14_mon and spsr_mon is updated
please let me know what could be the issue
Thanks,
Sathish
Parents
Peter Harris
over 12 years ago
Note: This was originally posted on 5th June 2009 at
http://forums.arm.com
Have you programmed up the monitor mode vector table, stack register, etc before executing the SMC?
If you haven't reprogrammed the monitor vector base address then you may just be jumping to faulting memory - which causes the core to fault and jump to the monitor mode vector address - i.e. infinite loop.
The Secure World can modify CPSR directly to switch in to monitor mode to perform this initial setup.
Cancel
Vote up
0
Vote down
Cancel
Reply
Peter Harris
over 12 years ago
Note: This was originally posted on 5th June 2009 at
http://forums.arm.com
Have you programmed up the monitor mode vector table, stack register, etc before executing the SMC?
If you haven't reprogrammed the monitor vector base address then you may just be jumping to faulting memory - which causes the core to fault and jump to the monitor mode vector address - i.e. infinite loop.
The Secure World can modify CPSR directly to switch in to monitor mode to perform this initial setup.
Cancel
Vote up
0
Vote down
Cancel
Children
No data