Use OpenJTAG to burn: (bare board program)
1. Install the driver
2. Copy oflash.exe FTD2XX.dll to C:Windowssystem32. (oflash.exe and FTD2XX.dll are in the windowstools of the Baiwen.com JZ2440v2 main CD)
3. Then you can use it directly in the Windows command line.
4. Wiring.
5. Use oflash to burn in Windows command line:
Enter the directory where the file to be burned is located
Execute oflash xxx.bin (xxx.bin refers to the file to be burned)
Enter the number corresponding to OpenJTAG
Enter the number corresponding to the development board CPU (mine is S3C2440)
Enter the storage device to be burned. (As mentioned in the video, the bin file under the hardware file can only be burned to Nand Flash)
Confirm the storage device to be burned again.
Enter the address to be burned. (Bare-metal programs and uboot are usually burned to block 0. The uboot provided by Wei Dongshan supports both Nor Flash and Nand Flash boot)
Note: When burning u-boot to Nor Flash, remember to set the playback switch to Nor Flash boot.
Use TFTP to burn the program
Note: If you want to use TFTP to burn, you must first have uboot (currently using uboot on Nor Flash, which is burned using OpenJTAG). Operation steps:
1. Set the information in uboot:
//The IP address of the development board
set ipaddr 192.168.20.1
//PC's IP
set serverip 192.168.20.117
2. Start the tftp service (tftpd software) on the PC
Set the path of the bin file to be burned
3. Burn files
//Download the lcd.bin file to the location 30000000
tftp 30000000 lcd.bin
// Erase the bootloader partition. (corresponding to 0 ~ 40000)
nand erase bootloader
//Write the bin file to the bootloader partition.
nand write 30000000 bootloader
Note: The address to be burned here is actually on Nand Flash. After burning is completed, turn the thin code switch to Nand Flash to start.
Previous article:Burning Program in S3C2440
Next article:ARM system CPU's 7 working modes and 2 working states
- 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
- ESP32-S3 KORVO-2 2.4'' ARDUINO TFT Unboxing Report
- A troubleshooting example of connecting XDS100V3 debugging target board with CCS
- 【Android Development Learning Road】Part 2-- HelloEEWorld
- 51 MCU library serial port sends a segment of characters and the digital tube receives and displays them (use the serial port debugging assistant to modify the data)
- pic18F27Q10 eeprom erase problem
- 2.4GHz RF chip CC2420 realizes ZigBee wireless communication equipment
- 【BearPi-HM Micro】Part 4: Familiar with the Openharmomy compilation framework and serial port interactive output
- 50 ways to use TI CC6678 digital signal processor (DSP)
- Definition of Direct Current and Alternating Current
- [Reference Book] PCB Design Tips (ADI Think Tank)