This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to use writefile() method ( using kernel32.dll for reading and writing) for MSP430USB.

Other Parts Discussed in Thread: MSP430F6638

How to use writefile() method ( using  kernel32.dll for reading and writing) at PCside in MSP430 device  using C# Donet, please suggest me how to implement.

  • Hello Prasad,

    Can you please give us more information on the USB class (CDC, HID, MSC) you are interested in knowing about?  What operating system and MSP430 device are you working with?   What issue are you trying to solve?

    In regards to MSP430USB drivers, the CDC interface is the only device class that requires a specialized USB driver that we package with the MSP430USBDevelopersPackage.  There are two documents that explain how to run the examples included in the Developers Package as well as a Programmer's guide and each document will tell you how the CDC driver is installed on the host side.

    All of the examples in MSP430USBDevelopersPackage have been written in C and compiled using Code Composer Studio and/or IAR IDEs.    

    Regards,

    Arthi Bhat

  • Hi Arthi Bhat,

    we are using HID class for communication with USB MSP430 device and also we are using Kernel32.dll and Setupapi.dll.

    Actually we had sample code on java one provided by ti team and communication with USB MSP430 is perfecly.
    Could you please tell me which class are being used in java. I found dll like hidcommunicationmanager.dll are used in Java.

    Please let me know which classes are used in java example code.

    Thanks,
    Prasad Marri.
  • Hello Prasad,

    The MSP430USBDevelopersPackage contains all the java source code used in creating the HidDemo tool that interfaces with HID USB class.

    The java source files can be found in the latest developers package in the following directory:     ../MSP430USBDevelopersPackage_5_00_01/Host_USB_Software/Java_HID_Demo/Windows.   The older versions of the Developers package also contains the code for the tool but it is in a different directory. 

    The .dll files were created from the source code that is part of the java source files.  The 'release_notes.html' file has instructions on how to run and compile the tool and other pertinent information.

    Regards,

    Arthi 

  • Hi Arthi Bhat,

    Thank you for you support.

    Do you sample code in C# DotNet for USD communication and bootlooder(Firmware upgrade) for MSP430F6638 Device.

    Thanks,

    Prasad Marri.

  • If I remember right, older version of MSP430_USB_Firmware_Upgrade_Example is open source written in C, so maybe you can find something there.
  • Hi,

    code is not compiling, one file is missing i.e  hidsdi.h.

    Could you please share latest code and also provide the link, so i can download from the link.

    Thanks,

    Prasad Marri.

**Attention** This is a public forum