FreeMASTER FCOMM .NET DLL

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FreeMASTER FCOMM .NET DLL

Jump to solution
2,296 Views
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

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
1,789 Views
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

View solution in original post

8 Replies
1,788 Views
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

1,788 Views
bsprague
Contributor I

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

0 Kudos
Reply
1,790 Views
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

1,789 Views
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 Kudos
Reply
1,789 Views
francescodisilv
Contributor I

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

Thank you

0 Kudos
Reply
1,789 Views
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 Kudos
Reply
1,789 Views
Pat
Contributor III

Hi Iva,

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

Best regards,

Pat

0 Kudos
Reply
1,789 Views
ivadorazinova
NXP Employee
NXP Employee

Hi Pat,

yes, sure. You have sent it to you.

Best Regards,

Iva

0 Kudos
Reply