Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
MASNSN
PostPosted: Dec 31, 2011 - 03:04 PM
Wannabe


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
 
 View user's profile Send private message  
Reply with quote Back to top
david.prentice
PostPosted: Dec 31, 2011 - 03:11 PM
10k+ Postman


Joined: Feb 12, 2005
Posts: 16305
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.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
MASNSN
PostPosted: Dec 31, 2011 - 03:15 PM
Wannabe


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?
 
 View user's profile Send private message  
Reply with quote Back to top
david.prentice
PostPosted: Dec 31, 2011 - 03:25 PM
10k+ Postman


Joined: Feb 12, 2005
Posts: 16305
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.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
clawson
PostPosted: Dec 31, 2011 - 04:57 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62291
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).

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
Brutte
PostPosted: Dec 31, 2011 - 06:45 PM
Raving lunatic


Joined: Oct 05, 2006
Posts: 2244
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!
 
 View user's profile Send private message  
Reply with quote Back to top
MASNSN
PostPosted: Jan 12, 2012 - 05:16 PM
Wannabe


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
 
 View user's profile Send private message  
Reply with quote Back to top
ka7ehk
PostPosted: Jan 12, 2012 - 05:19 PM
10k+ Postman


Joined: Nov 22, 2002
Posts: 12045
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
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Jan 12, 2012 - 05:37 PM
10k+ Postman


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

I almost cross posted to this thread but it's developed quite a lot further in this one:

http://www.avrfreaks.net/index.php?name ... p;t=115910

So this is locked.

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits