Quantcast
Channel: Recent Discussions — Advantech IoT Developer Forum
Viewing all 263 articles
Browse latest View live

Yocto 1.8 penmount 触摸屏频繁触摸卡顿问题讨论

$
0
0

附件资料:

         链接:http://pan.baidu.com/s/1miuGbmK 密码:xxj2

最近广州昂立客户在测试“penmount 6000系列电阻式串口触摸屏”的时候发现这样的问题:在频繁触点的情况下,会出现短暂的卡顿。见附件视频。

平台信息:

         ROM-5420B1 四核2G

         Yocto1.8 ,kernel 3.14.52

触摸屏上报串口数据的格式:

         [0x30][..][..][..][..][..] [0x70][..][..][..][..][..]..  [0x70][..][..][..][..][..].. (省略)[0x30][..][..][..][..][..]

第一个0x03代表按下的动作;接着0x07是上报的触点数据,0x07的数据好多,而且具有随机性,对于这种现象,penmount方面也没有给出一个很明确的说法;最后一个0x30是代表松开的动作。

Penmount的触摸屏驱动是工作在serio总线驱动的基础上的,并通过在驱动penmount.c的 pm_interrupt 函数加打印坐标信息。我们发现两点情况:

1、信息打印很频繁,串口每接收一个“0x03”或“0x07”都会促使驱动进入一次中断。

2、在触点卡顿的情况下,即使没点击触摸屏,驱动还是源源不断的打印坐标信息。

于是,得出以下结论:

1、  进中断的次数很频繁,内核在pm_interrupt里面的时间开销很大。

2、  由于linux是非实时性内核,而且pm_interrupt是软中断,很容易被一些优先级更高的中断抢占,如外部中断。

3、  根据上面两点,可以得出卡顿的出现,正是由于在pm_interrupt函数里面的时间开销太大导致的。换句话说,也就是整个触摸屏的工作方式导致这个问题出现。

为了证明上面第三点,我们使用了penmount提供的一个测试报点的程序:pm-sniff,其工作原理是,每隔0.1秒轮询串口数据,使用方式:

         ./pm-sniff /dev/ttymxc3 19200 6000     //触摸屏接到了ttymxc3上

结果发现,pm-sniff轮询的方式打印很平均,不会出现上面的问题现象。

这似乎证明了我们的结论,但是又很奇怪,难道penmount的触摸屏没人遇到过这样的问题?还是说在其他IC平台上不会出现这样的问题?会跟imx6的串口工作方式有关系?

最后,尝试采取可以改善的措施:

1、  调小imx6串口接收buffer的大小,使中断处理加快。

2、  修改penmount驱动pm_interrupt中断函数的处理逻辑,减少中断的时间开销。

第一点、        是penmount给我们的建议,但查看了imx6的Datasheet,看到UART的“The RxFIFO contains 32 half-word entries”,但是没找到相关的修改方法,驱动里面也没找到有定义RXFIFO大小的地方。请台北同事协助看看。

第二点、        调整驱动pm_interrupt中断函数的处理逻辑,减少中断的时间开销。Patch见附件。修改后,问题得到改善,出现概率降低,复现时间更长。但也不能根本解决问题。

所以,最后得到的状态是,只能改善,不能根治。如果想问题彻底得到解决,是否需要重新编写驱动程序,采用轮询的方式处理串口数据?


Remote Monitoring Healthcare Product In IoT

$
0
0
Hi Everyone, This is Mrs.Muthumari from trichy... currently i am working on Remote monitoring wearable device ... that wearable device monitoring the all the health related parameters from them and send it to local storage and the external storage using GSM.... that collected data sent to cloud via Gateway... from the cloud data we can develop web application and the mobile application to view the status... and its analytics by the bigdata developer for the future enhancement

Is it possible to send data from WISE-4012 to private IIS server?

$
0
0
Hi,
I have WISE-4012 and would like to send data to my IIS Web server (currently I send data to my Dropbox account, and it works fine). I tried to choose "Private server" in configuration of WISE-4012, and set my IIS server IP and port. The web server is working, (I created directory /upload_log, /sys_log and /io_log, and place there some index.html file to check if the server is working), but the WISE-4012 can't upload file there. There is upload and push error in logs. How to configure IIS to be able send data to it? Does anybody tried to do this? Is it possible?

Best regards
Mariusz

out using a silicon dioxide preform-the simple source

$
0
0
Central combines regarding silicon and also germanium have got several intriguing optoelectronic attributes. Nonetheless, through <a href="http://www.antyco.com">ZnSe crystal</a>  the fiber-drawing method, germanium (reduing level 938 °C) will “freeze” set up just before silicon <a href="http://antyco.com/LBO-18-22.html">LBO crystal</a>  solidifies with 1414 °C, causing very inconsistent mixes with the components. Ursula Gibson, any physics professor on the Norwegian School regarding Research and also Engineering as well as the inward bound OSA vice chief executive, identified together with the girl colleagues in which reheating the particular soluble fiber following your pulling method final results inside homogeneous central formula.

The particular experts started out using a silicon dioxide preform-the simple source regarding enable optical fibers-that ornamented any silicon rods and also germanium photo. “In our own approach, the particular semiconductor central melts entirely, blending the particular silicon and also germanium, then a goblet will be driven straight down, ” Gibson claims. “The central solidifies following your dimension will be lowered from the encapsulating goblet. ”

In the event the method ceased right now there, the particular staff would certainly get dendritic constructions as well as other inhomogeneities inside the fiber’s central. The particular experts, nonetheless, put through <a href="http://www.antyco.com/Silicon-Windows-page-9-4.html">Silicon Window</a>  the particular soluble fiber to be able to recrystallization simply by relocating that from <a href="http://antyco.com/Sapphirre-Windows-page-9-5.html">Sapphire Window</a>  the ray of your carbon-dioxide laserlight, running with a wavelength regarding 10. 6 μm and also targeted in to a area dimensions regarding 166 μm. The particular silica cladding absorbs the particular infrared ray simply to any degree regarding concerning 20 μm, thus winter conduction from your surface area melts the particular central.

The particular staff experimented together with different central diameters, central compositions and also soluble fiber velocities to ascertain essential parameters-since the particular more compact the particular central, the bigger the particular essential pace necessary to attain recrystallization. Great handle of these ranges can enable the constructing regarding beneficial microstructures, for instance Bragg gratings, inside fibres. The particular experts furthermore analyzed the particular semiconductor-core fiber’s transmitting skills together with signs with 1500 and also 2000 nm.

Introduction to Azure Cloud Platform

WISE-1520 and Azure IoT

$
0
0
I have a WISE-DK1520 and would like to program it to connect to Azure IoT.  Is this possible or does this device only connect to the WISE‐PaaS/RMM backend?

WISE-PaaS/RMM WISE-Agent -命令格式

$
0
0
標題 : WISE命令格式
大綱 Outline:
1.OVERVIEW
2.RMM Agent Communication Protocol
3.RMM Agent Packet Format
4.Agent Connection Protocol
5.Agent Command
6.Hardware Monitor
7.Power On Off
8.Recovery
9.Protection
10.Remote KVM
11.Software Monitor
12.Terminal
13.Screen shot
14.Network Monitor
15.SUSI Control
16.Hard-Disk Monitor
17.Process Monitor
18.Server Redundancy


下載點 Download 1 (Dropbox)
下載點 Download 2 (China)



WISE-PaaS/RMM WISE-Agent - 编程指南


物聯網嵌入式解決方案 導論

$
0
0
標題 Title: 物聯網嵌入式解決方案 導論
大綱 Outline:
1. WISE-Cloud in IoT Value Chain
2. WISE-Cloud Benefits
3. IoT SDK Package
4. Cloud Services
5. Powerful Core Module: SUSIAccess
6. What can be used in Microsoft Azure?
7. WISE-Cloud Collaboration
8. Co-Marketing Services

下載點Download 1 (Dropbox)
下載點Download 2 (China)


SUSI 物聯網導論

SDK 閘道器導論

傳感器設備 SDK 導論

WISE Agent 導論

WISE REST API 導論

$
0
0
標題 WISE REST API 導論
大綱
1.History of APIs
API History and Revolution
The History of Modern Web APIs
Big” Web Services


2.REST


REST APIs
How to use REST APIs
REST API HTTP methods
REST API Response Codes
REST API Content Type
XML, JSON
How to write a REST API


3.WISE APIs
4.WISE API Data Type
5.WISE API Authentication
6.WISE API Notification
7.WISE API Error Code
8.WISE API “GET” example
9.WISE API “POST” example
10.WISE API “DELETE” example
11.How to access WISE APIs in 5 minutes


下載點 Download 1(Dropbox)
下載點 Download 2 (China)



Azure 機器學習實際操作

$
0
0
標題 : Azure 機器學習實際操作
大綱 :
  1. Predictive Maintenance Model
  2. Sample Application
  3. SECOM Dataset
  4. Upload The Dataset To Azure ML
  5. Start A New Experiment
  6. Process The SECOM Dataset
  7. Train The 1st Classification Model
  8. Train The 2nd Classification Model
  9. Train The 3rd Classification Model
  10. Score And Evaluate On Each Model
  11. Result Of Evaluate 1 (left)
  12. Result Of Evaluate 2 (right)

下載點 Download 1 (Dropbox)

下載點 Download 2 (China)




Azure 的進階服務

$
0
0
標題 :Azure 的進階服務
大綱 :
  1. What Is Machine Learning
  2. Purpose Of Machine Learning?
  3. Machine Learning Process
  4. Types Of Learning
  5. Classes Of Learning
  6. Machine Learning Algorithms
  7. More Machine Learning Can Do
  8. Before You Dig In
  9. Who Can Help You?
  10. Azure Regions
  11. Azure ML Workflow
  12. Azure ML Canvas
  13. Azure ML Data Input
  14. Azure ML Data Output By R
  15. Azure ML Gallery Samples
下載點 Download 1 (Dropbox)
下載點 Download 2 (China)



Azure 與 VM 安裝導論

高階API _SUSI IoT 使用手冊

平台驅動程式_iManager 2.0 API 使用手冊

平台驅動程式_ SUSI 3.02 API 使用手冊

Viewing all 263 articles
Browse latest View live