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
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- MSP430 MCU Example 3 - Colored Light Control
- EEWORLD University-What is an isolated gate driver?
- Burning image and mounting USB disk with busybox file system failed
- Switching Circuit
- EEWORLD University Hall----Open Source PWM Robotic Arm (Version 51)
- MakeCode Extension for the LSM6DSO Sensor
- PCB reliability test
- It is rare for home appliance manufacturers to issue price increase letters, simply because of rising costs of chips and other items!
- The project in Xinlinx SDK is working fine but suddenly can't find the header file
- How should we say the "positive and negative poles" of alternating current?