5. Trigger und in the relocated code and an exception occurs
6. After an exception occurs, the CPU is forced to jump to the interrupt vector table at 0X4 to execute! ! ! Note that here it jumps back to the program at 0X4 before relocation to execute
7. Still find ldr pc, =und_addr in the original program and jump to the relocation (SDRAM) code to execute the interrupt exception program
8. After executing the interrupt exception program, return to the site to continue execution
question
Only by adding bl print1 before und can the program be executed normally, why???
Solved:
The reason is the undefined instruction: 0Xdeadc0de. This is actually a conditional execution statement. It is because bl print1 happens to meet the conditions that bl print1 must be added. Just change the undefined instruction to 0Xeeadc0de.
Question link address: https://mp.weixin.qq.com/s/lJ3hzWPVt1HcR9L2cK0LoA
Previous article:S3C2440—12.Key interrupt
Next article:ARM—Exception interrupt handling
Recommended ReadingLatest update time:2024-11-16 14:40
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- About Kalman Filter Algorithm
- TI DSP EMIF interface address bus problem
- 3. Some suggestions for training on "power supply" competition questions
- You can do anything you want! DLP Pico chipset can also be used in this way
- LIS2DW12 three-axis accelerometer package and code
- 2. Main knowledge points of previous "power supply" competition questions
- PCB Design Issues
- Professor Yang's book is here, a five-volume collection of "New Concept Analog Circuits" series by Yang Jianguo of Xi'an Jiaotong University
- 2019, what is your New Year's resolution?
- How does MCU implement part of the code running in RAM?