<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/711" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2007-09-04T20:53:42+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/711</id>

		<entry>
		<author><name><![CDATA[duni]]></name></author>
		<updated>2007-09-04T20:53:42+02:00</updated>

		<published>2007-09-04T20:53:42+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=711&amp;p=2261#p2261</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=711&amp;p=2261#p2261"/>
		<title type="html"><![CDATA[Fundamental issues with AVR-Doper, but usb &amp; wiring ok]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=711&amp;p=2261#p2261"><![CDATA[
Note that if no device is connected the signature reads 0x000000, instead of giving rc-1 error as in ISP mode.<br />Here is the whole avrdude -vvvv output:<br /><em class="text-italics"><br />sudo avrdude -c stk500hvsp -P avrdoper -p t45 -vvvv<br /><br />avrdude: Version 5.3.1, compiled on Mar  2 2007 at 11:28:00<br />         Copyright (c) 2000-2005 Brian Dean, <!-- m --><a class="postlink" href="http://www.bdmicro.com/">http://www.bdmicro.com/</a><!-- m --><br /><br />         System wide configuration file is &quot;/etc/avrdude/avrdude.conf&quot;<br />         User configuration file is &quot;/home/duni/.avrduderc&quot;<br />         User configuration file does not exist or is not a regular file, skipping<br /><br />         Using Port            : avrdoper<br />         Using Programmer      : stk500hvsp<br />Warning: could not set configuration: could not set config 1: Device or resource busy<br />Received 29 bytes data chunk of total 0<br />Send: 7 bytes: 1b 01 00 01 0e 01 14  &quot;.......&quot;<br />Sending 7 bytes data chunk<br />Received 29 bytes data chunk of total 17<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 01  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 0b  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 01  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 08  &quot;.&quot;<br />Receive: 1 bytes: 53  &quot;S&quot;<br />Receive: 1 bytes: 54  &quot;T&quot;<br />Receive: 1 bytes: 4b  &quot;K&quot;<br />Receive: 1 bytes: 35  &quot;5&quot;<br />Receive: 1 bytes: 30  &quot;0&quot;<br />Receive: 1 bytes: 30  &quot;0&quot;<br />Receive: 1 bytes: 5f  &quot;_&quot;<br />Receive: 1 bytes: 32  &quot;2&quot;<br />Receive: 1 bytes: 02  &quot;.&quot;<br />avrdude: stk500v2_getsync(): found STK500 programmer<br />Received 29 bytes data chunk of total 0<br />         AVR Part              : ATtiny45<br />         Chip Erase delay      : 4500 us<br />         PAGEL                 : P00<br />         BS2                   : P00<br />         RESET disposition     : possible i/o<br />         RETRY pulse           : SCK<br />         serial program mode   : yes<br />         parallel program mode : yes<br />         Timeout               : 200<br />         StabDelay             : 100<br />         CmdexeDelay           : 25<br />         SyncLoops             : 32<br />         ByteDelay             : 0<br />         PollIndex             : 3<br />         PollValue             : 0x53<br />         Memory Detail         :<br /><br />                                  Block Poll               Page                       Polled<br />           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack<br />           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------<br />           eeprom        65     6     4    0 no        256    4      0  4000  4500 0xff 0xff<br />                                  Block Poll               Page                       Polled<br />           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack<br />           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------<br />           flash         65     6    32    0 yes      4096   64     64  4500  4500 0xff 0xff<br />                                  Block Poll               Page                       Polled<br />           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack<br />           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------<br />           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00<br />                                  Block Poll               Page                       Polled<br />           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack<br />           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------<br />           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00<br />                                  Block Poll               Page                       Polled<br />           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack<br />           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------<br />           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00<br />                                  Block Poll               Page                       Polled<br />           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack<br />           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------<br />           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00<br />                                  Block Poll               Page                       Polled<br />           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack<br />           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------<br />           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00<br />                                  Block Poll               Page                       Polled<br />           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack<br />           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------<br />           calibration    0     0     0    0 no          2    0      0     0     0 0x00 0x00<br /><br />         Programmer Type : STK500HVSP<br />         Description     : Atmel STK500 V2 in high-voltage serial programming mode<br />         Programmer Model: STK500<br />Send: 8 bytes: 1b 02 00 02 0e 03 90 86  &quot;........&quot;<br />Sending 8 bytes data chunk<br />Received 29 bytes data chunk of total 9<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 02  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 01  &quot;.&quot;<br />Receive: 1 bytes: 16  &quot;.&quot;<br />Send: 8 bytes: 1b 03 00 02 0e 03 91 86  &quot;........&quot;<br />Sending 8 bytes data chunk<br />Received 29 bytes data chunk of total 9<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 02  &quot;.&quot;<br />Receive: 1 bytes: 14  &quot;.&quot;<br />Send: 8 bytes: 1b 04 00 02 0e 03 92 82  &quot;........&quot;<br />Sending 8 bytes data chunk<br />Received 29 bytes data chunk of total 9<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 04  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 04  &quot;.&quot;<br />Receive: 1 bytes: 15  &quot;.&quot;<br />         Hardware Version: 1<br />         Firmware Version: 2.04<br />Send: 8 bytes: 1b 05 00 02 0e 03 9a 8b  &quot;........&quot;<br />Sending 8 bytes data chunk<br />Received 29 bytes data chunk of total 9<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 05  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: aa  &quot;.&quot;<br />Receive: 1 bytes: ba  &quot;.&quot;<br />         Topcard         : STK501<br />Send: 8 bytes: 1b 06 00 02 0e 03 94 86  &quot;........&quot;<br />Sending 8 bytes data chunk<br />Received 29 bytes data chunk of total 9<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 06  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 30  &quot;0&quot;<br />Receive: 1 bytes: 23  &quot;#&quot;<br />         Vtarget         : 4.8 V<br />Send: 8 bytes: 1b 07 00 02 0e 03 98 8b  &quot;........&quot;<br />Sending 8 bytes data chunk<br />Received 29 bytes data chunk of total 9<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 07  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 02  &quot;.&quot;<br />Receive: 1 bytes: 10  &quot;.&quot;<br />Send: 8 bytes: 1b 08 00 02 0e 03 95 89  &quot;........&quot;<br />Sending 8 bytes data chunk<br />Received 29 bytes data chunk of total 9<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 08  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 1d  &quot;.&quot;<br />Send: 8 bytes: 1b 09 00 02 0e 03 96 8b  &quot;........&quot;<br />Sending 8 bytes data chunk<br />Received 29 bytes data chunk of total 9<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 09  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 01  &quot;.&quot;<br />Receive: 1 bytes: 1d  &quot;.&quot;<br />Send: 8 bytes: 1b 0a 00 02 0e 03 97 89  &quot;........&quot;<br />Sending 8 bytes data chunk<br />Received 29 bytes data chunk of total 9<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 0a  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 02  &quot;.&quot;<br />Receive: 1 bytes: 1d  &quot;.&quot;<br />         Varef           : 0.0 V<br />         Oscillator      : 1.229 MHz<br />         SCK period      : 2.2 us<br /><br />Send: 39 bytes:<br />1b 0b 00 21 0e 2d 4c 0c  1c 2c 3c 64 74 66 68 78   &quot;...!.-L..,&lt;dtfhx&quot;<br />68 68 7a 6a 68 78 78 7d  6d 0c 80 40 20 10 11 08   &quot;hhzjhxx}m..@ ...&quot;<br />04 02 03 08 04 00 bc                               &quot;.......&quot;<br />Sending 39 bytes data chunk<br />Received 29 bytes data chunk of total 8<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 0b  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 02  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 2d  &quot;-&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 31  &quot;1&quot;<br />Send: 15 bytes:<br />1b 0c 00 09 0e 30 64 00  06 01 01 19 00 32 69      &quot;.....0d......2i&quot;<br />Sending 15 bytes data chunk<br />Received 29 bytes data chunk of total 8<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 0c  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 02  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 30  &quot;0&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 2b  &quot;+&quot;<br />avrdude: AVR device initialized and ready to accept instructions<br /><br />Reading |                                                    | 0% 0.00s<br />avrdude: stk500hv_read_byte(.., signature, 0x0, ...)<br />avrdude: stk500hv_read_byte(): Sending read memory command: Send: 8 bytes: 1b 0d 00 02 0e 3b 00 21  &quot;.....;.!&quot;<br />Sending 8 bytes data chunk<br />Received 29 bytes data chunk of total 9<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 0d  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 3b  &quot;;&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: ff  &quot;.&quot;<br />Receive: 1 bytes: df  &quot;.&quot;<br />avrdude: stk500hv_read_byte(.., signature, 0x1, ...)<br />avrdude: stk500hv_read_byte(): Sending read memory command: Send: 8 bytes: 1b 0e 00 02 0e 3b 01 23  &quot;.....;.#&quot;<br />Sending 8 bytes data chunk<br />Received 29 bytes data chunk of total 9<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 3b  &quot;;&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: ff  &quot;.&quot;<br />Receive: 1 bytes: dc  &quot;.&quot;<br />Reading | #################                                  | 33% 0.03s<br />avrdude: stk500hv_read_byte(.., signature, 0x2, ...)<br />avrdude: stk500hv_read_byte(): Sending read memory command: Send: 8 bytes: 1b 0f 00 02 0e 3b 02 21  &quot;.....;.!&quot;<br />Sending 8 bytes data chunk<br />Received 29 bytes data chunk of total 9<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 0f  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 03  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 3b  &quot;;&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: ff  &quot;.&quot;<br />Receive: 1 bytes: dd  &quot;.&quot;<br />Reading | ################################################## | 100% 0.04s<br /><br />avrdude: Device signature = 0xffffff<br />avrdude: Yikes!  Invalid device signature.<br />         Double check connections and try again, or use -F to override<br />         this check.<br /><br />Send: 9 bytes:<br />1b 10 00 03 0e 31 0f 0f  37                        &quot;.....1..7&quot;<br />Sending 9 bytes data chunk<br />Received 29 bytes data chunk of total 8<br />Receive: 1 bytes: 1b  &quot;.&quot;<br />Receive: 1 bytes: 10  &quot;.&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 02  &quot;.&quot;<br />Receive: 1 bytes: 0e  &quot;.&quot;<br />Receive: 1 bytes: 31  &quot;1&quot;<br />Receive: 1 bytes: 00  &quot;.&quot;<br />Receive: 1 bytes: 36  &quot;6&quot;<br /><br />avrdude done.  Thank you.</em><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=416">duni</a> — Tue Sep 04, 2007 8:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[duni]]></name></author>
		<updated>2007-09-03T12:07:12+02:00</updated>

		<published>2007-09-03T12:07:12+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=711&amp;p=2231#p2231</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=711&amp;p=2231#p2231"/>
		<title type="html"><![CDATA[Fundamental issues with AVR-Doper, but usb &amp; wiring ok]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=711&amp;p=2231#p2231"><![CDATA[
So I'm still searching and trying and I got so far:<br />the atmega8 is ok, I can read it's flash and fuses with a parallel port programmer - this means that the pin 17- the data output is alright, otherwise I couldn't be able to read it.<br />I measured and noted all the significant voltages on my board:<br /><img src="http://lh3.google.com/duni.bg/RtvZ2UziEaI/AAAAAAAAAIo/Uoe8EZ8w7T0/doper_voltages.png" class="postimage" alt="Image" /><br />I can't understand the behavior of T1 and T3 - shouldn't there be something on the emitter instead  of 0V? I have BC548B and BC558B in TO92 package by the way. Am I connecting them right?<br />Is there something strange/unusual with the other values?<br /><br />Thank You in advance!<br /><br />PS: By the way what is the purpose of pin 3 of the ISP connector - it has to be GND or NC on other boards?<br /><br /><strong class="text-strong">EDIT: Now I have something:</strong><br />on my laptops usb ports the COM-mode isn't functioning. But on my desktop it is, and when the tiny45 is connected to the ISP, not the HVSP, it's working! The device is recognized and readable. I haven't tried to flash it so far.<br />And in Windows the HID mode is working, too. Now I can't figure out why avrdude is making problems in Linux!?! I've compiled the newest 5.4 and still no connection:<br /><em class="text-italics">Warning: cannot query manufacturer for device: error sending control message: Operation not permitted<br />avrdude: avrdoper_open(): I/O Error.</em> <br />That's not the standard <em class="text-italics">avrdoper_open(): Device not found</em> error...<br />Obviously the hardware, accept maybe the HVSP part, is OK.<br /><br /><strong class="text-strong">EDIT2:</strong> Well, I can't be that stupid... I have to have root prevs to open the device... And it works... I have to configure it for normal users too.<br />But the HVSP issue remains - are the voltages/transistor right?<br /><br /><strong class="text-strong">NEXT EDIT</strong>(btw. I don't want to bump my topic, so I'll just edit my last message)<br />I've checked all connections again. All transistors passed the hFE test, they are all OK.<br />When the avrdude check for t45 fails the SCK pin on the HVSP socket gets active for &lt;1s - so it really wants to read something.<br />I still don't understand why the transistors T1 and T3 don't supply the voltages needed - that's the problem as far as I see - I just don't get the 12V on the reset pin and the 5V Vcc. With them everything will be alright, I suppose. What could be wrong?<br /><br /><strong class="text-strong">NEXT EDIT</strong><br />Slowly I'm figuring the things out by myself - I now understand that I have to use <br /><em class="text-italics">avrdude -c stk500hvsp</em>  instead of <em class="text-italics">-c stk500v2</em>. <br />A note in the Doper's Readme file will be very useful for newbies. And maybe a note with the ISP connector's pinout, since it differs from the stk500's original one.<br /><br />The new problem with HVSP I have to solve is the following:<br /><br /><em class="text-italics">avrdude: AVR device initialized and ready to accept instructions<br />Reading | ################################################## | 100% 0.04s<br /><br />avrdude: Device signature = 0xffffff<br />avrdude: Yikes!  Invalid device signature.<br />         Double check connections and try again, or use -F to override<br />         this check.<br /></em><br />The signature is not always &quot;0xffffff&quot;, but it consists of many &quot;f's&quot;, though.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=416">duni</a> — Mon Sep 03, 2007 12:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-09-02T21:23:26+02:00</updated>

		<published>2007-09-02T21:23:26+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=711&amp;p=2220#p2220</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=711&amp;p=2220#p2220"/>
		<title type="html"><![CDATA[Fundamental issues with AVR-Doper, but usb &amp; wiring ok]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=711&amp;p=2220#p2220"><![CDATA[
Well, the kind <em class="text-italics">avrdude: stk500v2_command(): command failed</em> message is now replaced by <br /><em class="text-italics">avrdude: ser_send(): write error: Invalid argument</em>. <br />This was the error I got at the beginning, too.<br />I'm just trying to find something, but I have no clue how the proper signals/voltages have to be. <br />Any tips for critical points I have to check?<p>Statistics: Posted by Guest — Sun Sep 02, 2007 9:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-09-02T19:11:40+02:00</updated>

		<published>2007-09-02T19:11:40+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=711&amp;p=2215#p2215</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=711&amp;p=2215#p2215"/>
		<title type="html"><![CDATA[Fundamental issues with AVR-Doper, but usb &amp; wiring ok]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=711&amp;p=2215#p2215"><![CDATA[
I've just build AVR-Doper, the original one from the obdev.at website. I flashed the mega8-16 with a simple parallel programmer including the both fuse bytes. <br />Now AVR-Doper connects in both modes and is being recognized:<br /><em class="text-italics"><br />usb 2-1: new low speed USB device using ohci_hcd and address 2<br />usb 2-1: configuration #1 chosen from 1 choice<br />drivers/hid/usbhid/hid-core.c: ctrl urb status -75 received<br />hiddev96: USB HID v1.01 Device [obdev.at AVR-Doper] on usb-0000:02:00.0-1<br /></em> --&gt; <strong class="text-strong">in HID-mode</strong><br /><em class="text-italics"><br />usb 2-1: new low speed USB device using ohci_hcd and address 3<br />usb 2-1: configuration #1 chosen from 1 choice<br />usbcore: registered new interface driver cdc_acm<br />drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters<br /></em> --&gt; <strong class="text-strong">in COM-mode</strong><br /><br />But when I execute <em class="text-italics">avrdude -c stk500v2 -P avrdoper -p t45 -U flash:w:firmware.hex:i </em>, I get:<br /><em class="text-italics">Warning: cannot query manufacturer for device: error sending control message: Operation not permitted<br />avrdude: avrdoper_open(): I/O Error.</em><br />  --&gt; <strong class="text-strong">in HID mode and </strong><br /><em class="text-italics"> avrdude -c stk500v2 -P /dev/ttyACM0 -p t45 -U flash:w:firmware.hex:i<br />avrdude: stk500v2_command(): command failed<br />avrdude: initialization failed, rc=-1<br />         Double check connections and try again, or use -F to override<br />         this check.</em><br />  --&gt; <strong class="text-strong">in COM mode</strong><br />(The last message I get in both modes under windows).<br /><br />About the voltages:<br />The HVSP voltage is 12.47V. Very very strange is, that the MOSI,SCK,MISO,RST lines are 0V. I want to program my target - tiny45 - in the HVSP socket, but although the 12.47 voltage is ok all voltages in the both sockets stay at 0V.<br />In the first test I've overseen that 3 traces under the 20 pin HVSP are connected, because they were not entirely etched. Those were pin1&amp;2 from the connector - the ground, the hvsp reset and atmega's pin17, witch trace passes by. So I got 0V on the D3 diode. Now everything is fine, but my concerns are, whether the avr's pin is fine, but the 13V were &quot;grounded&quot;...<br /><br />Could this be the problem for the programmers entire behavior? <br />What else could cause such problems and where should I start to look for them?<p>Statistics: Posted by Guest — Sun Sep 02, 2007 7:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
