jagomart
digital resources
picture1_Production Pdf 191429 | An4314


 106x       Filetype PDF       File size 0.59 MB       Source: www.nxp.com


File: Production Pdf 191429 | An4314
document number an4314 freescale semiconductor application note rev 1 07 2011 using usb2ser dll in c projects by juan cazares imm software engineer 1 introduction contents 1 introduction 1 this ...

icon picture PDF Filetype PDF | Posted on 04 Feb 2023 | 2 years ago
Partial capture of text on file.
                                                                                       Document Number: AN4314
            Freescale Semiconductor
            Application Note                                                                         Rev. 1, 07/2011
            Using USB2SER DLL in C# 
            Projects
            by: Juan Cazares
                IMM Software Engineer
            1         Introduction                                                         Contents
                                                                       1   Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
            This application note explains how to use the USB2SER  2       Using DLLs in a C# Project . . . . . . . . . . . . . . . . . . . . . . . 2
            DLL in any C# (C sharp) project. This DLL is used to          2.1  Creating a new DLL folder. . . . . . . . . . . . . . . . . . . . 2
            communicate with the USB2SER, which allows the                2.2  Application programming interface . . . . . . . . . . . . . 5
                                                                       3   Serial Production GUI User Guide. . . . . . . . . . . . . . . . . . 8
            reading and modification of USB descriptors allocated in      3.1  Valid formats and values for USB descriptors’ fields9
            nonvolatile memory.                                           3.2  Discover USB devices. . . . . . . . . . . . . . . . . . . . . . . 9
                                                                          3.3  Read USB descriptors. . . . . . . . . . . . . . . . . . . . . . 10
            First, the application note explains how to include and       3.4  Customize USB descriptors. . . . . . . . . . . . . . . . . . 10
                                                                       4   Conclusion. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
            use the USB2SER DLL in a C# project. Second, it 
            explains in detail the application programming interface 
            (API) of the USB2SER DLL. Third, this document 
            explains how the serial production GUI is implemented 
            and how it uses the USB2SER DLL.
            ©Freescale Semiconductor, Inc., 2011. All rights reserved.
             Using DLLs in a C# Project
             2         Using DLLs in a C# Project
             2.1       Creating a new DLL folder
             The USB2SER_DLL.dll can be used in an existent project. This document explains how to create a new 
             project and then how to use the DLL.
             Open C# studio and follow the next steps:
                 1. Choose the File pull-down menu.
                 2.  Choose the New Project option. 
                 3.  On the New Project screen, choose Windows Forms Applications.
                 4.  Change the name for the new application (for example, “SerialProductionGUI”) and click OK.
                                                 Using USB2SER DLL in C# Projects, Rev. 1
             2                                                                                         Freescale Semiconductor
                                                                                                    Using DLLs in a C# Project
             The project is created and shows an empty form.
                 5.  On the solution explorer, right click on References, then choose Add Reference.
                                                 Using USB2SER DLL in C# Projects, Rev. 1
             Freescale Semiconductor                                                                                        3
            Using DLLs in a C# Project
                6.  Select the Browse tab and look for the USB2SER_DLL.dll file. Select it and click OK.
                7.  Repeat steps 6 and 7 for any other desired DLL files.
                8.  Open the Form1 code and add the class USB2SER_DLL with the “using” word.
                                                Using USB2SER DLL in C# Projects, Rev. 1
             4                                                                                        Freescale Semiconductor
The words contained in this file might help you see if this file matches what you are looking for:

...Document number an freescale semiconductor application note rev using usbser dll in c projects by juan cazares imm software engineer introduction contents this explains how to use the dlls a project any sharp is used creating new folder communicate with which allows programming interface serial production gui user guide reading and modification of usb descriptors allocated valid formats values for fields nonvolatile memory discover devices read first include customize conclusion second it detail api third implemented uses inc all rights reserved can be existent create then open studio follow next steps choose file pull down menu option on screen windows forms applications change name example serialproductiongui click ok created shows empty form solution explorer right references add reference select browse tab look repeat other desired files code class word...

no reviews yet
Please Login to review.