2 Replies Latest reply on Oct 14, 2011 11:52 AM by userc_42888

    Endpoint definition in firmware

      Hi,

         

      What is the difference between defining endpoints in USB setup call back funrtion vs the Thread_Entry (or ApplnInit() ) function? I found both in the sample codes.

         

      Thanks,

         

      Nazila

        • 1. Re: Endpoint definition in firmware

          Can you please let me know the firmwares that you're looking at?

             

          Regards,

             

          Anand

          • 2. Re: Endpoint definition in firmware

            Endpoint defined in USB callback setup:

               
                  
            1. Bulk loop manin out
            2.     
            3. Bulk loop man many to one
            4.     
            5. Bulk loop auto many to one
            6.    
               

            Endpoint defined in Thread_Entry or ApplnInit

               
                  
            1. Bulk loop manual
            2.     
            3. usb spi reg mode
            4.     
            5. usb spi dma mode
            6.    
               

            Endpoint defined in USB Event call back

               
                  
            1. Bulk streams
            2.     
            3. Bulk src sink
            4.    
               

            I would appreciate it if you could tell me what is the difference between defining the Endpoints in each of the functions I mentioned above.

               

            Thanks,

               

            Nazila