I am using a custom HID Bootloader (Modified the Microchip one since it won't compile using the free tools)
I am also using an external 48MHz Oscilator since I have hundreds.
I am using a custom HID Bootloader (Modified the Microchip one since it won't compile using the free tools)
I am also using an external 48MHz Oscilator since I have hundreds.
Last edited by pmacleod; - 12th February 2011 at 16:45.
Ok I just had some of that code you gave me in wrong place, seems to be working fine now.
I noticed they really changed the USB examples in the new PBP, is it hard to convert an exsisting project to the new format or is it even worth doing.
Great!!
Your base code should not really change, just the supporting files. So what I do when upgrading an old project like this is start a new directory with the old base code and all of the new supporting files if I need the features from the new PBP. Otherwise I just leave things as they are and use the version of PBP that was originally used for the project. You can have more than one version of PBP installed, just pick the one you want at compile time.I noticed they really changed the USB examples in the new PBP, is it hard to convert an exsisting project to the new format or is it even worth doing.
Dave
Always wear safety glasses while programming.
Ok I am seeing some wierd things in the new USB Descriptor file for PBP 2.60. Is there a filesize limit for the descriptors now?
I have not heard of any changes . Not sure why there would be.
Which file are you looking at?
Dave
Always wear safety glasses while programming.
I converted my project to the new format and everything was ok so I went ahead and added the section for the Endpoint 1 In. Once I added it I started getting 'Block overflow for ENDASM'.
I went over and over the ASM code in the descriptor and nothing was wrong. I removed an equal amount of comment lines and it compiled ok. I continued to do the same thing but ran out of comment lines I could remove, My full USB Descriptor file is quite big and I can't even finish getting all of the first endpoint code in before getting the error.
I am afraid you are beyond me. I have not written my own descriptor fileSorry.
Dave
Always wear safety glasses while programming.
Bookmarks