11 2017 档案

摘要:最近在调试4G模块,发现在开机启动时执行的AT指令会概率性的出现返回杂乱字符串的问题。想尽了各种办法还是行不通,在系统中使用minicom敲AT指令就不会有问题,开始怀疑是串口初始化的问题,修改了很多地方,也不起效果。 最后用journalctl查看了整个systemd启动过程,发现4G模块的usb 阅读全文
posted @ 2017-11-17 13:28 aaronGao 阅读(1733) 评论(0) 推荐(0) 编辑
摘要:hwclock输出的格式似乎是没有格式化的命令,所以只能修改date date "+%a %d %b %Y %I:%M:%S %p %Z" 阅读全文
posted @ 2017-11-15 09:41 aaronGao 阅读(503) 评论(0) 推荐(0) 编辑
摘要:Hi Aaron,For checking and changing Cortex-A9 CPU frequency in u-boot, refer to the below files:u-boot/arch/arm/cpu/armv7/am33xx/clock_am43xx.cu-boot/a 阅读全文
posted @ 2017-11-13 11:28 aaronGao 阅读(1689) 评论(0) 推荐(0) 编辑
摘要:echo -e "hello\nworld", -e处理转义字符 阅读全文
posted @ 2017-11-07 16:31 aaronGao 阅读(3370) 评论(0) 推荐(0) 编辑
摘要:比如写的时候设置为阻塞,读的时候设置为非阻塞,就需要下面的切换方式 1、获取文件的flags,即open函数的第二个参数: flags = fcntl(fd,F_GETFL,0); 2、设置文件的flags: fcntl(fd,F_SETFL,flags); 3、增加文件的某个flags,比如文件是 阅读全文
posted @ 2017-11-07 14:14 aaronGao 阅读(2016) 评论(0) 推荐(0) 编辑
摘要:http://www.raviyp.com/embedded/189-serial-port-programming-in-linux-using-c-working-code 阅读全文
posted @ 2017-11-06 17:43 aaronGao 阅读(549) 评论(0) 推荐(0) 编辑
摘要:修改文件:board/ti/am43xx/mux.c 修改内容:void enable_board_pin_mux(configure_module_pin_mux(d3d4_pin_mux) 阅读全文
posted @ 2017-11-06 14:42 aaronGao 阅读(962) 评论(0) 推荐(0) 编辑
摘要:如在uEnv.txt中, uboot中: include/configs/am43xx_evm.h 阅读全文
posted @ 2017-11-06 13:30 aaronGao 阅读(485) 评论(0) 推荐(0) 编辑
摘要:#git 如何实现vimdiffgit config --global diff.tool vimdiff git config --global difftool.prompt false git config --global alias.d difftool 然后使用 git d 打开对比代码 阅读全文
posted @ 2017-11-06 11:37 aaronGao 阅读(2826) 评论(0) 推荐(0) 编辑
摘要:转自:http://blog.csdn.net/giantpoplar/article/details/47657303 前面说到的进程间的通信,所通信的进程都是在同一台计算机上的,而使用socket进行通信的进程可以是同一台计算机的进程,也是可以是通过网络连接起来的不同计算机上的进程。通常我们使用 阅读全文
posted @ 2017-11-02 14:11 aaronGao 阅读(14891) 评论(2) 推荐(2) 编辑
摘要:两台机器公用键盘鼠标 如果是Linux: 下载synergy相关的deb包,然后 阅读全文
posted @ 2017-11-01 10:12 aaronGao 阅读(235) 评论(0) 推荐(0) 编辑

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