Since the S3C2440 core board and the main board are made in the laboratory, the H-Jtag of the friendly arm cannot be used, so J-Link is used to test whether the soldered core board works normally
. Steps:
1. Connect the core board and turn on the power
. 2. Use the J-Link commander that comes with J-Link (it has been installed when installing J-Link)
Start J-Link commander. If no CPU is detected, execute the usb command to connect JLink. Note that the ID of S3C2440 CPU is: 0x0032409D
3. Download and run the special program on J-Link commander
For S3C2410 and S3C2440 processors, they have 4K SRAM inside. When booting with Nor Flash, the address is 0x40000000; when booting with Nand Flash, the address is 0.
For S3C2410 and S3C2440, external SDRAM is usually used. Before SDRAM is used, it needs to be initialized, which is done by the init.bin program.
Assume that init.bin is in the E:/1/init/ directory, and u-boot0.bin and u-boot1.bin are in the E:/1/ directory.
1). Set TCK to 12M, the program will be downloaded very quickly, so you don't need to do this.
J-Link>speed 12000
2). Download and run init.bin, which is used to initialize SDRAM
a. If it is NAND FLASH startup:
J-Link>loadbin e:/1/init.bin 0
J-Link>setpc 0
J-Link>g
b. If it is NOR FLASH startup:
J-Link>loadbin e:/1/init.bin 0x40000000
J-Link>setpc 0x40000000
J-Link>g //You can see that the running light starts to flash
J-Link>h //Execute this command to stop the running light.
J-Link>g //Execute this command to continue the running light.
Previous article:Use of S3C2440 timer
Next article:Constants in ARM microprocessors
- Popular Resources
- Popular amplifiers
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
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?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- BLDC motor driver based on STM32F030+L6230 (FOC5.2 library): program+schematic diagram+BOM and other open source sharing
- Connecting a TVS in parallel to the input of the DCDC chip as protection will limit the power input range. Is there any good solution?
- Working Principle and Topology of Class D Amplifier
- [Me and Yatli] + From nothing to something, from something to big, I hope to develop better!
- Disassembling the Early Childhood Education Machine
- Using FPGA to implement spaceborne SAR real-time imaging processor
- Application Tips/Characteristics and Functions of PIC Series Microcontroller Data Memory
- EEWORLD University Hall----mmWave sensors improve artificial intelligence algorithms to use elevators more efficiently
- Nuvoton Solution Sharing: IoT Development Based on NUC472 Development Board and Connected to Gizwits
- [Project Source Code] Altera SOPC FrameBuffer System Design Tutorial