摘要: 在ubuntu下或者openwrt下安装了ser2net程序之后,可以将串口中的数据转发为以太网数据。设置在/etc/ser2net.conf中最后:3002:0:/dv/ttyUSB0:115200 8DATABITS 1STOPBIT banner运行时执行ser2net就可以了(ubuntu下... 阅读全文
posted @ 2014-04-02 17:00 Merlin-magic 阅读(2208) 评论(0) 推荐(0) 编辑
摘要: 最近在看openwrt时看到的一个方法,直接看下面写的:文章来自:http://wiki.openwrt.org/doc/hardware/port.serial经实际测试时发现,将万用表的负表笔接地,测TX电压为2.7V,测RX电压为0V。测电阻的方法反而不明显。 阅读全文
posted @ 2014-04-01 16:36 Merlin-magic 阅读(3912) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/yuanlu837/article/details/7750492 阅读全文
posted @ 2014-03-30 01:55 Merlin-magic 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 使用过程中发现STM32W芯片在驱动液晶SPI液晶时,在调试状态下可以正常工作但在通常运行情况下却没有任何显示!经查发现我使用的两个端口PC0和PC3的电平很不正常,拉不高。所以我就怀疑到IO口问题了,因为这两个口正是JTAG所使用的,可能芯片正在调试状态时它可以拉高或者拉低,而没有调试连接的时候它... 阅读全文
posted @ 2014-03-29 09:30 Merlin-magic 阅读(541) 评论(0) 推荐(0) 编辑
摘要: 参考网站:http://wiki.openwrt.org/doc/howto/buildroot.exigence需要下载必要的库文件,编译器等。。。1 首先要获得openwrt的源码,参考openwrt.org官方网站的内容 https://dev.openwrt.org/wiki/GetSour... 阅读全文
posted @ 2014-03-26 13:50 Merlin-magic 阅读(6378) 评论(0) 推荐(0) 编辑
摘要: 跟我一起写MakefileGNU make 阅读全文
posted @ 2014-03-26 11:03 Merlin-magic 阅读(819) 评论(0) 推荐(0) 编辑
摘要: http://blog.chinaunix.net/uid-20321537-id-1966847.html 阅读全文
posted @ 2014-03-25 17:04 Merlin-magic 阅读(236) 评论(0) 推荐(0) 编辑
摘要: http://blog.chinaunix.net/uid-26009923-id-3376856.html 阅读全文
posted @ 2014-03-25 11:24 Merlin-magic 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 默认的情况下,如果我们使用一般用户去打开串口的话会出现 open failed 的错误这个时候你可以在执行打开串口时加一个sudo,但每次这么需要这么干实在是太麻烦了。这有一个方法可以跳过以超级用户执行串口终端的方法:1 查看/dev/ttyUSB0的组为dialout2 将当前的普通用户加到该组下... 阅读全文
posted @ 2014-03-25 00:00 Merlin-magic 阅读(1724) 评论(0) 推荐(0) 编辑
摘要: http://book.51cto.com/art/201210/359166.htm 阅读全文
posted @ 2014-03-23 23:25 Merlin-magic 阅读(149) 评论(0) 推荐(0) 编辑