Programing Atmega32 without bootloader

Discussions related to MegaDrum Hardware

Re: Programing Atmega32 without bootloader

Postby pit21 » Mon Dec 22, 2008 1:42 pm

I am going to use it on a keyboard through MIDI but basicaly through PIC and usb on my pc to make sound...
pit21
 
Posts: 21
Joined: Sun Sep 28, 2008 2:13 pm

Re: Programing Atmega32 without bootloader

Postby dmitri » Mon Dec 22, 2008 1:47 pm

pit21 wrote:I am going to use it on a keyboard through MIDI but basicaly through PIC and usb on my pc to make sound...

I'm confused. Are you going to use MegaDrum over USB or not? From what I understood from your posts you don't want to use PIC and USB.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Programing Atmega32 without bootloader

Postby pit21 » Mon Dec 22, 2008 1:57 pm

Oh no a big missunderstanding!It's my fault!I am sorry!I should have mae it clear from the beginning!
I am going to use the PIC and the usb but not from the start...I will start working on MIDI and if i am satisfied i will continue with the usb board!
I just wanted to know if i can programm the IC first without the bootloader using my ISP,test it and then( if everything is going well) programm the bootloader and start updating through usb!That's all! ;)
pit21
 
Posts: 21
Joined: Sun Sep 28, 2008 2:13 pm

Re: Programing Atmega32 without bootloader

Postby dmitri » Mon Dec 22, 2008 2:12 pm

pit21 wrote:Oh no a big missunderstanding!It's my fault!I am sorry!I should have mae it clear from the beginning!
I am going to use the PIC and the usb but not from the start...I will start working on MIDI and if i am satisfied i will continue with the usb board!
I just wanted to know if i can programm the IC first without the bootloader using my ISP,test it and then( if everything is going well) programm the bootloader and start updating through usb!That's all! ;)

You can certainly do all of this just as you described here.
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Programing Atmega32 without bootloader

Postby pit21 » Mon Dec 22, 2008 2:23 pm

now that we can understand each other should i leave the fuses as they are? this won't cause problems to programm the bootloader later?
pit21
 
Posts: 21
Joined: Sun Sep 28, 2008 2:13 pm

Re: Programing Atmega32 without bootloader

Postby dmitri » Mon Dec 22, 2008 2:54 pm

pit21 wrote:now that we can understand each other should i leave the fuses as they are? this won't cause problems to programm the bootloader later?

Leave as is! You WILL be able to program the bootloader later.
For no apparent reason I have a feeling you still will have doubts even after this :D
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Re: Programing Atmega32 without bootloader

Postby pit21 » Mon Dec 22, 2008 3:12 pm

I don't have doubts now that i am sure you understand what i want.Its just that i avoid to change the fuse bits if i am not sure!I recently destroyed an Atmega32 trying to programm it and they are quite expensive for me to do such mistakes!
but don't worry!For more problems i will be back!....soon! :D

Thanks a lot!
pit21
 
Posts: 21
Joined: Sun Sep 28, 2008 2:13 pm

Re: Programing Atmega32 without bootloader

Postby dmitri » Mon Dec 22, 2008 3:17 pm

pit21 wrote:I recently destroyed an Atmega32 trying to programm it and they are quite expensive for me to do such mistakes!

If it's just incorrect fuses, you can recover it. viewtopic.php?f=3&t=42&p=278
dmitri
Site Admin
 
Posts: 8706
Joined: Fri Aug 03, 2007 8:05 pm

Previous

Return to MegaDrum Hardware

Who is online

Users browsing this forum: LM44895DT and 72 guests