- 博客(14)
- 资源 (13)
- 收藏
- 关注
原创 ubuntu cannot access network using bridge to host windwos
mount -t nfs -o nolock,vers=2 192.168.1.104:/work/nfs_root/first_fs /mnt // the address of ip is server ip(linux ubuntu ip) how to achieve the connection between ARM and linux and windows
2017-05-21 14:10:18
323
原创 mmu地址映射
sdram 是外接一个内存 是64M的空间。 地址范围0x30000000~~0x33FF FFFF。基地址是0x3000 0000 如果以1M大小为空间,就是64块。0x30000000~ 0x30010000 是第一块地址。0x30010000~ 0x30020000.3F-00= 3F 十进制就是64M.physicaladdr & 0xFFF00000 就是1M
2017-03-16 21:28:31
582
原创 sdram
@*************************************************************************@ File:head.S@ 功能:设置SDRAM,将程序复制到SDRAM,然后跳到SDRAM继续执行@****************************************************************
2017-03-12 20:54:31
477
原创 清0 置1
如何配置GPIO的引脚,位,但是不影响其他位的使用。清0GPFCON &= ~(GPF4_msk | GPF5_msk | GPF6_msk);先把相关的位 置1 然后取反 变成0,再&寄存器值,这样就可以清位。 11 0011 0000 0000取反 1100 1111 1111再&寄存器原来置 XXXX XXX
2017-03-12 17:04:08
800
原创 GPIO
GPIO引脚控制硬件:一般有控制器,控制引脚是输入 输出 中断功能。 DATA控制寄存器,是输出 0 还是 1. user manual:GPFDAT bits[0-7]When the port is configured as an input port, the corresponding bit is thepin state. When
2017-03-12 15:25:10
433
原创 linker script
http://www.bravegnu.org/gnu-eprog/data-in-ram.htmlSECTIONS { . = 0x00000000; .text : { crt0.o (.text); leds.o (.text); } etext = .; . = 0XA0000000; ram_sd
2017-03-12 14:46:51
328
原创 makefile 分析
https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Link-Options.html#Link-Optionshttp://www.gnu.org/software/make/manual/html_node/Pattern-Match.html#Pattern-Match分析makefile里面的指令信息。首先编译文件使用arm
2017-03-11 21:01:50
307
原创 how to compile the linux kernel
当你下载linux源码以后,有补丁的打补丁,how to use the patch。cd 源码ing patch -P1 when you are using the p1, that means you will miss the current folderthe next step will be important for us.the sequence
2017-02-22 21:58:42
293
原创 usb 的总线驱动程序和usb设备驱动程序分析,usb interface and driver
6. USB总线驱动程序的作用a. 识别USB设备1.0 USB通过端口0 ,给USB分配新的地址,set address2.0 发出命令,获取设备描述符。b. 查找并安装对应的设备驱动程序c. 提供USB读写函数在分析USB设备驱动程序的时候,肯定会遇到Hub.c hub_port_connect_change method hub_port_in
2017-02-19 22:16:24
509
原创 USB host control
app: ------------------------------------------- USB设备驱动程序 // 知道数据含义内核 -------------------------------------- USB总线驱动程序 // 1. 识别, 2. 找到匹配的设备驱动, 3. 提供USB读写函数
2017-02-15 22:10:05
656
原创 analyse K9F2G08X0A nand flash
First. you need to know the G M KB B unit.1G = 1024M1M = 1024KB1KB = 1024Byte, are not bits. when considering the range of memory address, you must use the 2^7= 1282^8 = 2562^10=1024 These
2017-02-15 15:43:53
463
原创 USB driver linux
USB analyse 当你电脑接入一个USB设备, 电脑会弹出一个USB3.0 或者是apple 驱动,或者是Android 驱动。问题一:为什么电脑会弹出这些信息? 第一次安装这些设备,肯定是没有这些驱动的,那为什么知道是apple 或者是android呢?解答:因为PC电脑里面,有个USB总线驱动程序,它有能力知道你接入是什么USB设备,但是不知道如何读写设备,
2017-02-12 22:01:15
371
原创 Nand Flash analyse 后续
Nand Flash 的分析,我们需要看datasheet,一般分析一个 READ ID,就知道。 就知道厂家ID 和设备ID.U-BOOT里面也提供了操作Nand Flash 的 operation。md 是read,mw是write 以四字节读写1. read ID 可以看一个read ID operation s3c2440
2017-02-10 17:27:46
420
ffmpeg+sdl 简单播放器 MP4 AVI文件
2015-01-14
xs128的资料
2012-04-26
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人