AVE...
For various reasons I decided to make USB MIDI interface based on PIC18F4550. I designed board for it, programmed the uC and plugged it in. And it didn't work. I checked out the hardware part and it's good, then I checked programming part, and found few odd things. I have a couple of questions:
1. Why firmware sets odd configuration bits for microcontroller? For example external clock, instead of HS oscillator.
2. What are proper configuration bits?
3. Why you had to use GPASM and SDCC? MPLAB IDE is evil or something?
4. Does anyone know, how to set SDCC, GPASM and MinGW32 on Windows 7 x64, so it won't fail compilation every time? I set the paths correctly.
5. Could someone recompile the firmware for me so it could work with 4 IIC modules(when are connected)? Or make it MPLAB-compatible so I could use proper toolchain?
6. Could someone make simple code to test the USB comunication or post a link to working code for that test?
For programming I'm using PICKit3 and MPLAB IDE v8.87(MPLAB X doesn't work too well with Win7), and PIC18F4550 Rev. 7.
No, I don't want to buy GM-5 or use STM32 or LPC17 cores. I spent too much time and money on this already...