Bare metal handling of eint4 interruptions
This is the bare metal processing of eint4 interrupt based on S3C2410. When the interrupt occurs, the LED light is reversed. The following is a circuit diagram.
The external key is connected to the eint4 pin of the CPU. That is, pressing the key causes an interruption.
Accor
EmbeddedLinux Bare Metal Development (15)--LCD First,LCD Introduction the LCD (Liquid Crystal Display) is LCD display abbreviation. The LCD is constructed in two parallel Glass substrates placed in the LCD box, the lower substrate glass set TFT(thin film transistor), on the substrate glass set color filter, Through the signal and voltage change on the TFT to control the direction of rotation of the liquid c
EmbeddedLinux Bare Metal Development (12)--inand Introduction First,Inand Introduction in and is a memory chip developed by SanDisk company, which can be considered as an SD card or MMC card chip. Inand is the SanDisk company complies with the EMMC protocol chip family name, the internal use of MLC storage particles. The Inand interface circuit is designed to be complex and fully functional, providing a
EmbeddedLinux Bare Metal Development (14)--ADC First,Introduction to AD conversion ad conversions are analog -to-digital conversions , is to convert analog signals into digital signals. A/D converters are used to convert analog quantities into digital quantities through a certain circuit. Analog can be voltage, current and other electrical signals, can also be pressure, temperature, humidity, displacement,
EmbeddedLinux Bare Metal Development (i)--light Led Development Board: Friendly arm smart210First,Circuit Diagram Inspection1. Floor circuit diagram Consult the Board circuit diagram of the development boards, consult the LED related partsLED Circuit Working principle:650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/82/5E/wKioL1dSyoCwaSpsAAAbV0ZVsno967.png "title=" Picture 1.png "alt=" Wkiol1dsyoc
Development Board and start it. You can see this information in the serial port. Before the countdown to 0, press the Space key of the keyboard:
Start writing:
Use USB cable to connect the USB device interface and PC of the Development Board. For jz2440, use 2nd USB cables to connect the miniusb port and PC marked with the text "USB.
If it is used for 1st times, a prompt will be prompted to install the dnw driver.
Enter the letter "N" in the serial port, indicating "Download U-boot to nandflash
\beaglebone\gel directory) SELECT, Beagleboneblack.gelStep 9: Initialize the chip. Scripts->am335x_system_initialization->am335x_beaglebone_initializationStep 10: Load the network port test program. Run->load->load program, select the Enetecho.out file you just compiled, the directory is D:\ti\AM335X_StarterWare_02_00_01_01\binary\armv7a\cgt_ Ccs\am335x\beaglebone\enet_echo\releaseStep 11: Open the Serial debugging assistant, connect the serial port 0, here is using the AM3358 chip uart0,115200-
What is the difference between Iphone6 mobile phone contract machine and bare metal?
For the contract machine, I believe that everyone will be unfamiliar, in many outdoor billboards, you can see a variety of very attractive "0 yuan buy machine", advertising slogans, the contract machine is actually the network operators to introduce mobile phone calls + mobile bundled marketing methods.
In layman's terms,
make command and make it automatically. The BIND file generated will be placed in ~ /AM335X_StarterWare_02_00_01_01/binary/armv7a/gcc/am335x/beaglebone/gpio/directory
The default version is Debug and Realse.
Download Test Procedure
Find a microSD card, the capacity should not be too small, I use 2 GB, the official HPUSBFW. EXE format SD card
Then ~ /AM335X_StarterWare_02_00_01_01/binary/armv7a/gcc/am335x/beaglebone/bootloader/Release_MMCSD/MLO copy to the root directory of the SD card
Rename t
'
Rule: describes how to generate the target file.
Targets: prerequisites
Command (use the tab Space key)
Make up a rule
Keyword used for pseudo-targets:
. Phony: Clean ---- indicates that clean is a pseudo target.
Final Goal: if the user does not specify to execute a rule, make will execute the first rule in makefile by default, and the goal in this rule is called the final goal.
Make + target name: The generated target is generated. Execute the separate rule.
--- Variable
Before using variable
I have been using Ubuntu for two years. From dapper-6.06 to the current hard-8.04 (it took only one month ). At the beginning, I felt that Linux technology was booming.
Progress is very slow after a period of time. I think I am a beginner at the cainiao level. I also think Ubuntu masks many Linux things. I only use its shell, and then press the mouse to beat my life.
. In addition, you don't even need to execute commands to use Ubuntu to install everything you have just created. Later, I learned
autoboot ):
After resetting and disabling the axd, the U-boot serial port initialization prompt (promptly press the key to stop autoboot when the first buzzer rings ):
Here is the reset to use uboot to initialize the development board, but it is not clear why it is necessary to press the button on the first buzzer to enter ubootAppendix:
Hardware environment: J-link V8, mini2440, J-link adapter board, serial port USB cable
Software environment: Windows 7 (32-bit), Development Board uboot (n
The tiny6410 Development Board supports both NAND and SD startup modes.
In my understanding, it means "nc" is not connected. Om [] = 01111, boot_eint [] = 000, refer to the following table to indicate that the SD card is enabled. The switch is not described in the schematic.
The LED diagram is as follows:
Gpk4, 5, 6, and 7 light-emitting diodes are switched ON when the light-emitting diode is switched on.
Arm Assembly
MoV command
1: Syntax:
2:
3:
The following bare metal program is based on gt2440 and the compiler is a arm-linux-gcc-4.4.3.
Program layout: the source code is composed of two files: interrupt. s and led. C. The interrupt is responsible for initialization, And the interrupt processing program is defined in led. C.
Program process: first install the abnormal vector table, disable the Watchdog in the reset exception, then enter the normal
The following bare metal program is based on gt2440 and the compiler is a arm-linux-gcc-4.4.3.
Program Structure: The program consists of SDRAM. S and Main. C consists of two files, SDRAM. s file to complete some initialization work, such as clock initialization, memory controller initialization, copy the second-stage code to SDRAM, and so on; Main. C is responsible for four LEDs which are cyclically lit an
The Ethernet Control Chip dm9000 is able to receive data correctly on 2440 bare metal (the source code project has been uploaded)
(411.47 K) the attachment was downloaded 168 times
After a few days of dm9000, I have never been able to correctly receive data. I am so depressed for a few days. Now I am happy.
I have referred to this Article "single-chip microcomputer-driven dm9000 Nic chip (detailed debu
Nimi2440 bare metal LED program problems-general Linux technology-Linux technology and application information, the following is a detailed description. I am a beginner. This is the code I wrote. There is no syntax error, but it is a logic error and cannot implement the desired result. Please advise !!
# Define GPBCON (* (volatile unsigned long *) 0x56000010)
# Define GPBDAT (* (volatile unsigned long *) 0
1. Tools:Download the generic PE toolbox, the. exe file is installed on the U disk, making the USB flash drive a bootable disk2. Shutdown restart,--Desktop, enter the BIOS system by tapping the "delete" button--notebook, usually through "F2" or "ESC", enter the BIOS system3. Set the BIOS boot mode to USB drive--esc, return to the previous level of functionality--f10, save function--After determining, save. 4. Come to the selection screen and go to Win8 Lite5. Select the drive letter you want to
Today wrote a simple key key to drive the LED and Beep buzzer program, the source code is as follows:/* Copyright (C) fulinux Other files are similar to those in the previous days.u-boot-2014.10 5th day----LED, button, and beep bare metal programs
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.