Go Down

Topic: 328 as avr isp programmer for another atmega? (Read 1 time) previous topic - next topic

thp777

Apr 09, 2011, 08:51 pm Last Edit: Apr 09, 2011, 08:57 pm by thp777 Reason: 1
if i use an atmega 328 board as avr isp programmer to burn bootloader and load sketch on another atmega does the one im burning to have to be a 328 or can i use any arduino compatable chip this way.
i need a momentary push button to work as a toggle switch and thats all the chip will be doing and will be powered off 5v usb. pushbutton will be connected to atmega and atmega to xbox controller button so that when its pressed it stays on till presed again and turns off. if im powering from 5v usb would i need any components between the usb and the chip or can i connect it directly? then i would just need a crystal, caps for it and resistor for reset pin correct?

thanks for help in advance

spycatcher2k

You can use any atmega or attiny with an spi input (attiny13,45,85 all do). I'm currently working on a 'Mod' chip for xbox myself, with auto (Fast auto fire), and auto reload. using either 13 or 45 with internal osc. at 8Mhz (9.6Mhz on 13) - what chip I use depends on final code.


Drew.
Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

thp777

#2
Apr 09, 2011, 09:55 pm Last Edit: Apr 09, 2011, 10:15 pm by thp777 Reason: 1
so can i only burn bootloader or will i be able burn a program or load a sketch thru first board also? or should i just buy ftdi breakout adapter?

spycatcher2k

For a Programmer I use :

http://cgi.ebay.co.uk/USBtiny-ISP-AVR-Atmel-Programmer-Arduino-bootloader-/170609102308?pt=LH_DefaultDomain_0&hash=item27b9184de4

FTDI requires a bootloader to be on the chip. With the above you can program the ATTiny series chips without a bootloader (and put bootloaders onto your 328s).



Drew.
Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

Go Up