S3C2440 initial contact with programming

Publisher:浅唱清风Latest update time:2022-06-24 Source: eefocusKeywords:S3C2440 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

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.

Keywords:S3C2440 Reference address:S3C2440 initial contact with programming

Previous article:Burning Program in S3C2440
Next article:ARM system CPU's 7 working modes and 2 working states

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号