04 2019 档案

摘要:host端为tin6410,slave端采用CH340芯片,串口端与stm32f103rc串口0连接.stm32给串口发送数据,tiny6410接收usb数据; 1\编译usb-skeleton驱动,并且加载驱动, 2\打开驱动测试程序 3\运行stm32端串口测试程序.相关的代码已经上传,关于li 阅读全文
posted @ 2019-04-29 13:16 eastgeneral 阅读(255) 评论(0) 推荐(0) 编辑
摘要:今天做移植的时候,随手记录一下,今天所遇到的问题解决方法。 在linux2.6.34和之前的代码中还可以使用usb_buffer_alloc 和 usb_buffer_free 这两个函数,在2.6.35和之后的内核中usb_buffer_alloc 和 usb_buffer_free这两个函数已不 阅读全文
posted @ 2019-04-28 16:54 eastgeneral 阅读(802) 评论(0) 推荐(0) 编辑
摘要:make 编译时默认的命令是all,不能写成其他的 阅读全文
posted @ 2019-04-23 11:29 eastgeneral 阅读(1979) 评论(0) 推荐(0) 编辑
摘要:去年,老师让我分析基于HD3系统芯片的WindowsCE USB驱动的可行性。USB驱动非常庞大,多个软件层次相互交错,以及各种协议,USB系统对于一般人很难理解,我对其也只是理解一个大概,下面,我对USB驱动架构的认识做一个总结。 USB系统可以分为两个系统:(1)主机系统HOST;(2)设备系统 阅读全文
posted @ 2019-04-22 13:24 eastgeneral 阅读(396) 评论(0) 推荐(0) 编辑
摘要:1\问题的解决主要是参考了tiny210相同的问题 2\/home/suxuandong/Documents/computer/linux_kernel/tiny6410/linux-2.6.28.6/arch/arm/mach-s3c6400/include/mach/uncompress.h 修 阅读全文
posted @ 2019-04-20 13:47 eastgeneral 阅读(251) 评论(0) 推荐(0) 编辑
摘要:baudrate=115200 bootargs=noinitrd root=/dev/nfs nfsroot=192.168.1.116:/home/suxuandong/Documents/computer/linux_kernel/tiny6410/rootfs_qtopia_qt4 \\\ 阅读全文
posted @ 2019-04-20 09:40 eastgeneral 阅读(102) 评论(0) 推荐(0) 编辑
摘要:#烧录 参考: 03- Tiny6410刷机指南.pdf 假设拿到的Tiny6410开发板没有提前下载任何程序,包括Bootloader. ##Bootloader - Superboot Superboot是FriendlyARM公司提供的Bootloader(非开源),提供USB下载功能。只要烧 阅读全文
posted @ 2019-04-19 10:00 eastgeneral 阅读(983) 评论(0) 推荐(0) 编辑
摘要:1\在smdk6410.h中定义宏 阅读全文
posted @ 2019-04-17 18:59 eastgeneral 阅读(193) 评论(0) 推荐(0) 编辑
摘要:1\启动ok6410 进入uboot命令行 2\启动JLinkGDBServer -device ARM11 3\arm-none-eabi-gdb u-boot 初始化脚本 # Connect to the J-Link GDBServertarget remote localhost:2331# 阅读全文
posted @ 2019-04-16 20:15 eastgeneral 阅读(502) 评论(0) 推荐(0) 编辑
摘要:要调试裸板,有两种初始化方法,一个是用烧好的uboot初始化,再有就是直接用JLink+GDBServer初始化。代码参考了网上的资料,根据手头的OK6410开发板做了修改。整体代码如下: # Connect to the J-Link GDBServertarget remote localhos 阅读全文
posted @ 2019-04-16 17:00 eastgeneral 阅读(453) 评论(0) 推荐(0) 编辑
摘要:1\在调试ok6410 nandflash启动uboot时,需要添加调试信息,导致uboot大于256k 2\需要修改下面几个地方 参考资料 在uboot中可以添加文字菜单,但是不够美观。 利用photoshop制作一张jpg菜单图片,在ubuntu中使用jpeg2bmp.sh将jpg图片转换成bm 阅读全文
posted @ 2019-04-16 10:21 eastgeneral 阅读(238) 评论(0) 推荐(0) 编辑
摘要:1\参考资料https://github.com/SeanXP/ARM-Tiny6410/tree/master/no-os/sd-no-os/u-boot 2\参考资料https://blog.csdn.net/xinxin_2011/article/details/85228961 3\编译sd 阅读全文
posted @ 2019-04-14 10:24 eastgeneral 阅读(523) 评论(0) 推荐(0) 编辑
摘要:使用uboot来启动tiny6410,需要在启动参数中加入lcd=S70,才能在lcd上显示正确的画面 阅读全文
posted @ 2019-04-13 13:39 eastgeneral 阅读(158) 评论(0) 推荐(0) 编辑
摘要:在qt creator中编辑Makefile时的Tab键总是不能识别,需要这样设置 阅读全文
posted @ 2019-04-13 08:07 eastgeneral 阅读(1198) 评论(0) 推荐(0) 编辑
摘要:LINUX内核调试过程,使用openjlink andylance 贡献于2013-02-19 | 2K 次阅读 0 推荐 0 收藏 LINUX内核调试过程,使用openjlink andylance 贡献于2013-02-19 | 2K 次阅读 LINUX内核调试过程,使用openjlink an 阅读全文
posted @ 2019-04-12 20:12 eastgeneral 阅读(210) 评论(0) 推荐(0) 编辑
摘要:1\首先启动nandflash uboot->linux内核->文件系统,进入文件系统命令行 2\启动JLinkGDBServer -device ARM11 3\启动arm-none-eabi-gdb vmlinux 在这个命令行中输入 target remote localhost:2331 m 阅读全文
posted @ 2019-04-12 18:23 eastgeneral 阅读(417) 评论(0) 推荐(0) 编辑
摘要:关于ok6410的裸机开发资料,大多都是windows下的,使用RVDS编写裸机程序,并编译烧录到开发板上运行,但是我整了很久也没在windows10上将环境装好,又懒得装一个xp的虚拟机,所以就摸索在Linux下进行裸机程序的开发。具体内容分为以下几个部分:一.前期准备二.裸机程序的编写(驱动LE 阅读全文
posted @ 2019-04-12 15:28 eastgeneral 阅读(390) 评论(0) 推荐(0) 编辑
摘要:1.nand flash烧写uboot 并且启动nandflash uboot,用来初始化6410,进入uboot命令行界面 2.在terminal中输入JLinkGDBServer -device ARM11 3.设置eclipse中的debug配置 其中初始化的部分是这样的 # tiny6410 阅读全文
posted @ 2019-04-12 13:25 eastgeneral 阅读(304) 评论(3) 推荐(0) 编辑
摘要:下面这种方法是从网上转的 没有验证 环境:ubuntu 13.04一、首先制作sd启动盘: 插入SD卡 sudo dd iflag=dsync oflag=dsync if=tiny210v2-uboot.binof=/dev/mmcblk0 seek=1 tiny210v2-uboot.bin来自 阅读全文
posted @ 2019-04-11 09:54 eastgeneral 阅读(352) 评论(0) 推荐(0) 编辑
摘要:bootargs=root=/dev/mtdblock2 rootfstype=yaffs2 init=/linuxrc console=ttySAC0,115200 bootcmd=nand led-start;nand erase ;fatload mmc 0:1 0x50008000 u-bo 阅读全文
posted @ 2019-04-11 09:03 eastgeneral 阅读(187) 评论(0) 推荐(0) 编辑
摘要:今天想用32G的SD卡来烧写tiny6410的uboot但是失败了,换了一张4G的卡就可以了, 还有sd卡启动的uboot使用tftp命令是有问题的 阅读全文
posted @ 2019-04-11 08:36 eastgeneral 阅读(231) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示