Atmega

Discussions related to MegaDrum Hardware

Atmega

Postby Dovius » Mon Dec 23, 2013 5:09 pm

Hello,

I have started building megadrum. Can I somehow finish it without protected bootloader? I just want to test this drum module, and if everything is fine I will buy Dmitri's MCU. Can I use old versions of firmware, how I should programm it?

Thanks! :roll:
Dovius
 
Posts: 9
Joined: Sat Nov 30, 2013 8:34 pm

Re: Atmega

Postby operators123 » Mon Dec 23, 2013 6:04 pm

You can use an atmega 32/644 in programmed with the last unencrypted firmware in this thread viewtopic.php?p=12683#p12683

If your computer has a parallel port, you can program it by building an ISCP cable http://www.megadrum.info/sites/default/ ... _kicad.png and using ponyprog software

If you don't have that port, then you'll have to use a proper AVR programmer like an avrisp, usbasp etc. which works over a USB port, but you'll have to connect the header on the digital board different than you would normally with these programmers.
operators123
 
Posts: 36
Joined: Wed Jun 26, 2013 10:26 am

Re: Atmega

Postby Dovius » Tue Dec 24, 2013 8:24 am

Thank you! your message is very useful to me.
Dovius
 
Posts: 9
Joined: Sat Nov 30, 2013 8:34 pm

Re: Atmega

Postby Dovius » Sun Jan 19, 2014 3:25 pm

Is it possible to use http://www.megadrum.info/configtool/ with megadrum_20100516 firmware? Thanks! :)
Dovius
 
Posts: 9
Joined: Sat Nov 30, 2013 8:34 pm

Re: Atmega

Postby Dovius » Sat Feb 01, 2014 3:00 pm

Hi, I'm trying to program PIC18F2550 with my old computer with Windows 98, Com port. Winpic doesnt detect PIC18F2550, but I can read it and it shows sth like 00000 00000 00000.... . Then try to program I get "read 0000000, wanted 000E22,...." How I could solve this problem?
Dovius
 
Posts: 9
Joined: Sat Nov 30, 2013 8:34 pm

Re: Atmega

Postby dmitri » Sun Feb 02, 2014 10:09 am

dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: Atmega

Postby Dovius » Fri Feb 07, 2014 8:33 pm

Image

Fuf... finally I programmed Pic. PCB had some bad contacts and I tried winpic on windows xp
And now... I have another problem.. My minds are messed about programming Atmega644...
In the forum I had read about MIDI-ox, ponyprog and I dont know which one i should use..

Do I need to write a bootloader like in this viewtopic.php?f=3&t=622 ?

What program i should use to write fuses like in this thread viewtopic.php?f=3&t=622 ?

Can I use 2x100ohm resistor in series for ISP cable?

Could someone give a link where I could find a clearl manual how to program Atmega644 for last unencrypted firmware?

Thank you!
Dovius
 
Posts: 9
Joined: Sat Nov 30, 2013 8:34 pm

Re: Atmega

Postby dmitri » Sat Feb 08, 2014 12:23 am

There is no such guide or manual but your questions have been asked and answered many times so I suggest you to use the forum search or Google.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: Atmega

Postby Dovius » Sun Feb 16, 2014 8:29 pm

Hi again

I still have problems with Atmega644 programming. I made ISP cable, and try to write a code with PonyProg. Did I undestand everyting correctly?
1. Plug USB cable into MegaDrum and PC.
2. Plug ISP cable.
3. Select Atmega644, AVR isp I/O
4. Write Security and Configuration Bits
5. Press Write device and select .hex file?

I always get message Device missing or unknown device (-24)
Checked pcb cable, 10 times, cleaned flux. What else could be wrong? Is it possible I burned my Atmega because I found some shorts?
Dovius
 
Posts: 9
Joined: Sat Nov 30, 2013 8:34 pm

Re: Atmega

Postby dmitri » Sun Feb 16, 2014 9:16 pm

One of possible reasons might be that you programmed incorrect fuses and as a result you won't be able to (re-)program your Atmega unless you use a special Atmega Jtag or High voltage programmer, e.g. AVR MK2.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm


Return to MegaDrum Hardware

Who is online

Users browsing this forum: No registered users and 46 guests