CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - arm-linux-gcc
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - arm-linux-gcc - List
[
Other Embeded program
]
Proteus_for_ARM7
DL : 0
.安装好Proteus 6.9 SP4,需要用Keil for ARM的或IAR的同样需要安装好。 2.安装Proteus VSM Simulator驱动 可以在官方网站上下载到)。Keil装Vdmagdi.exe,IAR装Vdmcspy.exe 3.将附件中的Prospice.dll和Licence.dll文件Copy到..\bin目录下,MCS8051.dll和ARM7TDMI.dll文件拷贝到..\MODELS目录下。分别替换原有的文件。 4.打开原理图模型和程序。记得要在ISIS中选"Use Remote Debug Monitor"。在Keil for ARM中选择"Proteus VSM Simulator"。IAR中选择Debugger-->Setup-->Drver-->Third-Party Driver,然后在Third-Party Driver中指向Vdmcspy.dll文件。 5.在IDE中点击Debug进入仿真模式。一个精彩的Proteus for ARM时代来临。 6.Enjoy! 附件中有两个例程:一个是IAR的例程。一个是Keil for ARM例程,是利用ADS1.2编译实现的。也就是说所有ADS的工程也可以转到Keil for ARM上来运行,方便联机调试,只需要修改很小的部分。 因为ADS不能和Proteus联调,目录下的那个*.mcp文件即是原有的ADS工程文件)
Date
: 2025-12-26
Size
: 631kb
User
:
张子凤
[
Other Embeded program
]
gpio-test
DL : 0
1、将makefile中的 CROSS =/usr/local/arm/2.95.3/bin/arm-linux- CFLAGS+=-I/usr/local/src/2.4.18-rmk7/include CFLAGS+=-I/usr/local/src/2.4.18-rmk7/include/linux CFLAGS+=-I/usr/local/arm/2.95.3/arm-linux/include 路径改为你宿主机上的。 2、#make,来编译驱动模块。 3、#export PATH=$PATH:/usr/local/arm/2.95.3/bin //取决于你宿主机上的交叉编译工具路径 #arm-linux-gcc -o gpio_test gpio_test.c //编译应用程序 最终在你的当前文件夹下会生成gpiodrv.o与gpio_test两个文件。 4、#mkdir /tmp/1 5、通过ftp的方法,把gpio_test与gpiodrv.o文件下载到你的开发板上的/tmp/1目录中。 6、#mknod /dev/gpio c 220 0 //创建文件节点 #insmod gpiodrv.o #chmod +x gpio_test #./gpio_test 然后,就可以看到四个LED灯在闪烁了。:)-1, the makefile in the CROSS =/usr/local/arm/2.95.3/bin/arm-linux- CFLAGS+ =- I/usr/local/src/2.4.18-rmk7/include CFLAGS+ =- I/usr/local/src/2.4.18-rmk7/include/linux CFLAGS+ =- I/usr/local/arm/2.95.3/arm-linux/include changed the path on your host. 2,# make, to compile driver modules. 3,# export PATH = $ PATH:/usr/local/arm/2.95.3/bin// depends on your host on the path of the cross compiler tool# arm-linux-gcc-o gpio_test gpio_test.c// compile the application procedures for the ultimate in your current folder will be generated under the two documents gpiodrv.o and gpio_test. 4,# mkdir/tmp/1 5, through the ftp way to gpiodrv.o File Download gpio_test with the development of your board/tmp/1 directory. 6,# mknod/dev/gpio c 220 0// create a file node# insmod gpiodrv.o# chmod+ x gpio_test#./Gpio_test then four LED lights can be seen in the flicker of. :)
Date
: 2025-12-26
Size
: 9kb
User
:
马工
[
Other Embeded program
]
interrupt_test
DL : 0
用于s3c6410的中断测试程序,要在arm-linux-gcc环境下编译,推荐使用4.51版本。-Interrupt the test procedure for s3c6410, to arm-linux-gcc compiler environment, version 4.51 is recommended.
Date
: 2025-12-26
Size
: 20kb
User
:
yaong
[
Other Embeded program
]
LEDaUART
DL : 0
TINY6410简单程序,点亮LED和串口发消息,适合初学者。DEMO文件有ADS工程,而6410文件夹里适合在LINUX下用MAKE调用ARM-LINUX-GCC编译-Code for tiny6410,which is easy to learnig .Lighting up LEDs and sending message by UART.DEMO is suit for ADS project,and 6410 is suit for ARM-LINUX-GCC
Date
: 2025-12-26
Size
: 33kb
User
:
huangzh198
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.