AVR910 USB progr ammer
http://pinokio3000.narod.ru/my_designs/AVR910_USB_Programm...
AVR / 89S M icrocontrollers programmer compatible with AVR910 Programmer it is executed on the basis of the driver from Objective Development and it is completely compatible on c ommands with original original programmer programmer AVR910 from ATMEL. ATMEL. The description of th e original circuit programmer programmer can be take n in Application Note AVR91 AVR910: 0: In-System Programming , and the list of supported commands can be seen in Application Note AVR AVR109: 109: Self P rogramm rogramming ing the Design: The circuit programmer is resulted in figure figure below. Safety fuse F1 serves for protec tion of lines of port USB against casual short circuit on circuits of programmer. programmer. Diodes VD1, VD2 VD2 - with a direct power failure ~0,6 … 0,7В , are intende d for downturn of a power of microcontroller DD1 up to 3,6 V. Light-emitting diodes VL1, VL2 VL2 signal about the c urrent actions programmer, and, accordingly, designate modes of reading and recording. Light-emitting diode diode VL3 serves for the signal system of submission of a power on programmer.
The jumper J1-J2 serves as for initial programming programming the microcontroller (close J1 - MODify), MODify), and for use as a socket programmer (close J2 programmed NORMal). NORMal). Resistors R10 - R14 are intended for the coordination of levels of signals of the controller programmer and the programmed controller. Speed for port SPI it is equal 187, 5 kHz. It allows to program controllers with clock frequency a pproximately from 570 kHz for tiny/mega, 750 kHz for 90S and 7,5 MHz for 89S. Controllers are programmed from 10 till 30 seconds together with verification depending on volume FLASH of memory and clock frequency. On conclusion LED of socket ISP the meander with frequency of 1 MHz for "revival" uCU at which have been wrongly wrongly programmed fuse bits, responsible for clocking is removed. removed. The signal is generated c onstantly and does not depend o n an operat ing mode of programmer Programmer it was tested with programs AVRProg v.1.4 (enters into a pa ckage AVRStudio ), ChipBlasterAV ChipBlasterAVR R v.1.07 Evaluation , AVROSP (ATMEL AVR Open Source P rogrammer) , CodeVisionAVR . Besides programmer it was tested with the program AVRDUDE , however, the program with given given programmer is not compatible, as not a ll commands of the report AVR910 fulfils correctly. Programmer allows to program all controllers AVR supporting ISP ISP (In System Programming Programming - Programming In System), System), and as uCU series 89S - 89S53 and 89S8252. At present with the se t forth above programs programming programming controllers 89S53, 89S8252, 90S2313, 90S8515, ATtiny26, ATtiny45, ATtiny2313, ATmega48, ATmega8, ATmega8515, ATmega8535, ATmega16, ATmega32, ATmega64 ATmega128, AT90CAN128 is tested I strongly recommend to repeat the circuit one-in-one, to throw out "superfluous" details from the circuit can result or in wrong functioning programmer, programmer, or to possible possible failure USB USB of of port on , for what, naturally, I do not carry what responsibility. responsibility. Insertion FUSE BITS: For normal functioning the controller in the circuit it is necessary, tha t were programmed (bats SPIEN, C KOPT and SUT0 SUT0 are established in "0"). Usually Usually uCU, going going from a factory, i.e. new, have alread y programmed programmed bats SPIEN. As it is desirable (but it is not necessary) to program (to establish in "0") bats B ODEN that will resolve job built - in uCU broun-out broun-out the detec tor. At not programmed programmed to ba t BODLEVEL level operations broun-out the detector there will be at a level of 2,4...2,9 Volt... Other bats should be not programmed (are established in "1") Installation: Windows XP To stitch the controller. To To connect newly-baked programmer programmer to Р С through free socket USB. USB. OS will find the new device device -AVR910 - AVR910 USB find the driver, to refuse, and to specify a way to a fileprottoss.avr910.usb.inf fileprottoss.avr910.usb.inf . At the Programmer , at the offer automatica lly to find prevention{warning}, that the driver has no digital signature, to send OS in erotic travel. Small problems problems at me have a risen, when, after installation, program AVRProg AVRProg v. 1.4 c ould not find programmer as OS has appropriated to him number COM9. After monitoring ports appeared, that AVRProg searches for the device only on ports COM1 - COM4. To To change number of port it is possible possible if to go in the manager of devices in:
1 of 2
8/22/2010 1:29 AM
AVR910 USB programmer
http://pinokio3000.narod.ru/my_designs/AVR910_USB_Programm...
AVR910 USB Programmer-> Pro perties> Parameters of port-> In addition-> Number of COM-port Windows 2000 Basically, installation does not differ from described above for Windows XP, but the re is one BUT - delays in the driver usbser.sys spoil a chain of commands from on PC up to Soft programmer and, circuit of answers back from programmer up Soft to on PC... I yet have not established the Problem, but there is a decision... Certainly not the most beautiful, but works reliably:-) It is necessary to replace a file usbser.sys in system folders Windows 2000 on similar from Windows XP. These are folders ...\winnt\system32\drivers \ and ...\winnt\system32\dllcashe \ . The file usbser.sys from Windows XP SP1 can be taken here . It is natural, that the driver should be substituted having loaded under other OS (for example from a loading disk). As nucleus of these t wo OS are very similar, the driver from XP fine fe els itself under 2000:--) At least, I ha ve tested some more devices, pre tending to be USB CDC Class, and all of them worked as usually... Attempts install the driver from XP through an adjusting file, unfortunately, in anything have not resulted. If who that knows, how it can be made, I shall be grateful. Files: All archives contain a file of an insertion, an adjusting inf-file and the circuit in format Adobe pdf. Except for it old versions contain the description as old html pages. avr910_usb_programmer.files.ver.1.01.rar the Version from 25.08.2006. Frequency trim SPI, that adds speed of p rogramming a little, however, it, there are problems with job on some computers because of timeout expectations ON programmer avr910_usb_programmer.files.ver.1.02.rar the Version from 21.09.2006. No frequency trim, but for that generation of a meander on conclusion LED of a ISP-socket has appeared. There is a mistake in an insertion, connected with an establishment on conclusion RESET of a ISP-socket a broad gully. "0" at the first inclusion programmer. The conclusion remains in such status before the first programming or an input in the menu of installation fuse bits... avr910_usb_programmer.files.ver.1.03.rar the Version from 31.10.2006. Is corrected a mistake of version 1.02. avr910_usb_programmer.files.ver.1.04.rar the Version from 16.12.2006. internal pull-up the resistor connection Is added to an input MISO uCU programmers during programming target uCU. Probably, it will be useful at reading payments with the lowered voltage power, a nd in general, I think, will positively have an effect on reliability of reading programmed uCU... At the moment the freshest version of an insertion You can freely use materials of the given publication in educational and non-commercial objectives. The reprint, the publication i n the Internet, magazines, use in commercial applications - is possible only after the coordination with the author Russian version On main To write to me Ryzhkov Andrey aka PROTTOSS Last updating: 26.12.2006
2 of 2
8/22/2010 1:29 AM