After installing Ros on Manifold TK1, plug in the USB serial port without drivingHelpless outfitDownload the driver for cp210x from Http://www.silabs.com/products/mcu/pages/usbtouartbridgevcpdrivers.aspx#LinuxCompile Build Cp210x.koInsmod Cp210x.ko, you can see ttyUSB0.In addition, we also need Ubuntu power-on auto-load drive moduleSteps are as follows1. depmod-a2. Join cp210x in/etc/modules3. Copy Cp210x.ko to/lib/modules/.../kernel/drivers/usb/seria
One first download arm-none-linux-gnueabi-gcc Cross compiler, according to different needs please at the URL:Download the required code in the Https://launchpad.net/gcc-arm-embedded/+downloadTwo create a directory by extracting the commandTAR-JXVF gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2Unzip the file, and thenUse the command: VIM/HOME/XXXX/.BASHRC edi
Ubuntu11.04 build an arm-Linux-GCC cross-compiling environment
In order to save time and learn arm quickly, let's just talk nonsense and go straight to the question:
The version I used is arm-Linux-GCC 4.4.3.
Download the installation package of arm-linux-gcc-4.4.3.tar.gz to desktop. Create one under the
register @ is used to select the function of the port K pins: @ is output, input, or other mov r1, #0x110000 str r1,[r0] @ set gpk4,5 as output port Ldr R0,=leddat @ The R0 is set to the Gpkdat register.
This register @ for read/write port b pins data mov r1, #0x00000000 @ This value is 0x000000, low level light LED STR R1,[R0] @ gpk4,5 output 0,led4,5 Light mov pc,lr
The Main.c file is as follows:
#define RGPKCON0 (* (Volatile unsigned *) (0x7f008800)) #define RGPKCON1 (*
First download the arm-linux-gcc-4.3.2.tgz, you can copy it to/tmp, and then enter the Directory
Input:
# Tar xvzf arm-linux-gcc-4.3.2.tgz-C/
Then the installation starts.
Step 2 add environment variables to the compiler and run the following command:
# Gedit/root/. bashrc
Add export Path = @ path:/usr/local/ARM/4.3.2/bin to the last row.
Save and exit.
I
Howtoinstall: cd/usr/release Add/usr/local/arm/ lt; version gt;/bintoyourpathtousethecroscompiler.1. If stdio. h is not found, the decompressed package is saved in the path
How to install:
Cd/usr/local
Mkdir arm
Cd arm
Tar Ixvf cross-
.Tar.bz2
Add/usr/local/arm/
/Bin to your path to use the cross
1. First, start the vsftp service under Ubuntu in the Virtual Machine: The sudo/etc/init. d/vsftpdrestart Development Board has enabled the ftp service at startup. 2. Run the ftp10.13.106.31 command in Ubuntu to enter the user name root and enter the password (blank, press enter) 3. You have entered the ftp service and used the LCD command to set the file receiving location ftp gt; LCD/hom in
I downloaded the address casually, 4.4. Version 3, Address: http://www.cr173.com/soft/42654.html#address1. I put it in the/work/tools/.2.sudo Tar xzvf/work/tools/arm-linux-gcc-4.4.3.tar.gz3.sudo tar xvzf arm-linux-gcc-4.4.3.tar.gz-c/4./opt/friendlyarm/toolschain/4.4.3/bin found the command;And thensudo vim/etc/environmentafter Path= "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" A
Step 2: Install the Eclipse Development Environment Plugin
Step 2: Install the Eclipse Development EnvironmentHttp://www.linuxidc.com/Linux/2012-02/53964.htm
Step 2: configure the Eclipse ARM Development EnvironmentHttp://www.linuxidc.com/Linux/2012-02/54007.htm
Step 2: Create a new process and configure the environment
Enter the following code:
# Include
# Include
# Include
# Include
# Include
Void * cre
1. First, start the vsftp service under Ubuntu in the virtual machine:
Sudo/etc/init. d/vsftpd restart
The FTP service is enabled when the Development Board is started.
2. Use commands in Ubuntu
FTP 10.13.106.31
Enter the user name Root
Enter the password (blank, press enter directly)
3. You have already entered the FTP service.
Use the LCD command to set the file receiving location in
card (such as the Internet), and the other network card eth1 does not set the gateway.
Sudo vi/etc/network/interfaces
# The loopback network interfaceAuto loIface lo inet loopback
# The primary network interfaceAuto eth1Iface eth1 inet dhcpPost-up iptables-restore
# The second eth1Auto eth0Iface eth0 inet staticAddress 192.168.0.1Netmask 255.255.255.0
Note that no gateway is set for eth1 (internal network.
If the NIC is set here, network-manager will not have the permission to read it for mana
Source: chinaunix blog Date: 2006.08.28
GNU cross tool chain (ARM-Linux-GCC 3.4.4)Modified by litroncn (Litroncn@163.com)Based on Sunhe (msunhe@gmail.com)
1. Working users and environments in Linux1.1 Software EnvironmentLinux Ubuntu 6.06 ltsKernel version BRL. 15-23-686GCC version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)GNU make 3.81Msgfmt (GNU gettext-tools) 0.14.5Makein
PART1 Environment Building and tool installation 1.1 setting up a cross-compilation environmentTo install the relevant compilation tools:sudo Install Gcc-arm-linux-gnueabiHere I use the Gcc-arm-linux-gnueabi series tools that are included in the Ubuntu system source and have the following tools after installation:Arm-linux-gnueabi-addr2line
Record what you have learned O (∩_∩) o haha ~MakefileLINK.BIN:START.O MAIN.OArm-linux-ld-tlink.lds-o link.elf $^Arm-linux-objcopy-o binary link.elf Link.binarm-linux-objdump-d link.elf > Link_elf.disGCC Mkv210_image.c-o mkmini210./mkmini210 Link.bin 210.bin%.O:%. SArm-linux-gcc-o [email protected] $%.O:%.cArm-linux-gcc-o [email protected] $CleanRM *.o *.elf *.bin *.dis mkmini210-fExplain:Ld:GNU's linker.Used to link a quantitative target file with the
ARM Architecture and programmingThis article records some of the books that read "ARM architecture and programming".Personally, when learning arm system, do not need to memorize, as long as some key to the general memory, such as ARM Register (General Register, PC, LR, SP, CPSR, SPSR),
Windows Azure Platform Family of articles CatalogAzure ARM (1) OverviewAzure ARM (2) OverviewService types supported by Azure arm (3) armAzure Arm (4) starts creating an arm Resource group and creating a storage account In the previous section, I described how to export a t
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.