Pages: [1]   Go Down
Author Topic: Use ARDUINO to program ATTINY2313  (Read 2039 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 36
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey,
This my first post in the forum, so i'm not sure who knows what or what subcategory to stick this thread. But i've just bought myself an arduino duemilanove (with a ATMEGA328) and a nano too for smaller applications. But i can use either or both to do what i want to ask here:

I've bought myself a LED Micro Readerboard KIT available here:
http://www.makershed.com/ProductDetails.asp?ProductCode=MKEMS1
http://www.evilmadscientist.com/article.php/microreader2

It's fully open source, and it's hackable/re-programmable. I just want to know if and how it can be done by incorporating our awesome arduino. Can i plug it in in replacement of the ATMEGA328, or use the digital/analog pins to interface with the chip.

The code currently on the chip is available here:
http://www.evilmadscientist.com/source/LED_MRB2.1.zip
look for mrb.c (sorry, for the .zip but i'm not hosting the file)

I'm completely new to programming besides HTML and QBASIC. But i'm learning, so fell free to treat me as a newbie.

-alex
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 36
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

*Bump*
Could I get a reply, just anything. A recommendation to post repost this, in another subforum, but i thought it went into interfacing.
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5577
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Something like this wouldn't be too difficult to do on the Arduino; it is essentially the same as hooking up a 7-segment LED digit display, just with more segments. The rest is code.
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

UK
Offline Offline
Sr. Member
****
Karma: 1
Posts: 491
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Wrong thread methinks...

Andrew
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 36
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is there any way to read what's on the ATMEGA328, to see what program is saved onto it?

It would be good to do the same for the ATTIY2313, then just edit a bit and save.
Logged

United States, PA
Offline Offline
Jr. Member
**
Karma: 0
Posts: 55
Loading...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

use this, i wrote the arduino bootloader to 2 atmega168 chips using this on my duemilanove. it was pretty simple too just follow what he says to do and youll be fine.
http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html
all youll have to do is map out the wires from the arduinos icsp header to the coresponding pins on your attiny2321.
« Last Edit: March 19, 2010, 11:01:54 pm by dany32412 » Logged

Mobile, AL
Offline Offline
Sr. Member
****
Karma: 0
Posts: 314
CAUTION!-Slow Learner
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What you are wanting to do is use the Arduino as a programmer - yes it can be done. I've done it several times before getting an $11 shipped http://www.fun4diy.com/AVRISP_mkII.htm - the t2313 is a totally different chip than is the Arduino chips.  I use Studio4 with the above programmer to burn hex files.

What you will use from the code you've linked to is the hex file only to burn to the t2313 chip.  You can burn the hex file using the previous referenced link using AVRdude:
http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html
Works good.

Just remember the Arduino IDE program has no way to compile the code to a hex file for the t2313 chip.

Good luck and have fun.

Ken H.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 14
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.instructables.com/id/How-to-program-a-AVR-arduino-with-another-arduin/

Hope it helpes
Logged

Pages: [1]   Go Up
Jump to: