| Author |
Message |
|
|
Posted: Dec 31, 2011 - 03:04 PM |
|

Joined: Dec 31, 2011
Posts: 87
|
|
Hi
I want to know if I can flash an asm file into the avr EPROM using a breadborad and some electronics components only without using an ISP. If yes how can I do this?
Thank you |
|
|
| |
|
|
|
|
|
Posted: Dec 31, 2011 - 03:11 PM |
|

Joined: Feb 12, 2005
Posts: 16259
Location: Wormshill, England
|
|
Simple answer:
1. Take an imaginary chip and connect some imaginary electronics.
2. Then you can imagine that it works.
Complex answer: Build a HVPP programmer.
Practical answer: Use ISP or a bootloader.
David. |
|
|
| |
|
|
|
|
|
Posted: Dec 31, 2011 - 03:15 PM |
|

Joined: Dec 31, 2011
Posts: 87
|
|
Thank you david
I already have isis proteus I can simulate circuits
Is it very diificult to build a HVPP Programmer, I mean is it possible to do a simple one at home? |
|
|
| |
|
|
|
|
|
Posted: Dec 31, 2011 - 03:25 PM |
|

Joined: Feb 12, 2005
Posts: 16259
Location: Wormshill, England
|
|
How did I guess that it was an imaginary project ?
Yes. A HVPP is a lot of hard work.
A Chinese usbasp ISP programmer is very cheap.
If you ask your teacher to install a bootloader in your chip, you need no external programmer. You do need a USB / RS232 cable of some description.
Ask your teacher to buy Arduinos for the whole class.
David. |
|
|
| |
|
|
|
|
|
Posted: Dec 31, 2011 - 04:57 PM |
|


Joined: Jul 18, 2005
Posts: 62220
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
If your Dad still has a PC out in the garage with either a 9pin serial or 25pin parallel port connector you can build an AVR ISP programmer with 4 resistors for about $0.04
(no one said it will be reliable but it may be enough to get a bootloader into the chip that you can then switch to using to program it in future). |
_________________
|
| |
|
|
|
|
|
Posted: Dec 31, 2011 - 06:45 PM |
|

Joined: Oct 05, 2006
Posts: 2240
Location: Poland
|
|
|
Quote:
without using an ISP.
Another hint is JTAG - it is enabled by default and it is not ISP. But some components become many actually.
And there are AVRs which come preloaded with a bootloader, like most of USB chips, although these come in QFN and QFP packages not suitable for breadboard. All you need then is one 8MHz quartz(with two 22pF caps) two resistors of 22 ohms and one 1uF cap for LDO.
Can you explain where this allergy to ISP comes from? |
_________________ No RSTDISBL, no fun!
|
| |
|
|
|
|
|
Posted: Jan 12, 2012 - 05:16 PM |
|

Joined: Dec 31, 2011
Posts: 87
|
|
| I'm that guy who can't buy an ISP programmer because of the none convertibility of the currency of his country |
|
|
| |
|
|
|
|
|
Posted: Jan 12, 2012 - 05:19 PM |
|


Joined: Nov 22, 2002
Posts: 12033
Location: Tangent, OR, USA
|
|
Please see my posting, here:
http://www.avrfreaks.net/index.php?name ... p;start=20
Jim |
_________________ Jim Wagner
Oregon Research Electronics, Consulting Div.
Tangent, OR, USA
"The only thing standing between us and victory is defeat" P.G.Wodhouse in Wooster & Jeeves series
|
| |
|
|
|
|
|
Posted: Jan 12, 2012 - 05:37 PM |
|


Joined: Jul 18, 2005
Posts: 62220
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
|
|
|
|