WinDriver supports PCI Message-Signaled Interrupts (MSI) and Extended Message-Signaled Interrupts
2018-06-21 11:03
;FS_xxx > 0") is signaled. Parameters[in] flashStatus The flash status C语言中回调函数一和二,直接打印输出void
2019-02-19 10:21
is the number ofmilliseconds spent waiting for the semaphore to be signaled. If thesemaphore wasn't
2020-03-05 04:35
嗨,我的写作基于尖叫实例代码应用,我从waitforxfer方法奇怪的行为。至少,我认为这是奇怪的基础上如何我见过在代码中使用的例子waitforxfer。另外,在细节的方式,多给文档没有。在我的计划,我想读一个连续的数据流从一个批量端点使用排队重叠转换方法在尖叫的代码例子提供了(看代码的xferthread,locknload和xferdata方法)。事实上,我没有在这段代码变多了,除了一个等待循环在waitforxfer呼叫和传入的数据写入文件中的每一个循环队列。我的问题是,WaitForXfer总是返回false,这意味着它已经超时等待信号,要求的数据到操作系统。这是错误的,因为我可以看到u***lyzer(嗅探程序),请求将在USB(从前面的begindataxfer调用),将数据从设备到。我的程序在一个循环里,WaitForXfer多次打电话并等待它返回true,这样的程序可能会继续给FinishDataXfer打电话和写数据到一个文件。尽管数据已经进来,WaitForXfer没有表明它的存在(在我看来,它应该),所以我计划停留在等待循环。我给WaitForXfer一个合理的超时500ms。因为CyUSB是一个黑盒子,我不知道如何解决这任何进一步。是我WaitForXfer的预期行为的正确理解?谁能提供一些洞察是什么问题吗?我使用的是WindowsXP和SUITEUSB 2。谢谢 以上来自于百度翻译 以下为原文 Hi, I'm writing an application based on the Screamer example code and I'm seeing strange behavior from the WaitForXfer method. At least, I think it's strange based on how I've seen WaitForXfer used in the code examples. Also, the documentation doesn't give much in the way of details. In my program, I'm trying to read a continuous stream of data from a bulk endpoint using the queued overlapped-transfer methodology provided in the Screamer example code (see the code's XferThread, LockNLoad and XferData methods). In fact, I haven't changed much in that section of the code, except for adding a wait loop at the WaitForXfer call and writing the incoming data to file every one cycle through the queue. My problem is that WaitForXfer always returns FALSE, meaning it has timed-out waiting for the OS to signal that the requested data has arrived. This is wrong, because I can see in USBlyzer (a sniffer program) that the requests are going out on the USB (from the preceding BeginDataXfer calls) and that the expected data is arriving from the device. My program sits in a loop, calling WaitForXfer multiple times and waiting for it to return TRUE, so that the program might proceed to call FinishDataXfer and write the data to a file. Even though the data has already come in, WaitForXfer never indicates its presence (seems to me that it should), and so my program stays in the wait loop. I'm giving WaitForXfer a reasonable timeout of 500ms. Since CyUSB is a black-box, I'm not sure how to troubleshoot this any further. Is my understanding of WaitForXfer's intended behavior correct? Can anyone provide some insight into what the problem might be? I'm using Windows XP and SuiteUSB 2.0. Thanks
2019-03-01 13:39
PCI-Express的结构是怎样组成的?
2021-05-19 06:38
嗨,我正在尝试与AWS IoT端点建立具有相互TLS身份验证的MQTT连接。我使用的命令是AT + S.MQTTCONN =♯♯♯♯♯.iot.eu-西1.amazonaws.com,443,,2 ,,,,,,,, (出于安全原因,我只部分粘贴主机名)。验证服务器端证书似乎存在一些问题,因为我们总是收到以下错误:AT-S.Certificate错误:11根据UM2114,错误意味着,但我无法理解哪个证书(客户端,服务器或ca)失败。我已经有了根据AN4963(和文件)中指定的约定,将AWS IoT根证书,客户端证书和客户端私钥分配到文件系统中。值得一提的是,即使没有加载证书,仍会显示相同的错误;这让我相信在解析服务器证书时应该发生失败。问题是由于我的错误使用造成的吗?或者这是模块的失败??附件我发送端点发送的证书链和带有AT + S.STS结果的屏幕截图,希望它们可能有用。非常感谢 #spwf04s #mqtt #iot #aws以上来自于谷歌翻译以下为原文 Hi,I am attempting to establish an MQTT connection with mutual TLS authentication to a AWS IoT Endpoint.The command I use is AT+S.MQTTCONN=♯♯♯♯♯.iot.eu-west-1.amazonaws.com,443,,2,,,,,,,, (I only paste the hostname partially for security reasons).There seems to be some issue validating the server-side certificate, since we always receive the following error:AT-S.Certificate Error:11According to UM2114, the error means , but I fail to understand which certificate (client, server or ca) is failing.I have already added the AWS IoT root certificate, client certificate and client private key into the filesystem, according to the convention specified in AN4963 (,andfiles).It may be worth mentioning that even if no certificates are loaded, the same error is still shown; this leads me to believe the failure should occur when parsing the server certificate.Is the problem caused by my wrong usage? Or is it a failure of the module??Attached I send the certificate chain the endpoint sends and a screenshot with the result of AT+S.STS, hoping they may be useful.Many thanks #spwf04s #mqtt #iot #aws
2019-02-27 06:35
各位好, 电脑是win7 64bit, c6678EVM通过AMC至PCIe适配卡插到电脑主板上的PCI槽中,现在项目中想实现的功能是:在电脑的内存中有一段大小约为6MB数据需要传输 到c6678的DDR3中,考虑到CPU占用问题,使用电脑的DMA进行传输,驱动是用windriver编写 我的问题是: 1. 可以不用电脑的DMA,改用c6678的EDMA3进行传输吗? 2.配置电脑的DMA时,需要注意什么问题呢?目标地址是用DDR3的全局地址吗? 3.PCIe的inbound和outbound address translate registers需要配置吗? 期待各位的答复!
2018-06-21 13:46
如题。裸机的LWIP没有这个问题,加上操作系统就出现了这个问题。具体情况是:STM32F429+DP8S848.开发板做服务器。用网口调试助手建立TCP连接之后,不断收发数据一上午没问题,但是一旦网口调试助手主动断开连接,程序必然卡死。有人遇到过类似的情况吗?到哪里可以看到LWIP的调试经验呢?目前我虽然能打印出LWIP的调试信息,但是对于代码结构原理和TCP/IP协议了解太少,不知从何下手。
2019-09-16 23:16
您好,我需要用相同的源代码在我的Windows主机上构建16个不同的HEX文件,只需改变一个定义的值(从0到15)。有没有办法使这个过程自动化?问候,勒欧 以上来自于百度翻译 以下为原文 Hello,I need to build 16 different hex files on my Windows host with same source code, by only changing the value of a define (from 0 to 15).Is there a way to automate this process?Regards,Léo
2018-08-31 17:25
你好我目前已经迁移到我的项目从一个PSoC 3-5(cy8ckit-014)。我的模拟设计使用模拟多路复用器的音序器在差分模式有6个双输入的GPIO。复用器是直接连接到一个差delsig ADC,16位@ 1000 SPS多采样模式。转换结果存储在一个数组中,并在ADC的中断有一个逻辑停止转换,改变多路信号并开始转换了。在PSoC 3中,这种设计是完全可行的。但当我切换到PSoC 5开始我从ADC得到奇怪的结果。一些输入通道转换的ADC,但输出值有明显的偏移,而且似乎attenuaded。其他渠道(主要是偶数)的回报总是相同的价值,无论对GPIO应用电压。此外,这似乎与PSoC复位输出值变化。我试图使用模拟多路复用器和多路模拟音序器,没有运气。当我连接引脚直接到ADC,转换工作正常。在单模式中使用模拟多路复用器也是有效的。所以,此刻,我结束了两个独立的器驱动ADC的输入。它工作,但我的模拟路由现在看起来像意大利面条。我使用PSoC创建者1生产(7727)。如果需要,我可以张贴更多的细节。还有其他人与这些黑客有类似的问题吗?或是有人已与差模器的工作项目?我会感激任何信息。当做汤姆 以上来自于百度翻译 以下为原文HelloI have currently migrated my project from a PSoC 3 to 5 (CY8CKIT-014). My analog design uses an Analog Mux Sequencer in differential mode with 6 dual inputs from GPIO. The Mux is connected directly to a differential DelSig ADC, 16-bit @ 1000 sps in multi-sample mode. Conversion results are stored in an array, and in the ADC's interrupt there is a logic to stop conversion, change mux channel and start conversion again.In the PSoC 3 this design was working perfeclty. But when I switched to the PSoC 5 I started to get weird results from the ADC. Some input channels are converted by ADC, but output values have significant offset, and seem to be attenuaded. Other channels (mainly evenly numbered) return always the same value, regardless of voltage applied to GPIO. Furthermore this output value seems to change with PSoC reset.I tried to use both Analog Mux and Analog Sequencer Mux, with no luck. When I connect pins directly to the ADC, conversion works properly. Using the Analog Mux in Single mode also works. So, at the moment, I ended up with two seperate muxes to drive both inputs of the ADC. It works, but my analog routing now looks like a spaghetti.I am using PSoC Creator 1.0 Production (7727). I can post more details if necessary.Does anybody else had similar issues with those muxes? Or mabye there is somebody who has working project with muxes in differential mode? I would be grateful for any iformation.RegardsTom
2019-07-23 13:15