Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 7th June 2008, 09:30 PM   (permalink)
Smile Avr programmer component question

Hi,
could some one please look at the attached schematic, and tell where to
connect the clk to the ic.

I am a complete beginner to electronics , and would appreciate some one
pointing me to the correct way to do this.

I have exposure box etching equiptment ect and have made a few pcb's in
the past, but I am not sure about where to connect the clk thats on the schematic.

Please forgive my lack of knowledge, glad to find this site though.

Thanks
Attached Images
File Type: jpg 1.jpg (203.9 KB, 18 views)
cobra148 is offline  
Old 7th June 2008, 09:52 PM   (permalink)
Default Here is what I have done so far

started the pcb and layout
Attached Images
File Type: jpg 1 PCB.jpg (92.9 KB, 10 views)
File Type: jpg 1 PCB OVERLAY.jpg (136.3 KB, 6 views)
cobra148 is offline  
Old 8th June 2008, 12:05 AM   (permalink)
Default

I'm confused about why you're asking this question. The 1.jpg image clearly shows it being connected to the CLK line of the AVR, look at the PDF of the AVR in question, one of them will be labeld CLK.
If you're a novice I would HIGHLY suggest you skip this particular endeavour and buy a programmer, such as the Dragon Digi-Key - ATAVRDRAGON-ND (Atmel - ATAVRDRAGON)
They're 49 dollars (US) and more than worth it. You'll have a development programmer that supports all basic and advanced programming and debugging features of all current and most future AVR products. You'll spend more than 49 dollars in time, effort, and material cobbling together a programmer that will have limited functionality.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."

Last edited by Sceadwian; 8th June 2008 at 12:07 AM.
Sceadwian is offline  
Old 8th June 2008, 04:28 PM   (permalink)
Smile No it doesnt

Hi,
Excuse my ignorance, but I attatched 1.jpg showing the schematic and a
capture of the AT90S1200 pinouts from the (data sheet pdf) along side of the schematic.

The capture from the pdf does not label ,show or mention CLK , just reset ,vcc, mosi miso, ect as you can clearly see.

And as my pcb drawing shows, I am fine with these connections, but not CLK.

Perhaps my question should have been, (NOT WHERE DO I CONNECT ON THE IC)
but rather ,as the pdf does not show CLK then what pin on the ic is known to be CLK ,as used by the experienced people out there.

Regards.
cobra148 is offline  
Old 8th June 2008, 08:10 PM   (permalink)
Default

Quote:
Originally Posted by cobra148 View Post
Hi,
Excuse my ignorance, but I attatched 1.jpg showing the schematic and a
capture of the AT90S1200 pinouts from the (data sheet pdf) along side of the schematic.

The capture from the pdf does not label ,show or mention CLK , just reset ,vcc, mosi miso, ect as you can clearly see.

And as my pcb drawing shows, I am fine with these connections, but not CLK.

Perhaps my question should have been, (NOT WHERE DO I CONNECT ON THE IC)
but rather ,as the pdf does not show CLK then what pin on the ic is known to be CLK ,as used by the experienced people out there.

Regards.
Please see the attached png picture. it is on page 34 of the ATMEL90s1200 datasheet. it is self explanatory and hope serves you.
__________________
Regards,
Sarma.

Last edited by mvs sarma; 7th July 2008 at 01:17 PM.
mvs sarma is online now  
Old 9th June 2008, 01:55 AM   (permalink)
Default

Actually it seems to be figure 34 is on page 44 it's not page 34. I jumped the gun a bit there apparently the only place clk appears in the PDF is relating to the analog comparator input leakage current, I'm sure it's not related. If it's a custom pin there will be an .equ statement in the source code for the programmer, it will look like .equ ??? CLK. If you can post the code for the programmer we might be able to help, otherwise look at the code yourself to find the .equ statement. I don't see how figure 34 is obvious though the only thing that makes sense is that CLK is connected to the XTAL1, perhaps to reprogram the ATS90. You may already know this but the image shows you using status pins connected to the AVR, this will mean that you have to be using a program to allow direct access to the parallel port for the software that runs the programmer to function, even then it's using power from unused data lines which may or may not work.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a
straight answer, har har."

Last edited by Sceadwian; 9th June 2008 at 02:01 AM.
Sceadwian is offline  
Old 10th June 2008, 05:12 PM   (permalink)
Default

Somebody e-mailed me to say, pin 13 of the db-25 to the avr as per schematic
must go to (SCK AVR PIN 19) for CLK.

But the on the schematic, it shows that pin 2 on the DB-25 connects to SCK
AVR PIN 19.

This has confused me more, but in reality , I dont want to program the
AT90S1200 anyway.

I want to build this programmer to program a AT90S2313.

The pc program that I will use is , sp12 at http://www.attiny.com/sp12.htm
The programmer schematic and build with photo info is at http://www.attiny.com/programmer.htm

The avr is to be programmed for this project at Avr Projects By Dim - Countdown timer for PCB development boxes

The hex was compiled by bascom-avr for the AT90S2313 and is attached here.
I want to use the AT90S2313 with external xtal instead of the tiny2313,
because its supposed to be more accurate.

I know the tiny2313 has internal osc but would prefer the external approach
for this project.

Please my friend, help me make some sense out of all this ,(new to avr's)so that I can get the programmer & timer built.

Thanks in advance.
Attached Files
File Type: zip Bascom.zip (20.1 KB, 0 views)
cobra148 is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Question about component labels/values? pwotoole General Electronics Chat 5 23rd May 2007 11:38 PM
JDM programmer question otherguy Micro Controllers 6 2nd March 2006 08:07 AM
component question...I need to elevate a switch off a PCB NewGeek General Electronics Chat 8 29th August 2004 02:06 AM
question about component ratings marchache General Electronics Chat 4 4th April 2004 01:20 PM
circuit efficiency and component question bonanz General Electronics Chat 8 17th November 2003 12:05 AM



All times are GMT. The time now is 09:32 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker