PIC18F2550 Problem

Discussions related to MegaDrum Hardware

Re: PIC18F2550 Problem

Postby eloma33 » Sat Jun 25, 2011 8:52 pm

I buy the ATMEGA to mouser, so new, unused.

so, I do what ? LOL

I program the ATMEGA with witch file ? with megadrum644_56_20110621.bin ?

Thanks
eloma33
 
Posts: 33
Joined: Wed Jun 08, 2011 6:30 am

Re: PIC18F2550 Problem

Postby dmitri » Sat Jun 25, 2011 8:56 pm

eloma33 wrote:I buy the ATMEGA to mouser, so new, unused.

so, I do what ? LOL

You read the Documentation provided on the website starting from http://www.megadrum.info/content/what-y ... d-megadrum
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: PIC18F2550 Problem

Postby eloma33 » Sun Jun 26, 2011 8:21 am

I read the instructions, but all are to UPDATE the ATMEGA with bootloader, but nothing explain how to install for the first time the program in the ATMEGA (my ATMEGA is new, buy on mouser).
eloma33
 
Posts: 33
Joined: Wed Jun 08, 2011 6:30 am

Re: PIC18F2550 Problem

Postby eloma33 » Sun Jun 26, 2011 10:02 am

I make new test today : there is progress !!! YES !!!

I've got errors but less than before :

Programmation...
Effacement en cours ("BRUT ou "Chip") ...
Programmation CODE, 0x000000..0x001C96
Vérification CODE, 0x000000..0x001C96
Vérification 0x06lX..0x000000
Programmation CONFIG, 0x300000..0x30000C
Vérification CONFIG, 0x300000..0x30000C
Vérification 0x06lX..0x300000
Vérification d'erreur : 300004: Lu=008100, Attendu=0081FF, mask 00FFFF ==> diff=0000FF
Vérification d'erreur : 300006: Lu=000085, Attendu=00FF85, mask 00FFFF ==> diff=00FF00
ERREUR: echec de programmation !


Is someone can help me ?
eloma33
 
Posts: 33
Joined: Wed Jun 08, 2011 6:30 am

Re: PIC18F2550 Problem

Postby dmitri » Sun Jun 26, 2011 10:10 am

eloma33 wrote:I read the instructions, but all are to UPDATE the ATMEGA with bootloader, but nothing explain how to install for the first time the program in the ATMEGA (my ATMEGA is new, buy on mouser).

Read it all carefully.

eloma33 wrote:I've got errors but less than before :

Programmation...
Effacement en cours ("BRUT ou "Chip") ...
Programmation CODE, 0x000000..0x001C96
Vérification CODE, 0x000000..0x001C96
Vérification 0x06lX..0x000000
Programmation CONFIG, 0x300000..0x30000C
Vérification CONFIG, 0x300000..0x30000C
Vérification 0x06lX..0x300000
Vérification d'erreur : 300004: Lu=008100, Attendu=0081FF, mask 00FFFF ==> diff=0000FF
Vérification d'erreur : 300006: Lu=000085, Attendu=00FF85, mask 00FFFF ==> diff=00FF00
ERREUR: echec de programmation !

It is ok, your PIC is programmed.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: PIC18F2550 Problem

Postby eloma33 » Sun Jun 26, 2011 10:28 am

My pic is programed ? But when I disconnect the USB and the ICSP, and when I reconnect the USB, my computer don't propose to install driver. When I do the first programmation but with the wrong hex file, computer operate correctly to propose installation of the driver.

I do a dump of the pic i read with winpic. See attached file. When I compare this file with the original hex file, I haven't got the same information. So I'm not sure that the programmation success.
eloma33
 
Posts: 33
Joined: Wed Jun 08, 2011 6:30 am

Re: PIC18F2550 Problem

Postby eloma33 » Sun Jun 26, 2011 10:30 am

sorry for mistake...
You do not have the required permissions to view the files attached to this post.
eloma33
 
Posts: 33
Joined: Wed Jun 08, 2011 6:30 am

Re: PIC18F2550 Problem

Postby dmitri » Sun Jun 26, 2011 10:37 am

eloma33 wrote:My pic is programed ? But when I disconnect the USB and the ICSP, and when I reconnect the USB, my computer don't propose to install driver.

Drivers are already in OS so it doesn't have to install it.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: PIC18F2550 Problem

Postby dmitri » Sun Jun 26, 2011 10:39 am

eloma33 wrote:My pic is programed ? But when I disconnect the USB and the ICSP, and when I reconnect the USB, my computer don't propose to install driver. When I do the first programmation but with the wrong hex file, computer operate correctly to propose installation of the driver.

I do a dump of the pic i read with winpic. See attached file. When I compare this file with the original hex file, I haven't got the same information. So I'm not sure that the programmation success.

Looks like you don't like to read. Anyway, read MegaDrum FAQ. Read it before posting in this forum!
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: PIC18F2550 Problem

Postby eloma33 » Sun Jun 26, 2011 10:43 am

dmitri wrote:
eloma33 wrote:My pic is programed ? But when I disconnect the USB and the ICSP, and when I reconnect the USB, my computer don't propose to install driver.

Drivers are already in OS so it doesn't have to install it.



Yes, but when I connect megadrum usb to my computer, I haven't any reaction. It don't find I connect the Megadrum, than the first time it works fine with the wrong hex file. So I supose.

Sorry for the anwers there are in the FAQ. :roll:
eloma33
 
Posts: 33
Joined: Wed Jun 08, 2011 6:30 am

PreviousNext

Return to MegaDrum Hardware

Who is online

Users browsing this forum: Google [Bot] and 113 guests