Note: The following settings are applicable to downloading an empty board (i.e. no program in the chip) using JLINK, and are downloaded to NORFALSH.
1.Target Interface (as shown below):
2.CPU settings:
CPU settings include 3 parts:
2.1 Select CPU (S3C2440A is ARM920T core)
2.2 Set RAM address and size (S3C2440 has built-in RAM)
Using the on-chip RAM to assist in downloading the code will make it download very quickly, otherwise the download speed will be very slow.
2.3Init steps (here is to set the internal registers of the CPU. If the internal registers are not set initially, the download will fail)
As shown in the figure above, there are multiple data in the text file, which are write operations to the internal registers of the CPU to set the initial values of the registers. Click "ADD" below to add commands. A total of 17 commands need to be added. The commands that need to be added are as follows:
1- Disable MMU
2-Write 32bit 0x53000000 0x00000000 pWTCON,Watchdog disable
3-Write 32bit 0x4A000008 0xFFFFFFFF INTMSK,Disable interrupts
4-Write 32bit 0x4A00001C 0xFFFFFFFF INTSUBMSK,disable interrupts
5-Write 32bit 0x48000000 0x22111120 Bus width & wait status
6-Write 32bit 0x48000004 0x00000F40 Boot ROM control
7-Write 32bit 0x48000008 0x00002E50 BANK1 control
8-Write 32bit 0x4800000C 0x00002E50 BANK2 control
9-Write 32bit 0x48000010 0x00002E50 BANK3 control
10-Write 32bit 0x48000014 0x00002E50 BANK4 control
11-Write 32bit 0x48000018 0x00002E50 BANK5 control
12-Write 32bit 0x4800001C 0x00018005 BANK6 control
13-Write 32bit 0x48000020 0x00018005 BANK7 control
14-Write 32bit 0x48000024 0x00960542 DRAM/SDRAM refresh
15-Write 32bit 0x48000028 0x00000032 Flexible Bank Size
16-Write 32bit 0x4800002C 0x00000030 Mode register set for SDRAM
17-Write 32bit 0x48000030 0x00000030 Mode register set for SDRAM
3. FLASH settings
Uncheck "Automatically detect" and select the NOR FLASH model manually. Select according to the NOR Flash on the development board. Here, select the SST39VF1601 model from SST manufacturer.
Conclusion:
After the above key settings, JLINK can download uboot to NOR FLASH to the development board. The following operations are to open uboot.bin: file->open data file; then connect the development board: Target->connect; burn uboot to norfalsh: Target->Program&Verify.
Previous article:Learn S3C2440 bare metal development under Keil from 0 - 2 Using external SDRAM
Next article:Introduction to command parameters for generating uImage for mini2440
Recommended ReadingLatest update time:2024-11-23 08:25
- 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
- Semiconductor transistor
- New hot spot in automobiles: In-depth analysis of T-BOX system solutions
- What are the differences between 4G and 5G networks?
- Altera-FPGA programming steps and precautions
- The birthplace of professional audio
- MSP432UART Test
- Car driving recorder based on LPC2104 CPU
- ESP32, only one timer is turned on, the power consumption is very high, what should I do
- [TI recommended course] #Power Tips — Power management design tips series#
- STM32 allows pyb, uos, utime, machine and onewire modules to be configurable