Replace ATTiny2313 with ATMega8

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Replace ATTiny2313 with ATMega8

Postby diplomat_rk » Mon Jan 02, 2012 1:36 am

Hi to all

i downloaded and made USBTiny ISP projects and it work very nice. thanks Ladyada. :D

now i want to replace ATTiny2313 with ATMega8! because ATMega8 is cheaper than ATTiny2313 in the my country. but i can't work with AVR Studio , my favorite compiler is Bascom.

can anyone help me to retouch USBTiny ISP Programmer source code for ATMega8?
Best Regards

http://www.mrkrelectronic.blogfa.com
diplomat_rk
 
Posts: 6
Joined: Sun Feb 08, 2009 10:32 am
Location: Iran

Re: Replace ATTiny2313 with ATMega8

Postby zenith1111 » Sun Jan 08, 2012 8:45 am

Hi!

If you want to use the atmega8 or atmega88 you should look at something like this: http://www.fischl.de/usbasp/
zenith1111
 
Posts: 1
Joined: Sun Jan 08, 2012 8:38 am

Re: Replace ATTiny2313 with ATMega8

Postby diplomat_rk » Fri Jan 27, 2012 8:46 am

Hi zenith1111

sorry for my late reply.

i saw USBasp project. but i am interested in USBTiny, i feeling it is very better USBasp.
i found USBTiny with ATTiny44 in this pagehttp://fab.cba.banned.edu/content/projects/fabisp/ but i want make it with ATMega8.

can anyone help me?
Best Regards

http://www.mrkrelectronic.blogfa.com
diplomat_rk
 
Posts: 6
Joined: Sun Feb 08, 2009 10:32 am
Location: Iran

Re: Replace ATTiny2313 with ATMega8

Postby diplomat_rk » Tue Jan 31, 2012 1:03 pm

can't anyone help me? :(
Best Regards

http://www.mrkrelectronic.blogfa.com
diplomat_rk
 
Posts: 6
Joined: Sun Feb 08, 2009 10:32 am
Location: Iran

Re: Replace ATTiny2313 with ATMega8

Postby westfw » Tue Feb 07, 2012 1:00 pm

i saw USBasp project. but i am interested in USBTiny, i feeling it is very better USBasp.

Better in what way? You could look at moving the USBTiny SW to the mega8, which would give you essentially USBTiny behavior with USBASP hardware. Or, once you have a mega8, you could consider other firmware for programming (V-USB + ArduinoISP, for instance.) USBTiny's major feature is fitting in the 2k CPU, but as you point out, that's not necessarily cheaper, and it just barely fits, so there isn't much room for improvements...
User avatar
westfw
 
Posts: 1321
Joined: Fri Apr 27, 2007 12:01 pm
Location: SF Bay area

Re: Replace ATTiny2313 with ATMega8

Postby diplomat_rk » Wed Feb 08, 2012 4:23 pm

Hi and thanks

i got my help in the AVRFraks forum from David. i attach a HEX file for ATMega8 and my schematic. i change Ladyada Schematic a little.

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=116562
Attachments
USBTiny M8_2.rar
Schematic in PDF format
(13.1 KiB) Downloaded 118 times
USBTiny_M8.HEX
Intel HEX file for burn ATMega8
(5.81 KiB) Downloaded 95 times
diplomat_rk
 
Posts: 6
Joined: Sun Feb 08, 2009 10:32 am
Location: Iran

Re: Replace ATTiny2313 with ATMega8

Postby westfw » Wed Feb 08, 2012 9:22 pm

Thanks for the followup!
User avatar
westfw
 
Posts: 1321
Joined: Fri Apr 27, 2007 12:01 pm
Location: SF Bay area


Return to USBtinyISP

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [105]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]