1. Add when compiling: -march = armv4
otherwise,
volatile unsigned short *p = xxx;
*p = val; //It will be split into 2 strb operations, which is 8 bits, but we want to write 16 bits at a time
2. Turn off the timer interrupt, otherwise the CFI mode will be entered when testing NOR. If an interrupt occurs, the CPU will definitely read NOR, and then the correct instruction will not be read, causing the program to crash.
Previous article:1.6.1_NOR_FLASH principle and hardware operation
Next article:1.7.1_NAND_FLASH operation principle_P
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- New breakthrough! Ultra-fast memory accelerates Intel Xeon 6-core processors
- New breakthrough! Ultra-fast memory accelerates Intel Xeon 6-core processors
- Consolidating vRAN sites onto a single server helps operators reduce total cost of ownership
- Consolidating vRAN sites onto a single server helps operators reduce total cost of ownership
- 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!
- DONT_TOUCH Constraint
- Postpartum lamp - what kind of light do women need during confinement?
- 【National Technology N32G430】05 The page is initially displayed, system composition
- What is the model of MARKING's power chip for GKN? Package SOT23-6
- Introduction to RF5 Architecture
- Can the input voltage Vi of a logic device be higher than the supply voltage Vcc?
- The relationship between standard, bandwidth, and baud rate/speed
- Share some free ADI high-quality materials and prize-winning activities, welcome everyone to actively participate in the download!
- Multisim Video Tutorials
- Please help me with the formatting of articles copied from the official account to Word