I've been studying the PBP3 files in the "USB18" directory of the PBP3 source directory. I have successfully tested all 3 of the provided with PIC18F4550 on a knock-off PICDEM board. I am now trying to understand all the necessary processes and code operations bundled up in the 3 sample applications.
As I continue this study I may pose some (hopefully meaningful) questions to the forum members. It is my understanding that the purpose of these examples is so that we the user might use them as a framework on which to develop our own specific firmware.
Using the "generic" example as the basis, I direct attention to the "gen_desc.bas" wherein there is a lengthy block of code which defines a good many 'descriptors' only to be branched around.

Upon looking at the device properties in Windows "Device Manager" (after the device enumerates) it appears that some of the descriptor text strings have listed in the device properties. What I don't understand is why all descriptors have been branched around in "gen_desc.bas" and yet they have showed up as one would expect in "Device Manager." These definitions do not appear in any other accompanying files in the project directory thet I can see. Are they coming from some other place on the compiler path? I have looked through all the "Includes" and can't seem to find them. Furthermore, why did the designer of the example code choose to branch around this assembly code defining the descriptors? It seems to me to be essential code.
As I continue this study I may pose some (hopefully meaningful) questions to the forum members. It is my understanding that the purpose of these examples is so that we the user might use them as a framework on which to develop our own specific firmware.
Using the "generic" example as the basis, I direct attention to the "gen_desc.bas" wherein there is a lengthy block of code which defines a good many 'descriptors' only to be branched around.
Upon looking at the device properties in Windows "Device Manager" (after the device enumerates) it appears that some of the descriptor text strings have listed in the device properties. What I don't understand is why all descriptors have been branched around in "gen_desc.bas" and yet they have showed up as one would expect in "Device Manager." These definitions do not appear in any other accompanying files in the project directory thet I can see. Are they coming from some other place on the compiler path? I have looked through all the "Includes" and can't seem to find them. Furthermore, why did the designer of the example code choose to branch around this assembly code defining the descriptors? It seems to me to be essential code.
Comment