Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Microchip MLA doesn't have C# code

Status
Not open for further replies.

ep.hobbyiest

Full Member level 4
Full Member level 4
Joined
Jul 24, 2014
Messages
212
Helped
1
Reputation
2
Reaction score
1
Trophy points
18
Activity points
1,487
I am working on USB with MLA from microchip. But it don't have C# code for PC. from where i can get the code bcoz i don't work that much on C#.So if if lower version of MLA have code please share it.
 

which USB device or host application are you looking at?
I find the simplest thing is to implement functions to sommunicate with USB in C++ DLL then call that from C# and VB.NET
 

i think this part is missed i searched all folder but not found. I think it get drop because while installing it gives me some error. i ignor it.
Please mail me this folder my mail id is ****
or post here itself.
 
Last edited by a moderator:

I built a DLL using C++ using examples from the web, e.g.
https://msdn.microsoft.com/en-us/library/ms235636.aspx

as I needed to interafce a PIC24 USB device to C++, C# and VB.NET

if your target is a C# application it is probably simpler to write the whole thing in C# using Microchips C++ code as a guide

however, there is a MLA example of C++, C# and VB in USB device hid_custom
C:\microchip\mla\v2013_12_20\apps\usb\device\hid_custom\utilities\plug_and_play_example\windows\src

the mla directory may be different depending on your version of the MLA

what particular USB device or host protocol are you interested in ?
 

i am interested in Device protocol in HID class.
 

i am interested in Device protocol in HID class.
there is C# code for the MLA HID custom device project

using Visual C# I opened the project
C:\microchip\mla\v2013_12_20\apps\usb\device\hid_custom\utilities\plug_and_play_example\windows\src\vc#_2005_express\HID PnP Demo.sln

when built displays
HIDcustom.jpg
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top