01-S3C2440 Learning Basic Concepts + Environment Construction

Publisher:神光骑士Latest update time:2020-03-12 Source: eefocusKeywords:S3C2440 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. Experience:


I have learned a lot of things in the past two years, which are a bit miscellaneous. I always feel that I am not solid enough, so I am going to write something down to record it, hoping that it will be convenient for review in the future, and also bring some help to everyone's study. I will learn the JZ2440 system from the beginning, and I hope that I will feel more solid in the future. The following is just my own learning ideas, for your reference only.


(1) Why is Linux used after embedded system?


I have always confused embedded and Linux. What is the relationship between embedded and Linux? Most embedded devices run Linux systems, so Linux is often added after the word embedded. Linux is the core part of embedded software, so when working on embedded software, you must gradually become familiar with Linux.


(2) Embedded Linux:


A special computer system centered on applications and based on computer technology, with customizable software and hardware. It has a strong customizability feature.


(3) Common embedded systems:


linux

android

wince

ucos/ecos

VxWorks


2. Environment Construction


Install Linux on the virtual machine and install compiler and other software

Download environment installation

(1) Thinking


First, when we get the embedded development board, the question we need to think about is:


1. How to download bare metal program and u-boot program to the development board?


To use the openjtag tool, you must first install the openjtag driver. Connect the openjtag to the PC, the device manager will detect the device, right-click to automatically search, and manually install the following driver.


Located in: JZ2440 master CD burning tool bare metal eop&op driver OpenJTAG

2. How to view debugging information?


Output via CRT serial port


To view the debugging information of JZ2440 through the USB serial port output, you need to install the following drivers:


PL2303_Prolific_DriverInstaller_v1.7.0


PL-2303 Driver Installer


3. How to burn?

You need to install oflash software and copy the software to the system32 directory


For Windows 7-64-bit system, copy the oflash software and FTDFTD2XX.dll to the C:WindowsSysWOW64 directory. Also, switch to the oflash software directory C:WindowsSysWOW64oflash, then enter oflash and press Enter.


Enter cmd and go to the directory where the program is located


oflash uboot.bin, select the download parameters to download, cut off the power after downloading, select to boot from NAND, and watch the bare metal phenomenon.


(1) The above is to download the bare metal by combining jtag and oflash. You can also use the following method


(2) After downloading uboot, you can download the bare metal through dnw. -----You need to install the DNW driver, see JZ2440 main CD FAQ 5__dnw driver installation and burning program steps


(3) After downloading uboot, you can download the bare metal program through tftp.


Methods (2) and (3) depend on uboot.


Can you start learning bare metal programming by installing these environments? However, there are a few reflections:


1 How to write uboot with so many functions (I will write a bootloader and then transplant a uboot)


2 How is oflash software implemented

Keywords:S3C2440 Reference address:01-S3C2440 Learning Basic Concepts + Environment Construction

Previous article:Detailed analysis of the framework of S3C2440 block device driver
Next article:What do ARM core and architecture mean, and what is their relationship?

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号