Arm Community
Site
Search
User
Site
Search
User
Arm Developer
Documentation
Learning Paths
On-Demand Videos
Groups
Arm Ambassadors
Education Hub
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Automotive forum
Compilers and Libraries forum
Embedded and Microcontrollers forum
Internet of Things (IoT) forum
Keil forum
Laptops and Desktops forum
Mobile, Graphics, and Gaming forum
Morello forum
Operating Systems forum
Servers and Cloud Computing forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI blog
Announcements
Architectures and Processors blog
Automotive blog
Embedded and Microcontrollers blog
Internet of Things (IoT) blog
Laptops and Desktops blog
Mobile, Graphics, and Gaming blog
Operating Systems blog
Servers and Cloud Computing blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Arm Development Studio forum
exception for big endian
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
120 subscribers
Views
2437 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
exception for big endian
Zhanguo Li
over 11 years ago
Note: This was originally posted on 2nd September 2009 at
http://forums.arm.com
Hello experts,
I am trying to modify my software platform and application for big endian(BE8) mode, and the hardware platform is ARM's PBX-A9 board. Firstly, the timer interrupt doesn't work and since it's a little complex to debug timer interrupt, I decide to produce a software exception to see whether the exception process works or not. However, after the "SWI" instruction is performed, the CPU doesn't "jump" to exception vector(for SWI exception, the address is 0x08), and of course, the system hang.
If I switch the system to LE mode(using "SETEND LE") in my BE system before the "SWI" instruction(I also adjust the exception process routine at address 0x08 for LE mode), and CPU can jump to address 0x08 for this software exception. For BE mode, I have configured the exception process routines at 0x08 carefully and I can ensure that it can work(at least, can output a char through serial port), but it looks that the SWI doesn't lead PC to 0x08 for BE mode.
I boot my system from ARM's boot monitor, and then switch to BE mode through "SETEND BE" instruction.
Has anyone run with BE mode sucessfully for Cortex-A9? Could you tell me how to support exception and interrupt for BE mode?
Thanks much for your help!
-Jerry
Parents
Martin Weidmann
over 11 years ago
Note: This was originally posted on 2nd September 2009 at
http://forums.arm.com
One observation on the timer not working.... The private address space of the A9 (including the private timers) is fixed as little endian format.
Cancel
Vote up
0
Vote down
Cancel
Reply
Martin Weidmann
over 11 years ago
Note: This was originally posted on 2nd September 2009 at
http://forums.arm.com
One observation on the timer not working.... The private address space of the A9 (including the private timers) is fixed as little endian format.
Cancel
Vote up
0
Vote down
Cancel
Children
No data