Page 1 of 1

Qs of a beginner about AVRDoper

Posted: Mon Aug 11, 2008 6:02 pm
by AvrDoper with 40pinSocket
hi
I downloaded the last circuit of Avrdoper from this site.
And I have Some SILLY questions about it since I'm a beginner with AVR:

[By the way excuse me for my bad English :oops: .I am not English]

1.As I understood SV1 connector is ATMEL standard 10 pin connector for ISP programming,SV2 is 20 pin connector for high voltage programmming in serial mode (since avrdoper doesnt support PP ) , IC4 is the socket for Programming 14 pin microControllers in only HVSP mode and IC3 is the socket for Programming 8 pin microControllers in only HVSP mode .
Am I Right?
2.Does JP1 disable ISP for Both SV1 and programming sockets(IC4/3)?
Or it only disconnect vcc of
3.Why The built-in USB to serial converter does not work with all PC hardware?
I have a Typical Intel-based PC With USB2.0 and Windows XP.Does it Work fine?

4.Is there any program other than AVRDUDE which supports HIV mode?

5.What should be the fuse bits configuration for Atmega8?I didnt understand Makefile.

5.If I want to use SV1/2 where can I found out tables about connecting them to MicroC pins?(for example Mega16)

6.Is that(below)what should I follow to Make Avrdoper simply?
>>>A.building the board.
>>>b.Programming "avr-doper-mega8-12mhz.hex" to atmega8 with another programmer like stk200 and configuring its fuse bits .
>>>c.setting Usb HID jumper
>>>d.connecting the board to Pc and then start working with avrdude without USBdriver
if I dont want to use HIV mode I should remove HIV jumper, connect it to PC , Install avrdoper.inf file as USB driver and use avrstudio with HVSP configuration.

7.Isn't the .HEX file bigger than ATMEGA8 flash?Windows shows its size 18KB!

8.I din't understand this part of readme file (What is The processor clock for? ):
"External Programming Socket The ISP interface can supply an external stand-alone programming socket with power and processor clock. You must set jumper JP1 to connect the ISP power to the programmer's power supply. The processor clock is available at ISP pin 3, which was otherwise used for a programming indicator LED"

9.Can I program AVRs with fuses set to use External Crystal with SV1 connector(ISP mode)?

***10.How Can I add a 40 pin Socket for Atmega 16/32/... to the PCB file for programming those MicroControllers in HVSP mode without using SV2?
(I mean like Programming sockets IC3/4)***


------------------------------------
I know my silly questions are a lot but PLEASE answer them!!! :oops: :oops:

!!!

Posted: Thu Aug 14, 2008 5:30 pm
by Arman-UV
No answer?
Doesnt anybody know these simple questions?

!!!

Posted: Sat Aug 16, 2008 6:29 pm
by Arman-UV
:cry: :cry: :cry: :(

be simple

Posted: Sun Aug 17, 2008 10:07 pm
by megaboy
why u r making it so complex and difficult ,
please relax and tell me which step u r in right now and if u know how to program a avr mikros before u see this programmer and what is the type of the programmer and the compiler u r using .
I'll try to help u as i can :wink:

Posted: Tue Aug 26, 2008 6:43 pm
by christian
ad (1): You're right.

ad (2): It only disconnects the supply. This is necessary if your device has its own power supply.

ad (3): I don't know. If I did know, the problem were probably fixed.

ad (4): No.

ad (5): The hex values from the makefile:

Code: Select all

# ATMega8 FUSE_L (Fuse low byte):
# 0x9f = 1 0 0 1   1 1 1 1
#        ^ ^ \ /   \--+--/
#        | |  |       +------- CKSEL 3..0 (external >8M crystal)
#        | |  +--------------- SUT 1..0 (crystal osc, BOD enabled)
#        | +------------------ BODEN (BrownOut Detector enabled)
#        +-------------------- BODLEVEL (2.7V)
# ATMega8 FUSE_H (Fuse high byte):
# 0xc9 = 1 1 0 0   1 0 0 1 <-- BOOTRST (boot reset vector at 0x0000)
#        ^ ^ ^ ^   ^ ^ ^------ BOOTSZ0
#        | | | |   | +-------- BOOTSZ1
#        | | | |   + --------- EESAVE (don't preserve EEPROM over chip erase)
#        | | | +-------------- CKOPT (full output swing)
#        | | +---------------- SPIEN (allow serial programming)
#        | +------------------ WDTON (WDT not always on)
#        +-------------------- RSTDISBL (reset pin is enabled)
#


ad (5b): Look at the data sheet. The ISP connector connects to pins MISO, MOSI, SCK, RESET, GND and Vcc.

ad (6): Yes. But you don't necessarily need HVSP mode with AVR Studio, only if you really use the HVSP sockets.

ad (7): The file is in ASCII (Intel HEX format). Each byte is encoded by at least two characters.

ad (8): If you burn the fuses so that the AVR expects an external crsytal, but the target was built for the internal RC oscillator, you'll be happy to have this clock just to set the fuses back to enable the internal RC oscillator. The AVR can't be programmed without clock.

ad (9): Yes, but you must connect an external crystal to your AVR OR apply an external clock to the XTAL1 pin (might be XTAL2, check the data sheet).

ad (10): Only 8 and 14 pin devices support HVSP mode. Bigger devices only support HV parallel programming.