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
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?
- 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
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
- EEWORLD University ---- Linux driver strategy and framework
- Phase shifter classification and working principle (Part 1)
- [TI recommended course] #Live replay: Application of TI millimeter wave sensors in smart home#
- EEWORLD University ---- Live playback: The most important component of the analog world - Signal chain and power supply: Amplifier special
- Help, how to calculate the voltage gain of an amplifier circuit?
- Xilinx XPE Power Estimation Software Setup Advisory
- Electronic password lock based on single chip microcomputer
- Anlu SparkRoad FPGA development board interface definition
- Analysis and Design of TL431 Feedback Loop
- Understanding the past, present and future of the Matter Protocol in one article