完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,
我刚刚购买了一个评估板(iNemo STEVAL-MKI062V2),我正在尝试用C ++中的Visual Studio 2010 Professional运行一个应用程序。以下是我的疑惑: - 作为用户指南,我刚刚找到了pdf(应用笔记AN3144),但我意识到这是针对版本1(STEVAL-MKI062V1)。 V1和V2之间有什么区别吗? - 然后,我尝试使用版本1的帮助手册并创建一个程序。但我无法连接电路板。 在线: iNEMO_Return变量,返回8(表示CMD_tiMEOUT) 然后,Visual studio说: 即使我在Project文件夹中有两个文件 有什么想法解决这个问题?因为现在我无法连接。 我不得不说iNEMO应用程序工作正常。 提前致谢。 奥里奥尔 #sdk #inemo#visual-studio-2010-professional-c ++#stevalmki062v2 #mems-inemo#visual-studio#stevalmki062v1 以上来自于谷歌翻译 以下为原文 Hello everyone, I've just purchased an evaluation board (iNemo STEVAL-MKI062V2) and I'm trying to run an application in Visual Studio 2010 Professional in C++. Here are my doubts: - As user guide I just found the pdf (Application Note AN3144) but I've realised that this is for the Version1 (STEVAL-MKI062V1). Is there any difference between V1 and V2? - Then, I've tried to use the help manual for version 1 and create a program. But I can't connect the board. in the line: the iNEMO_Return variable, returns me an 8 (which means CMD_TIMEOUT) Then, Visual studio says: even though I have both files in the Project folder Any idea to solve this? Cause by now I couldn't connect. I have to say that the iNEMO application works fine. Thanks in advance. Oriol #sdk #inemo #visual-studio-2010-professional-c++ #stevalmki062v2 #mems-inemo #visual-studio #stevalmki062v1 |
|
相关推荐
8个回答
|
|
嗨Oriol,
您需要从以下URL下载并安装iNemo Suite v2.0.0(http://www.st.com/internet/evalboard/product/250367.jsp 一个 “设计支持” “软件与软件”开发工具 - à “iNEMO GUI和固件”。这是一个适用于您的设备连接的应用程序。在''Redistrib''文件夹下的安装路径中,您将找到iNEMO2_SDK.dll及其依赖项TL_002.dll和PL_001.dll,用于开发您自己的应用程序(您需要这些运行应用程序以访问STEVAL-MKI062V2的dll。 您还可以在''Redistrib''文件夹中找到win32应用程序的iNEMO2_SDK.h和C#应用程序的INEMO2_SDK_Wrapper.cs(在.NET中)。您可以使用它来访问inemo2_sdk.dll API。 最好的祝福 以上来自于谷歌翻译 以下为原文 Hi Oriol, You need to download and install the iNemo Suite v2.0.0 from the following url (http://www.st.com/internet/evalboard/product/250367.jsp à “Design Supportâ€� à “Software & Development Toolsâ€� à “iNEMO GUI and firmwareâ€�). This is an application that works with your device connected.In the installation path under ''Redistrib'' folder you will find the iNEMO2_SDK.dll and its dependencies TL_002.dll and PL_001.dll for developing your own application (you need to have these dlls where your application runs to access the STEVAL-MKI062V2). You will found also in ''Redistrib'' folder the iNEMO2_SDK.h for win32 applications and the INEMO2_SDK_Wrapper.cs for C# application (in .NET). You can use this to access the inemo2_sdk.dll API. Best Regards |
|
|
|
谢谢法比奥。
我找到了你告诉我的所有内容但仍然使用STEVAL-MKI062V1存在一个应用程序代码文档,你可以在这里看到: http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/APPLICATION_NOTE/CD00263092.pdf 我只是想确保它与STEVAL-MKI062V2不存在因为现在我正在尝试使用第一个版本来实现iNEMO2_SDK.h的功能而且更容易拥有版本2 谢谢 以上来自于谷歌翻译 以下为原文 Thanks Fabio. I've found everything you've told me but still with the STEVAL-MKI062V1 exists an application code document that you can see here: http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/APPLICATION_NOTE/CD00263092.pdf I just want to make sure that it doesn't exist with the STEVAL-MKI062V2 cause by now I'm trying to use the first version to implement the functions of the iNEMO2_SDK.h and it would be easier to have the Version 2 Thanks |
|
|
|
我只想说法比奥,我已经设法使用这些功能并从iNEMO获取数据
STEVAL-MKI062V2。谢谢你的信息。 奥里奥尔 以上来自于谷歌翻译 以下为原文 I just wanted to say Fabio that I've already manage to use the functions and get the data from the iNEMO STEVAL-MKI062V2. So thanks for your information. Oriol |
|
|
|
嗨Oriol,
在最近几周,我开发了一个与iNemo STEVAL-MKI062V2配合使用的Matlab应用程序,用于估算器件的方向。 现在我正在尝试在MS Visual C ++ 2008 Express Edition中实现该算法,但我遇到了一些问题:即使代码编译正确并且执行没有异常,我也无法获得任何结果和返回变量iNemo命令设置为1.我附上了所描述功能的源代码。 你是如何使用C ++解决连接问题的? 提前致谢。 丹尼尔 以上来自于谷歌翻译 以下为原文 Hi Oriol, during latest weeks i developed a Matlab application working with iNemo STEVAL-MKI062V2 which estimate the device orientation. Now i'm trying to implement the algorithm in MS Visual C++ 2008 Express Edition, but i'm having some problems: even though the code is compiled correctly and executed without exceptions, i can't get any result and the return variables of the iNemo commands are setted to 1. I've attached the source code of the function described. How did you resolve the connection problem using C++? Thanks in advance. Daniele |
|
|
|
Ciao Daniele,
附加一个ccp作为示例,用于从连接到同一台PC的2块板获取数据。 现在,您可以在Visual Studio 2005/08/10上创建应用程序consolle并导入该文件。 请注意,以便在启动可执行文件的同一文件夹中具有依赖项(iNEMO的重新分发文件夹)。 一个presto 以上来自于谷歌翻译 以下为原文 Ciao Daniele, Attached one ccp as example for get data from 2 boards connected to the same pc. Now you can create the application consolle on Visual Studio 2005/08/10 and import the file. Pay attention in order to have the dependencies (redistribution folder of iNEMO) in the same folder where the executable is launched. A presto |
|
|
|
感谢您的快速回复
我创建了一个具有所需依赖项的新控制台应用程序,成功编译然后启动。在连接过程中我仍然有错误; com端口设置为正确的值(COM5,如在Matlab中),但处理的设备号是4294967295(2 ^ 32 -1),我收到应用程序错误消息(无法连接到iNEMO ......) 。 我附上了源代码。 我哪里错了? Grazie mille Fabio ...... 以上来自于谷歌翻译 以下为原文 Thanks for the quick reply I have created a new console app with the required dependencies, compiled it successfully and then launched. I'm still having errors during the connection; the com port is setted to the correct value (COM5 as in Matlab), but the handled device number is 4294967295 (2^32 -1) and i get the application error message (Failed to connect to iNEMO......). I've attached the source code. Where am i wrong? Grazie mille Fabio... |
|
|
|
嗨,
我已经解决了连接问题;它们是由于使用了不正确的库(它们不是最新版本)。一旦我下载了最新版本的iNemo Suit和DfuSe,我就可以使用相同的C ++文件连接到设备(现在我也可以使用AHRS模式)。 Grazie Fabio! 以上来自于谷歌翻译 以下为原文 Hi, i have resolved the connection problems; they were due to the usage of the not correct libraries (they were not the latest versions). Once i've downloaded the latest versions of the iNemo Suit and DfuSe i've been able to connect to the device with the same C++ file (now i can also use the AHRS mode). Grazie Fabio! |
|
|
|
...我很高兴有个好消息!
只是为了突出显示SDK文件中的内容,您可以找到一个示例,它将SDK文件的加载顺序显示在Visual Studio 2005中。 再见 法比奥 以上来自于谷歌翻译 以下为原文 ...i'm pleased for good news! Just to highlight that inside the SDK file, you can find an example that show the loading sequence for SDK file into Visual Studio 2005. Ciao Fabio |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2632 浏览 1 评论
3208 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1783 浏览 1 评论
3607 浏览 6 评论
5987 浏览 21 评论
939浏览 4评论
1315浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
582浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1302浏览 3评论
1357浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 09:35 , Processed in 1.195509 second(s), Total 62, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号