FreeMASTER FCOMM .NET DLL

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

FreeMASTER FCOMM .NET DLL

跳至解决方案
3,773 次查看
bsprague
Contributor I

The FreeMASTER overview presentation (http://cache.freescale.com/files/microcontrollers/doc/reports_presentations/FREEMASTERPRESENT.pdf?fp...) page 24 refers to an FCOMM .NET DLL, described by "For .NET applications, we provide the FMCOMM example DLL project. The FMCOMM provides a .NET-compatible wrapper around plain-old C functions in Communication DLL."

Does anyone know if this example project actually exists and where I might find it? This would be very useful in leveraging the FreeMASTER communication interface for a custom application.

 

Michal Hanak

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
3,266 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Benjamin.

Ok, I´m attaching the project for you.

Use the Visual Studio 2013 to build the FMComm wrapper DLL and the test application project. Note that you need to have the following packages installed on the host PC when using the FMComm library.

    1. Dot Net Framework 4.5 https://www.microsoft.com/en-us/download/details.aspx?id=30653

    2. VS2012 redistributables https://www.microsoft.com/en-us/download/details.aspx?id=30679

    3. VS2013 redistributables https://www.microsoft.com/en-us/download/details.aspx?id=40784

    4. It is also recommended to have the FreeMASTER 2.0 installed to be able to use communication plug-ins.

I hope this helps you.

Best Regards,

Iva

在原帖中查看解决方案

8 回复数
3,265 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Benjamin Sprague,

yes, I received the answer from Michal.

The project exists, but it is little bit outdated. The last active development was made in 2007 in Visual Studio 2005. Just recently, the author has migrated it to VS2013 with some quick hacks to make it working in the latest .NET Framework. There are still some build warnings, but it seems the test application runs correctly.

I´m sending you the FMCOMM source code in private message.

Hope this helps you.

Best Regards,

Iva

3,265 次查看
bsprague
Contributor I

Thanks Iva, but I don't think I've received the message.

0 项奖励
回复
3,267 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Benjamin.

Ok, I´m attaching the project for you.

Use the Visual Studio 2013 to build the FMComm wrapper DLL and the test application project. Note that you need to have the following packages installed on the host PC when using the FMComm library.

    1. Dot Net Framework 4.5 https://www.microsoft.com/en-us/download/details.aspx?id=30653

    2. VS2012 redistributables https://www.microsoft.com/en-us/download/details.aspx?id=30679

    3. VS2013 redistributables https://www.microsoft.com/en-us/download/details.aspx?id=40784

    4. It is also recommended to have the FreeMASTER 2.0 installed to be able to use communication plug-ins.

I hope this helps you.

Best Regards,

Iva

3,266 次查看
bsprague
Contributor I

Thanks for your help Iva,

Unfortunately, the test application doesn't use the Application Command API, which was what I was hoping to learn more about. Specifically, it doesn't seem like the current protocol supports getting any response data from application commands. Perhaps this is a separate discussion, but are there any plans to update/expand the Freemaster protocol? I noticed in the header file for the comm library (mcbcom.h), that some commands such as GetAppCmdData have "v4+" comments that seem to indicate a protocol version 4 that isn't currently available to my knowledge.

0 项奖励
回复
3,266 次查看
francescodisilv
Contributor I

Hi, I have the same problem.You can send me, kindly, the FCOMM .NET DLL?

Thank you

0 项奖励
回复
3,266 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Francesco,

yes. I sent it to you on email.

I hope this helps.

In case of any issue, please let us know.

Best Regards,

Iva

0 项奖励
回复
3,266 次查看
Pat
Contributor III

Hi Iva,

I'm also interested in the FMCOMM source code on VS2013, could you send it ?

Best regards,

Pat

0 项奖励
回复
3,266 次查看
ivadorazinova
NXP Employee
NXP Employee

Hi Pat,

yes, sure. You have sent it to you.

Best Regards,

Iva

0 项奖励
回复