Hello,
I've spent ages looking through page after page about using USB on the PIC 18F2550 and my head is wrecked with it!! I've always worked with assembly programs with other PICs I used such as the 16F627, 16F886 etc so I never had any difficulty with uart in assembly. But moving to the 18F2550 I'm struggling to understand how it works so here are a few questions from what I've read.
I have an ICD2 so I'm confident I can program a bootloader without any problem. Any advice would be much appreciated, I'm just getting overwhelmed by all the different explanations how to do it after a google search, every man and his dog seems to have made a bootloader!!
I've spent ages looking through page after page about using USB on the PIC 18F2550 and my head is wrecked with it!! I've always worked with assembly programs with other PICs I used such as the 16F627, 16F886 etc so I never had any difficulty with uart in assembly. But moving to the 18F2550 I'm struggling to understand how it works so here are a few questions from what I've read.
- I have to use C programming to use USB, there is no simple assembly routine like UART?
- I have to use a bootloader?
- When I have the bootloader on the PIC I still have to use C code if I want to use USB communication?
- Can someone show me an example of code to for example send 8 bit over USB and have it displayed on a port, something that I can understand whats happening.
I have an ICD2 so I'm confident I can program a bootloader without any problem. Any advice would be much appreciated, I'm just getting overwhelmed by all the different explanations how to do it after a google search, every man and his dog seems to have made a bootloader!!