Megadrum interface code size

Discussions of any related software

Moderator: Related software moderators

Megadrum interface code size

Postby kooroshi60 » Tue Jan 11, 2011 5:44 pm

Megadrum USBMIDI connects and disconnects all the time when I burn the compiled source code into Pic18f2550 using Mplab C18 compiler. But it works fine with the Firmware V2.

The generated Hex file by C18 is 1703kb bigger than pic18f2550-12MHz V2 firmware.
The board I have made has a 12 MHz resonator. I added these files to C18 in order to generate the Hex file.
Main.c
Usb.c
Usb_descreptors.c
Usb_device.c
Usb_function_audio.c

This is the only error I see during compiling: (But the build is successful)
D:\ SOURCE CODE MEGADRUM\ main.c:197:Warning [2058] call of function without prototype

Can anyone tell me what can be the problem? Can the Hex size have effect on the function of Megadrum interface?

Thank you in advance.
kooroshi60
 
Posts: 13
Joined: Wed Oct 14, 2009 4:00 pm

Re: Megadrum interface code size

Postby kooroshi60 » Wed Jan 12, 2011 8:04 pm

Does the code size matter at all? Or I have to use another compiler in order to get smaller hex?!
kooroshi60
 
Posts: 13
Joined: Wed Oct 14, 2009 4:00 pm

Re: Megadrum interface code size

Postby dmitri » Wed Jan 12, 2011 8:18 pm

I recommend you to ask about MPLAB and C18 problems in http://www.microchip.com/forums/
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: Megadrum interface code size

Postby kooroshi60 » Thu Jan 13, 2011 8:17 am

Trovato!

The problem was the windows driver. Every thing is working fine now.
Thank you Dmitri. You are a genius. I love the MegaDrum. Works perfectly with Roland gears.

Cheers.
kooroshi60
 
Posts: 13
Joined: Wed Oct 14, 2009 4:00 pm


Return to Related Software

Who is online

Users browsing this forum: No registered users and 101 guests