<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[chenben的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/chenben</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; chenben]]></copyright><item><title><![CDATA[瑞盟步进电机芯片（MS41929，41949）INTCT、PSUM配置说明]]></title><link>https://blog.csdn.net/chenben/article/details/136968295</link><guid>https://blog.csdn.net/chenben/article/details/136968295</guid><author>chenben</author><pubDate>Sat, 23 Mar 2024 20:59:29 +0800</pubDate><description><![CDATA[瑞盟MS41929等芯片规格书内关于配置INTCT和PSUM的值的说明很不好理解。经过几天的反复阅读和试验，终于搞通了设置的方法。]]></description><category></category></item><item><title><![CDATA[QT 程序异常结束，crashed]]></title><link>https://blog.csdn.net/chenben/article/details/124190614</link><guid>https://blog.csdn.net/chenben/article/details/124190614</guid><author>chenben</author><pubDate>Fri, 15 Apr 2022 11:23:49 +0800</pubDate><description><![CDATA[刚刚在Windows下搭建的QT环境，编译好Opencv。写了个简单的imshow程序，运行时却出现了提示：

程序异常结束。

E:\Opencv_test\test.exe crashed.

我没有适用opencv_world，所以网上提示的修正方式都不适合我。

经过网上一番查找和尝试，最后发现问题的原因是：

忘记了将opencv的bin文件夹加入到环境变量中。

在环境变量path中加入D:\opencv_lib\install\x64\mingw\bin后，关闭QT工程，重新打开（使环境变量生]]></description><category></category></item><item><title><![CDATA[v3s启动选项]]></title><link>https://blog.csdn.net/chenben/article/details/121868559</link><guid>https://blog.csdn.net/chenben/article/details/121868559</guid><author>chenben</author><pubDate>Sat, 11 Dec 2021 08:50:53 +0800</pubDate><description><![CDATA[（一）、从《Allwinner_V3s_Datasheet_V1.0.pdf》，第60页摘录：







（二）、从《系统配置手册.pdf》，第81页摘录：






]]></description><category></category></item><item><title><![CDATA[Win10右键点击文件夹出现卡死，未响应的解决方法。]]></title><link>https://blog.csdn.net/chenben/article/details/119770229</link><guid>https://blog.csdn.net/chenben/article/details/119770229</guid><author>chenben</author><pubDate>Wed, 18 Aug 2021 01:21:29 +0800</pubDate><description><![CDATA[搜索了很多网页终于在知乎里面找到一个唯一好用的方法。感动之下，分享到CSDN。希望更多人看到。顺便吐槽一下，百度网盘的右键功能惹的祸。百度网盘大垃圾。

下面时原文链接：

WIN10在文件夹里点右键无反应鼠标一直在转圈圈然后会文件夹处会显示未响应！怎么回事？求大神指点谢谢！ - 黄旭豪的回答 - 知乎 https://www.zhihu.com/question/41279815/answer/139007395
...]]></description><category></category></item><item><title><![CDATA[STM32 Timer 一次计数出现两次中断？]]></title><link>https://blog.csdn.net/chenben/article/details/119700880</link><guid>https://blog.csdn.net/chenben/article/details/119700880</guid><author>chenben</author><pubDate>Sat, 14 Aug 2021 15:08:46 +0800</pubDate><description><![CDATA[大家看看这段代码，很简单，好像没有问题。应该能得到方波输出。
extern u8 gpio_flg;
void TIM2_IRQHandler(void)
{
    if(gpio_flg==0) {
        gpio_flg = 1;
        GPIO_SetBits(GPIOB, GPIO_Pin_12);
    } else {
        gpio_flg = 0;
        GPIO_ResetBits(GPIOB, GPIO_Pin_12);
    }
    T]]></description><category></category></item><item><title><![CDATA[全志V3s开发板ADC开发笔记]]></title><link>https://blog.csdn.net/chenben/article/details/114800853</link><guid>https://blog.csdn.net/chenben/article/details/114800853</guid><author>chenben</author><pubDate>Wed, 17 Mar 2021 22:31:23 +0800</pubDate><description><![CDATA[ADC被用于按钮识别，在\linux-3.4\drivers\input\keyboard\sunxi-keyboard.c中被调用。

由于ADC被占用，如果想用于其他功能，就要在内核配置中去掉sunxi keyboard选项。

驱动分析：

1. 在驱动prob时有三个步骤

（1）调用初始化函数：


static void battery_adc_init(void)
{
 script_item_u script_val;
 script_item_value_type_e type...]]></description><category></category></item><item><title><![CDATA[关于串口通讯每次只能接收8个字节]]></title><link>https://blog.csdn.net/chenben/article/details/77772822</link><guid>https://blog.csdn.net/chenben/article/details/77772822</guid><author>chenben</author><pubDate>Fri, 01 Sep 2017 15:44:10 +0800</pubDate><description><![CDATA[这两天在某嵌入式系统做了个串口通讯程序，遇到了每次只接收8个字节的问题。相信很多人都遇到了。
上网一查资料，找到串口配置结构体struct termios中的c_cc[VTIME] 和c_cc[VMIN]参数。
c_cc[VTIME]
  // 等待时间，单位百毫秒
c_cc[VMIN]   // 最小字节数

VMIN自然就是最少接收的字节数了。那不足VMIN的话怎么办呢]]></description><category></category></item><item><title><![CDATA[巧妙的按键扫描程序，核心算法只有三行]]></title><link>https://blog.csdn.net/chenben/article/details/27514241</link><guid>https://blog.csdn.net/chenben/article/details/27514241</guid><author>chenben</author><pubDate>Thu, 29 May 2014 11:58:08 +0800</pubDate><description><![CDATA[新型的按键扫描程序


不过入式处理器上面我在网上游逛了很久，也看过不少源程序了，没有发现这种按键处理办法的踪迹，所以，我将他共享出来，和广大同僚们共勉。我非常坚信这种按键处理办法的便捷和高效，你可以移植到任何一种嵌，因为C语言强大的可移植性。
同时，这里面用到了一些分层的思想，在单片机当中也是相当有用的，也是本文的另外一个重点。
对于老鸟，我建议直接看那两个表达式，然后自己想想就会懂的]]></description><category></category></item><item><title><![CDATA[基于V4L2的视频驱动开发]]></title><link>https://blog.csdn.net/chenben/article/details/21959949</link><guid>https://blog.csdn.net/chenben/article/details/21959949</guid><author>chenben</author><pubDate>Mon, 24 Mar 2014 15:24:06 +0800</pubDate><description><![CDATA[基于V4L2的视频驱动开发

 

作者：刘洪涛,华清远见嵌入式学院讲师。

转自http://www.embedu.org/Column/Column320.htm

编写基于V4L2视频驱动主要涉及到以下几个知识点：

●    摄像头方面的知识
                要了解选用的摄像头的特性，包括访问控制方法、各种参数的配置方法、信号输出类型等。

●  ]]></description><category></category></item><item><title><![CDATA[linux下使用mmap控制GPIO]]></title><link>https://blog.csdn.net/chenben/article/details/21478077</link><guid>https://blog.csdn.net/chenben/article/details/21478077</guid><author>chenben</author><pubDate>Tue, 18 Mar 2014 20:23:42 +0800</pubDate><description><![CDATA[linux下使用mmap控制GPIO
原文地址：  
http://mikenoodle.blog.163.com/blog/static/1133352200861274159875/
 







如果没有/dev/mem,则执行
mknod /dev/mem c 1 1

编译下面的代码
 
#include  
#include  
#include]]></description><category></category></item><item><title><![CDATA[释放Linux操作系统文件缓存]]></title><link>https://blog.csdn.net/chenben/article/details/18651659</link><guid>https://blog.csdn.net/chenben/article/details/18651659</guid><author>chenben</author><pubDate>Wed, 22 Jan 2014 08:27:38 +0800</pubDate><description><![CDATA[释放Linux操作系统文件缓存  
转自：http://pthread.blog.163.com/blog/static/1693081782011111402639863/





自从工作了，再也没有更新过这个技术博客。一来工作了没什么好写的，二来确实也挺忙。最近稍微有点空闲，先开一个写一点吧。

记得在公司做新人习题的时候，题目是通过网络和本地分别读取一个约12G的大文件]]></description><category></category></item><item><title><![CDATA[RTSP协议中文版]]></title><link>https://blog.csdn.net/chenben/article/details/17526021</link><guid>https://blog.csdn.net/chenben/article/details/17526021</guid><author>chenben</author><pubDate>Tue, 24 Dec 2013 11:14:01 +0800</pubDate><description><![CDATA[转载地址：  
http://blog.csdn.net/jgdu1981/article/details/6780398
 
1 绪论

1.1 目的
实时流协议（RTSP）建立并控制一个或几个时间同步的连续流媒体。尽管连续媒体流与控制流有可能交叉，但RTSP本身通常并不发送连续媒体流。换言之，RTSP充当多媒体服务器的网络远程控制。
表示描述(presentation descr]]></description><category></category></item><item><title><![CDATA[wcstombs 使用，支持中文档unicode]]></title><link>https://blog.csdn.net/chenben/article/details/17066387</link><guid>https://blog.csdn.net/chenben/article/details/17066387</guid><author>chenben</author><pubDate>Mon, 02 Dec 2013 08:03:52 +0800</pubDate><description><![CDATA[wcstombs 使用之二，支持中文当unicode


        当你调试进入源码，你会发现wcstombs 这个函数是和locale有关的。locale如果设置不对，那么程序运行将不能得到预期结果。
当C语言程序初始化时(刚进入到 main() 时)，locale 被初始化为默认的 C locale，其采用的字符编码是所有本地 ANSI 字符集编码的公共部分，是用来书写C语言源程]]></description><category></category></item><item><title><![CDATA[小故事 网关、ARP、IP、MAC、路由的形象比喻]]></title><link>https://blog.csdn.net/chenben/article/details/12945103</link><guid>https://blog.csdn.net/chenben/article/details/12945103</guid><author>chenben</author><pubDate>Tue, 22 Oct 2013 11:24:54 +0800</pubDate><description><![CDATA[2013-01-01 00:46 
小故事 网关、ARP、IP、MAC、路由的形象比喻


 原文地址： 
http://hi.baidu.com/qaz6401877/item/cbb6a09d15ae3a1d934f417a
很多人对于网关、ARP、IP、MAC、路由理解不清楚，下面这个简单形象的小故事，你一看就明白了。
假设你叫小不点（本地主机），住在一个大院子（本地局域网）里]]></description><category></category></item><item><title><![CDATA[Onvif 设备发现的多网卡选择问题]]></title><link>https://blog.csdn.net/chenben/article/details/12650899</link><guid>https://blog.csdn.net/chenben/article/details/12650899</guid><author>chenben</author><pubDate>Sat, 12 Oct 2013 14:49:16 +0800</pubDate><description><![CDATA[经历了千辛万苦的尝试，原来onvif上处理多网卡的选择是如此简单，soap的设计早就考虑好了此问题。
苦水不多说了，步骤如下：
1、获取本机的各网卡的IP地址。
      在网上看见讲得比较多的方法有两个。
      一是将ipconfig  /all的运行结果保存到文件，然后分析出各IP地址。但是我实操是遇到了操作系统的语言问题。我测试了三台电脑，一台回复全英文的，一台回复中英文结合]]></description><category></category></item><item><title><![CDATA[onvif_gsoap开发中的一些疑虑]]></title><link>https://blog.csdn.net/chenben/article/details/9920731</link><guid>https://blog.csdn.net/chenben/article/details/9920731</guid><author>chenben</author><pubDate>Mon, 12 Aug 2013 11:42:51 +0800</pubDate><description><![CDATA[onvif_gsoap开发中的一些疑虑
原文链接：http://hi.baidu.com/gpf626487/item/77e50c57fc5e2b3e32e0a9ce

    ①(*********)soap结构中count(soap->count)成员记录的是http协议中Content-Length的数值;
    ②keep_alive既是在通讯过程中的正常链接的一个状态标示也是]]></description><category></category></item><item><title><![CDATA[Onvif客户端出现“SOAP 1.2 fault: SOAP-ENV:Sender [no subcode]”错误解释]]></title><link>https://blog.csdn.net/chenben/article/details/9468199</link><guid>https://blog.csdn.net/chenben/article/details/9468199</guid><author>chenben</author><pubDate>Thu, 25 Jul 2013 14:55:59 +0800</pubDate><description><![CDATA[用Onvif test tool测试自己写的Onvif client时，Probe收到此信息：
SOAP 1.2 fault: SOAP-ENV:Sender [no subcode]
"Stopped: no response sent or received (informative)"
Detail: [no detail]
        找了好久，才发现原来不是代码错误，而是On]]></description><category></category></item><item><title><![CDATA[Windows下用gSoap编译Onvif框架流程总结]]></title><link>https://blog.csdn.net/chenben/article/details/9309455</link><guid>https://blog.csdn.net/chenben/article/details/9309455</guid><author>chenben</author><pubDate>Fri, 12 Jul 2013 11:39:33 +0800</pubDate><description><![CDATA[Windows下用gSoap编译Onvif框架流程总结
1、wsdl2h.exe使用
1）    在Onvif官网Specification页面中下载提供的功能相应的wsdl文件，如analytics.wsdl；devicemgmt.wsdl等。地址
   http://www.onvif.org/Documents/Specifications.aspx
 
2 ）运行wsdl2h.e]]></description><category></category></item></channel></rss>