Hello again!
I am currently trying to get the USBDemo program Mister E made to work with the Microchip.com bootloader.
http://www.microchip.com/stellent/id...param=en022627
The progress is as follows:
1. Install all applications fresh
* MPLAB 7.31
* Microchip Student Edition C18
* Pic Basic Pro(Oh be worth it please)
* Microcode Studio (not plus)
* Microchip Bootloader Files Install
* EasyHID Program (well, it is also included in microcode, i think?)
2. Setup all compilers and IDEs
3. Compile bootloader files, modified to 4mhz by setting the configuration flags in MPLAB - I don't quite get where to put the flags in the C18 code. Is there an include like in pbasic?
4. Compile .hex -easy.
5. Program 18f4550 via ICD2 and MPLAB
6. Put chip in tested board(runs USBDemo off another programmed chip)
7. do switch combo thing to go into booloader mode.. cool, it works.
8. select USBDemo.hex (Stock one)
9. Uh oh - an error. it says the config flags are not the same.. funny, i thought i got them! try anyway? doesn't work... scrambled bootloader somehow... tried all options each time with freshly programmed chip.
any direction here? is there another bootloader that is better? do i need to add some sort of code to the USBDemo to see bootloader interrupts?
I tried this with a simple LED example i found somewhere... It didnt really work quite right.. it didn't blink unless I was in the USB recognized state - the one in which the microchip bootloader utility sees the chip..
Please ask me to clarify if this is muddled!
I appreciate it.
Robert
Bookmarks