From MAILER-DAEMON Sun Mar 01 00:14:27 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lde0R-0004ei-Kc for mharc-avr-chat@gnu.org; Sun, 01 Mar 2009 00:14:27 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lde0P-0004ct-UT for avr-chat@nongnu.org; Sun, 01 Mar 2009 00:14:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lde0O-0004bK-6u for avr-chat@nongnu.org; Sun, 01 Mar 2009 00:14:25 -0500 Received: from [199.232.76.173] (port=48045 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lde0O-0004az-1r for avr-chat@nongnu.org; Sun, 01 Mar 2009 00:14:24 -0500 Received: from smtp.knology.net ([24.214.63.101]:35624) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lde0N-0003Al-0a for avr-chat@nongnu.org; Sun, 01 Mar 2009 00:14:23 -0500 Received: (qmail 23862 invoked by uid 0); 1 Mar 2009 05:14:19 -0000 Received: from unknown (HELO ?10.0.0.187?) (75.76.211.79) by smtp1.knology.net with SMTP; 1 Mar 2009 05:14:19 -0000 In-Reply-To: <20090228070642.56A5551@uriah.heep.sax.de> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: David Kelly Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Date: Sat, 28 Feb 2009 23:15:02 -0600 To: Joerg Wunsch X-Mailer: Apple Mail (2.753.1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: avr-chat X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: avr-chat List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 05:14:26 -0000 On Feb 28, 2009, at 1:06 AM, Joerg Wunsch wrote: > David Kelly wrote: > >>> I understand that JTAg, thanks to its very nature, allows to chain >>> devices, allowing to talk with any one dvice from a single JTAG >>> port. >> >> In practice I don't think the Dragon supports that. > > Of course, it does. We aren't in MSP430 land here... (From what I've > heard, MSP430 has a crippled and incomplete JTAG implementation that > doesn't allow chaining.) I remember looking for that Once Upon A Time and didn't find it. I stand corrected. I have had situations where the combination of Dragon and target board seemed to be ultra sensitive to the cable used between. Where I thought the 6" cable worked and the 9" was not reliable. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From MAILER-DAEMON Sun Mar 01 09:23:33 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LdmZp-0000eJ-Ig for mharc-avr-chat@gnu.org; Sun, 01 Mar 2009 09:23:33 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LdmZn-0000a0-Ni for avr-chat@nongnu.org; Sun, 01 Mar 2009 09:23:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LdmZl-0000VU-MK for avr-chat@nongnu.org; Sun, 01 Mar 2009 09:23:31 -0500 Received: from [199.232.76.173] (port=34961 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdmZl-0000V3-Hg for avr-chat@nongnu.org; Sun, 01 Mar 2009 09:23:29 -0500 Received: from smtp7.tech.numericable.fr ([82.216.111.43]:48218) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LdmZl-00051d-8J for avr-chat@nongnu.org; Sun, 01 Mar 2009 09:23:29 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp7.tech.numericable.fr (Postfix) with SMTP id 2C156163818 for ; Sun, 1 Mar 2009 15:23:27 +0100 (CET) Date: Sun, 1 Mar 2009 15:23:27 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Message-Id: <20090301152327.5964c6cf.vincent.trouilliez@modulonet.fr> In-Reply-To: References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 14:23:32 -0000 On Sat, 28 Feb 2009 23:15:02 -0600 David Kelly wrote: > I have had situations where the combination of Dragon and target > board seemed to be ultra sensitive to the cable used between. Where I > thought the 6" cable worked and the 9" was not reliable. David don't scare me ! 6 inch is tiny ! :-O My current DIY parallel cable is 37 inch long (no buffers, and it works reliably somehow) and it's barely enough to get the header from the back of the computer, to the desk where the targets sit ! Luckily the dragon uses USB and I have a front USB connector, so I don't need a long cable to get round the twoer computer case, but still, 6 inch is too short to get from the dragon onto the second target ! How comes signal can travel one meter in a DIY crap cable with no buffering or anything, and the same kind of signals could not survive a 9 +" or more travel ? :-/ :-( -- Vince, now anticipating disappointement when he receives his Dragon next week... From MAILER-DAEMON Sun Mar 01 09:27:40 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ldmdn-0006pK-W4 for mharc-avr-chat@gnu.org; Sun, 01 Mar 2009 09:27:40 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ldmdm-0006li-0p for avr-chat@nongnu.org; Sun, 01 Mar 2009 09:27:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ldmdl-0006kp-Ay for avr-chat@nongnu.org; Sun, 01 Mar 2009 09:27:37 -0500 Received: from [199.232.76.173] (port=33711 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ldmdl-0006ke-8l for avr-chat@nongnu.org; Sun, 01 Mar 2009 09:27:37 -0500 Received: from smtp2.tech.numericable.fr ([82.216.111.38]:34282) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ldmdk-0005RP-Ta for avr-chat@nongnu.org; Sun, 01 Mar 2009 09:27:37 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp2.tech.numericable.fr (Postfix) with SMTP id 22BE918D814 for ; Sun, 1 Mar 2009 15:27:34 +0100 (CET) Date: Sun, 1 Mar 2009 15:27:33 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Message-Id: <20090301152733.dd638730.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090301152327.5964c6cf.vincent.trouilliez@modulonet.fr> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090301152327.5964c6cf.vincent.trouilliez@modulonet.fr> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 14:27:38 -0000 On Sun, 1 Mar 2009 15:23:27 +0100 Vincent Trouilliez wrote: > How comes signal can travel one meter in a DIY crap cable with no > buffering or anything, and the same kind of signals could not survive a > 9 +" or more travel ? :-/ :-( I mean, for a given/similar download speed of course. -- Vince From MAILER-DAEMON Sun Mar 01 17:36:09 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LduGX-0001z7-5c for mharc-avr-chat@gnu.org; Sun, 01 Mar 2009 17:36:09 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LduGU-0001xE-F0 for avr-chat@nongnu.org; Sun, 01 Mar 2009 17:36:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LduGS-0001wp-SG for avr-chat@nongnu.org; Sun, 01 Mar 2009 17:36:05 -0500 Received: from [199.232.76.173] (port=35945 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LduGS-0001wm-MI for avr-chat@nongnu.org; Sun, 01 Mar 2009 17:36:04 -0500 Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]:62603) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LduGS-0003rC-6y for avr-chat@nongnu.org; Sun, 01 Mar 2009 17:36:04 -0500 Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090301223601.XJFV4080.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com> for ; Sun, 1 Mar 2009 22:36:01 +0000 Received: from [192.168.1.105] (really [86.20.118.21]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090301223558.WREL22934.aamtaout04-winn.ispmail.ntl.com@[192.168.1.105]> for ; Sun, 1 Mar 2009 22:35:58 +0000 Message-Id: <3B60D5DB-1B6F-4C2D-B112-D7AFE5E6F741@helicron.net> From: Peter Harrison To: avr-chat@nongnu.org In-Reply-To: <49A97C3E.5090905@innot.de> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: [avr-chat] AVR on the Mac Date: Sun, 1 Mar 2009 22:35:56 +0000 References: <49A97C3E.5090905@innot.de> X-Mailer: Apple Mail (2.930.3) X-Cloudmark-Analysis: v=1.0 c=1 a=FP58Ms26AAAA:8 a=10RsOy2awptjooVp2TkA:9 a=ZHImh3xc6V-Pqe1OZMAA:7 a=S3zcxVeSwMYgNxT6wEPIIc-hPakA:4 a=WuK_CZDBSqoA:10 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 22:36:07 -0000 On 28 Feb 2009, at 18:02, Thomas Holland wrote: > Hi, > > the AVR Eclipse plugin (http://avr-eclipse.sourceforge.net ) also > works on a Mac, so you can use the powerful Eclipse IDE for AVR > development. > > > Disclaimer: I am the author of the AVR Eclipse Plugin. > > brgds, > > Thomas > I have now downloaded Eclipse and the plug-in. Excellent. Really. I have heard folk moan about the sheer weight of Eclipse but it looks good to me. The plug-in does just what I would hope - and more. I am curious to know how it knew where the AVRMacPack stuff was. Since it is platform independent - how does it find the compiler tools? Anyway, I also loaded up the free Hi-Tide package from Hitech. This I now realise is just another installation of Eclipse but with a compiler that won't do optimisation. I shall be saying goodbye to that before I go to bed then. In the past I have found the simulator in AVR Studio to be very useful but I guess I can learn to live without it. I have never had any use for on-chip debugging but that looks like it might have to change. Thanks to Thomas Holland for his efforts with the plug-in. Pete From MAILER-DAEMON Sun Mar 01 18:01:45 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LdufJ-0004dN-0E for mharc-avr-chat@gnu.org; Sun, 01 Mar 2009 18:01:45 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LdufG-0004bA-V4 for avr-chat@nongnu.org; Sun, 01 Mar 2009 18:01:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LdufC-0004WL-RY for avr-chat@nongnu.org; Sun, 01 Mar 2009 18:01:42 -0500 Received: from [199.232.76.173] (port=44242 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdufC-0004WF-Oj for avr-chat@nongnu.org; Sun, 01 Mar 2009 18:01:38 -0500 Received: from mail3.sea5.speakeasy.net ([69.17.117.5]:50569) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LdufC-00089o-3i for avr-chat@nongnu.org; Sun, 01 Mar 2009 18:01:38 -0500 Received: (qmail 13139 invoked from network); 1 Mar 2009 23:01:34 -0000 Received: from ns1.lingpgmr.com (HELO deafeng3.signtype.info) (cochranb@[66.92.147.154]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 1 Mar 2009 23:01:34 -0000 Message-ID: <49AB13C5.4090403@speakeasy.net> Date: Sun, 01 Mar 2009 18:01:25 -0500 From: Robert L Cochran User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: avr-chat Subject: Re: [avr-chat] AVR on the Mac References: <49A97C3E.5090905@innot.de> <3B60D5DB-1B6F-4C2D-B112-D7AFE5E6F741@helicron.net> In-Reply-To: <3B60D5DB-1B6F-4C2D-B112-D7AFE5E6F741@helicron.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 23:01:43 -0000 Does this plugin also work with Rational Application Developer v7? This is a bit of a strange question since RAD is an IBM product aimed at large enterprises and they charge a lot of money for the license, even most of the software is Eclipse with a different look plus WebSphere. Bob Peter Harrison wrote: > > On 28 Feb 2009, at 18:02, Thomas Holland wrote: > >> Hi, >> >> the AVR Eclipse plugin (http://avr-eclipse.sourceforge.net ) also >> works on a Mac, so you can use the powerful Eclipse IDE for AVR >> development. >> >> >> Disclaimer: I am the author of the AVR Eclipse Plugin. >> >> brgds, >> >> Thomas >> > > I have now downloaded Eclipse and the plug-in. Excellent. Really. I > have heard folk moan about the sheer weight of Eclipse but it looks > good to me. The plug-in does just what I would hope - and more. I am > curious to know how it knew where the AVRMacPack stuff was. Since it > is platform independent - how does it find the compiler tools? > > Anyway, I also loaded up the free Hi-Tide package from Hitech. This I > now realise is just another installation of Eclipse but with a > compiler that won't do optimisation. I shall be saying goodbye to that > before I go to bed then. > > In the past I have found the simulator in AVR Studio to be very useful > but I guess I can learn to live without it. I have never had any use > for on-chip debugging but that looks like it might have to change. > > Thanks to Thomas Holland for his efforts with the plug-in. > > Pete > > > _______________________________________________ > AVR-chat mailing list > AVR-chat@nongnu.org > http://lists.nongnu.org/mailman/listinfo/avr-chat > > From MAILER-DAEMON Sun Mar 01 22:31:20 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LdysC-00023i-IF for mharc-avr-chat@gnu.org; Sun, 01 Mar 2009 22:31:20 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ldys9-000239-ML for avr-chat@nongnu.org; Sun, 01 Mar 2009 22:31:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ldys8-00022s-Fo for avr-chat@nongnu.org; Sun, 01 Mar 2009 22:31:17 -0500 Received: from [199.232.76.173] (port=53317 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ldys8-00022p-Bn for avr-chat@nongnu.org; Sun, 01 Mar 2009 22:31:16 -0500 Received: from smtp.knology.net ([24.214.63.101]:47484) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ldys7-0003C7-Vf for avr-chat@nongnu.org; Sun, 01 Mar 2009 22:31:16 -0500 Received: (qmail 27550 invoked by uid 0); 2 Mar 2009 03:31:14 -0000 Received: from unknown (HELO ?10.0.0.187?) (75.76.211.79) by smtp1.knology.net with SMTP; 2 Mar 2009 03:31:14 -0000 In-Reply-To: <20090301152327.5964c6cf.vincent.trouilliez@modulonet.fr> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090301152327.5964c6cf.vincent.trouilliez@modulonet.fr> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <013C73CD-E9FA-4DDF-959D-A628A0BCB625@hiwaay.net> Content-Transfer-Encoding: 7bit From: David Kelly Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Date: Sun, 1 Mar 2009 21:31:58 -0600 To: Vincent Trouilliez X-Mailer: Apple Mail (2.753.1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: avr-chat X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: avr-chat List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 03:31:18 -0000 On Mar 1, 2009, at 8:23 AM, Vincent Trouilliez wrote: > On Sat, 28 Feb 2009 23:15:02 -0600 > David Kelly wrote: > >> I have had situations where the combination of Dragon and target >> board seemed to be ultra sensitive to the cable used between. Where I >> thought the 6" cable worked and the 9" was not reliable. > > David don't scare me ! [...] > Vince, now anticipating disappointement when he receives his Dragon > next week... Don't expect disappointment. I never figured out what it was with that particular combination of PCB and Dragon but later used the same Dragon on other designs without any sort of hiccup other than I now have a dead Dragon from unknown cause. Can't say for sure the dead Dragon is the same one that was having problems driving the JTAG cable, but am pretty sure it was. Don't remember all the specifics but believe the CPU I was using was one the Dragon supported but my ICE Cube did not. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From MAILER-DAEMON Mon Mar 02 08:28:20 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Le8Bw-0007va-3k for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 08:28:20 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Le8Bt-0007rb-Si for avr-chat@nongnu.org; Mon, 02 Mar 2009 08:28:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Le8Bs-0007pS-M0 for avr-chat@nongnu.org; Mon, 02 Mar 2009 08:28:17 -0500 Received: from [199.232.76.173] (port=43654 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Le8Bs-0007p8-HI for avr-chat@nongnu.org; Mon, 02 Mar 2009 08:28:16 -0500 Received: from smtp2.tech.numericable.fr ([82.216.111.38]:44020) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Le8Bs-0008A6-5y for avr-chat@nongnu.org; Mon, 02 Mar 2009 08:28:16 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp2.tech.numericable.fr (Postfix) with SMTP id 0607518D80F for ; Mon, 2 Mar 2009 14:28:10 +0100 (CET) Date: Mon, 2 Mar 2009 14:28:09 +0100 From: Vincent Trouilliez To: avr-chat Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Message-Id: <20090302142809.dcdf51ba.vincent.trouilliez@modulonet.fr> In-Reply-To: <013C73CD-E9FA-4DDF-959D-A628A0BCB625@hiwaay.net> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090301152327.5964c6cf.vincent.trouilliez@modulonet.fr> <013C73CD-E9FA-4DDF-959D-A628A0BCB625@hiwaay.net> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 13:28:18 -0000 On Sun, 1 Mar 2009 21:31:58 -0600 David Kelly wrote: > Don't expect disappointment. I never figured out what it was with > that particular combination of PCB and Dragon but later used the same > Dragon on other designs without any sort of hiccup [..] Ahhh, cool :-) -- Vince From MAILER-DAEMON Mon Mar 02 09:44:13 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Le9NN-0002qP-DH for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 09:44:13 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Le9NK-0002lg-V2 for avr-chat@nongnu.org; Mon, 02 Mar 2009 09:44:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Le9NJ-0002iL-9u for avr-chat@nongnu.org; Mon, 02 Mar 2009 09:44:10 -0500 Received: from [199.232.76.173] (port=59289 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Le9NJ-0002iC-5m for avr-chat@nongnu.org; Mon, 02 Mar 2009 09:44:09 -0500 Received: from mail-bw0-f171.google.com ([209.85.218.171]:57542) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Le9NI-0007B1-Ps for avr-chat@nongnu.org; Mon, 02 Mar 2009 09:44:08 -0500 Received: by bwz19 with SMTP id 19so1803361bwz.34 for ; Mon, 02 Mar 2009 06:44:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=dOsw484dMOWSgj4/sCZZ0nE5ygxXUCS2PK08OoZHPiU=; b=ebBobj55KznILNpOm8ozmFkEyca2yaFmDBvNMdfokrE2YYgQN6lyWEGgMxeNIyDuPZ wJBBVe2mtRa1tN2Stqwa6EmQ3TT9Go6txO7JPnrGA/ec69sq56tVnhX43Oa4mA0IaswC Cl6PH1u8kOj47Rh6B8FK/9oGjXEqCx4SZCW/8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ra92GHFq9/QugCn10tzAH2PQM/P2S+A27E5iL0s9tuY+8TT/TJOxPmhhnngqXFN1/y KclMJk1UDohhvWk6sMd+euzZKkmqeENzkhG5BMPLY/bKNs9gMgfUpXycyDLl44ga+wf1 ACZ9qjefY70wVuXjnn2vxOnCgpMVLdSuVigj0= MIME-Version: 1.0 Received: by 10.223.105.72 with SMTP id s8mr5152456fao.9.1236005045086; Mon, 02 Mar 2009 06:44:05 -0800 (PST) In-Reply-To: <20090228054156.c8ddbfa4.vincent.trouilliez@modulonet.fr> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228054156.c8ddbfa4.vincent.trouilliez@modulonet.fr> Date: Mon, 2 Mar 2009 09:44:05 -0500 Message-ID: <25b178740903020644q41ea36cay968ed04864ce606a@mail.gmail.com> Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... From: David VanHorn To: Vincent Trouilliez Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: avr-chat X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 14:44:11 -0000 > Actually the program so far is only 10KB. But it takes like 2 seconds > to write, another 2 seconds to read back/verify, so that's 4/5 > seconds ! ;- OMG! :) Remember the days of Eproms? 15 minutes to erase, 5-10 to program... From MAILER-DAEMON Mon Mar 02 09:48:43 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Le9Rj-0008FJ-1s for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 09:48:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Le9Ri-0008Eb-2B for avr-chat@nongnu.org; Mon, 02 Mar 2009 09:48:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Le9Rg-0008Dh-Kp for avr-chat@nongnu.org; Mon, 02 Mar 2009 09:48:41 -0500 Received: from [199.232.76.173] (port=57405 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Le9Rg-0008DW-AK for avr-chat@nongnu.org; Mon, 02 Mar 2009 09:48:40 -0500 Received: from mail-fx0-f175.google.com ([209.85.220.175]:38808) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Le9Rf-000837-F8 for avr-chat@nongnu.org; Mon, 02 Mar 2009 09:48:39 -0500 Received: by fxm23 with SMTP id 23so1857787fxm.34 for ; Mon, 02 Mar 2009 06:48:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.249.19 with SMTP id b19mr2974604mus.86.1236005314002; Mon, 02 Mar 2009 06:48:34 -0800 (PST) In-Reply-To: <25b178740903020644q41ea36cay968ed04864ce606a@mail.gmail.com> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228054156.c8ddbfa4.vincent.trouilliez@modulonet.fr> <25b178740903020644q41ea36cay968ed04864ce606a@mail.gmail.com> Date: Mon, 2 Mar 2009 08:48:33 -0600 Message-ID: <2d70f79c0903020648g72e2b3c2o4f91c90825aa3895@mail.gmail.com> Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... From: Mike Murphree To: avr-chat@nongnu.org Content-Type: multipart/alternative; boundary=001636b431b5ae7e0a046423e9ce X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 14:48:42 -0000 --001636b431b5ae7e0a046423e9ce Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Mon, Mar 2, 2009 at 8:44 AM, David VanHorn wrote: > > Actually the program so far is only 10KB. But it takes like 2 seconds > > to write, another 2 seconds to read back/verify, so that's 4/5 > > seconds ! ;- > > OMG! :) Remember the days of Eproms? 15 minutes to erase, 5-10 to > program... > > And waiting in line for the UV eraser? The last one of those I used was a flash lamp device which only took a few seconds, but that didn't cover taking the part out to do it. Mike --001636b431b5ae7e0a046423e9ce Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Mon, Mar 2, 2009 at 8:44 AM, David Va= nHorn <microbri= x@gmail.com> wrote:
> Actually the program so far is only 10KB. But it takes like 2 seconds<= br> > to write, another 2 seconds to read back/verify, so that's 4/5
> seconds ! ;-

OMG! =A0:) =A0Remember the days of Eproms? =A015 minutes to erase, 5-10 to = program...


And waiting in line for the UV eraser?=A0=A0=A0 The = last one of those I used was a flash lamp device which only took a few seco= nds, but that didn't cover taking the part out to do it.

Mike --001636b431b5ae7e0a046423e9ce-- From MAILER-DAEMON Mon Mar 02 09:58:55 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Le9ba-0007zk-TY for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 09:58:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Le9bY-0007zY-IS for avr-chat@nongnu.org; Mon, 02 Mar 2009 09:58:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Le9bS-0007wb-Mi for avr-chat@nongnu.org; Mon, 02 Mar 2009 09:58:51 -0500 Received: from [199.232.76.173] (port=57124 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Le9bS-0007wX-Hj for avr-chat@nongnu.org; Mon, 02 Mar 2009 09:58:46 -0500 Received: from smtp3.tech.numericable.fr ([82.216.111.39]:43558) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Le9bS-0001od-0Q for avr-chat@nongnu.org; Mon, 02 Mar 2009 09:58:46 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp3.tech.numericable.fr (Postfix) with SMTP id 33BF53E415 for ; Mon, 2 Mar 2009 15:58:43 +0100 (CET) Date: Mon, 2 Mar 2009 15:58:42 +0100 From: Vincent Trouilliez To: "avr-chat@nongnu.org" Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Message-Id: <20090302155842.af460957.vincent.trouilliez@modulonet.fr> In-Reply-To: <25b178740903020644q41ea36cay968ed04864ce606a@mail.gmail.com> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228054156.c8ddbfa4.vincent.trouilliez@modulonet.fr> <25b178740903020644q41ea36cay968ed04864ce606a@mail.gmail.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 14:58:52 -0000 On Mon, 2 Mar 2009 09:44:05 -0500 David VanHorn wrote: > > Actually the program so far is only 10KB. But it takes like 2 seconds > > to write, another 2 seconds to read back/verify, so that's 4/5 > > seconds ! ;- > > OMG! :) Remember the days of Eproms? 15 minutes to erase, 5-10 to program... Yes, I am only 31 year old but I vividly remember that... and I am NOT regretting them ! ;-) When I did my industrial placement in 1999/2000, I spent the first few months developping on a PIC 17C something, which stored its program in EPROM ! So for every 10 seconds I spent doing a quick modification to the program, I had to spend 10 minutes to erase the PIC ! And go figure, every time it seemed it needed longer to be erased properly ! At firt 5 minutes seemed enough, then after some erase cycles, some areas of the memory didn't read FF's, so I had to put it again for a few minutes. I think after a few months (and countless erase cycles), the bloody things needed 20 minutes to be reliably cleared ! :-/ Thank God, after that, my boss moved to a 16Fxxx chip which had Flash, PHEW !!! :-) Needless to say I was rather happy... At school in 1997 I learned MCU on an 8051 (well, a 80C552), so the program was n external memory, EPROM again then. Luckily, we had a development board to learn so the EPROM only stored the monitor... the user program was downloaded to the external RAM, phew. So when I discovered these AVR chips a few years back, I couldn't believe how much features and convenience it packed for such a low price ! It was like heaven.. seemd it had nothing but goodness to offer ! :-) The on-board JTAG debugging simply blew me away... I just couldn't believe a cheap 8 bit chip could have that buit-in ! I am not looking back... long live AVR's and modern 8 bit MCU's in general ! :-) -- Vince From MAILER-DAEMON Mon Mar 02 11:05:38 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeAeA-0006Tc-3Y for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 11:05:38 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeAe8-0006TD-99 for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:05:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeAe7-0006Sp-Fe for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:05:35 -0500 Received: from [199.232.76.173] (port=41001 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeAe7-0006Sk-BY for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:05:35 -0500 Received: from uriah.heep.sax.de ([213.240.137.9]:61691) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeAe6-0001yz-M4 for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:05:34 -0500 Received: by uriah.heep.sax.de (Postfix, from userid 107) id 6830051; Mon, 2 Mar 2009 17:05:30 +0100 (MET) Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... X-Original-Newsgroups: local.avr.chat To: avr-chat@nongnu.org Content-Type: text/plain; charset=us-ascii Message-Id: <20090302160530.6830051@uriah.heep.sax.de> Date: Mon, 2 Mar 2009 17:05:30 +0100 (MET) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 16:05:36 -0000 Vincent Trouilliez wrote: > I can only debug one at a time, but while debugging one, can I leave > the other one in the chain, or will that upset the debugger and I > need to plug the JTAG header to each target individually ? Yes, sure. The limitation is only that the JTAG ICE is the JTAG master, and there can only be one master in the chain. Since each JTAG ICE (or AVR Dragon, for that matter) can only talk to one AVR at a time, it can only debug one. The other one is simply acting as a shift register, passing the other device's JTAG commands through, without being addressed by them. Just remember, while for plain JTAG programming, you can drive the JTAG clock as fast as possible (subject of the limitations of the passive circuitry around, see David Kelly's cable length issues), for debugging, you have to obey the fCPU/4 rule again for the JTAG clock. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From MAILER-DAEMON Mon Mar 02 11:09:27 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeAhr-0008HQ-8m for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 11:09:27 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeAhp-0008HF-6R for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:09:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeAhm-0008Gu-PE for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:09:23 -0500 Received: from [199.232.76.173] (port=41936 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeAhm-0008Gr-Mk for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:09:22 -0500 Received: from uriah.heep.sax.de ([213.240.137.9]:50697) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeAhl-0002xl-Ub for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:09:22 -0500 Received: by uriah.heep.sax.de (Postfix, from userid 107) id 2539F51; Mon, 2 Mar 2009 17:09:20 +0100 (MET) Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> In-Reply-To: From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... X-Original-Newsgroups: local.avr.chat To: avr-chat@nongnu.org Content-Type: text/plain; charset=us-ascii Message-Id: <20090302160920.2539F51@uriah.heep.sax.de> Date: Mon, 2 Mar 2009 17:09:20 +0100 (MET) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 16:09:25 -0000 David Kelly wrote: > I have had situations where the combination of Dragon and target > board seemed to be ultra sensitive to the cable used between. Where > I thought the 6" cable worked and the 9" was not reliable. Yes, these ribbon cables appear to suffer from severe crosstalk at times. I've also had reports from a friend about similar figures. Just keep the ribbon cable short then. Put some isolating foil around the Dragon itself, so you can place it close to the target. The ribbon cable of the JTAG ICE (that fragile white stuff) is a little longer (23 cm), but it's got extra shielding wires between each data wire, so it doesn't appear to be a problem. Maybe it's also due to their drivers being a little more robust and/or faster, at least I've never encountered that kind of issues with a genuine ICE. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From MAILER-DAEMON Mon Mar 02 11:13:55 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeAmB-0001Ww-NY for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 11:13:55 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeAm9-0001U0-Uj for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:13:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeAm8-0001TP-4q for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:13:53 -0500 Received: from [199.232.76.173] (port=49795 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeAm7-0001TK-Vg for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:13:52 -0500 Received: from smtp6.tech.numericable.fr ([82.216.111.42]:55806) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeAm7-00042n-Nd for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:13:51 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp6.tech.numericable.fr (Postfix) with SMTP id 6A41A14402B for ; Mon, 2 Mar 2009 17:13:48 +0100 (CET) Date: Mon, 2 Mar 2009 17:13:47 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Message-Id: <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090302160530.6830051@uriah.heep.sax.de> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 16:13:54 -0000 On Mon, 2 Mar 2009 17:05:30 +0100 (MET) j@uriah.heep.sax.de (Joerg Wunsch) wrote: > Yes, sure. The limitation is only that the JTAG ICE is the JTAG > master, and there can only be one master in the chain. Since each > JTAG ICE (or AVR Dragon, for that matter) can only talk to one AVR at > a time, it can only debug one. The other one is simply acting as a > shift register, passing the other device's JTAG commands through, > without being addressed by them. Ah great :-) > Just remember, while for plain JTAG programming, you can drive the > JTAG clock as fast as possible (subject of the limitations of the > passive circuitry around, see David Kelly's cable length issues), for > debugging, you have to obey the fCPU/4 rule again for the JTAG clock. Well I guess that's not a problem, since when debugging you are not transfering big chuncks of data no ? You are just sending commands and reading/writing variables. So no matter how slow the link, it will still be pretty much real-time since pressing on a button on my keyboard to step the program, or pressing the enter key to read/write a variable, will take much more time than JTAG needs to perform the operation... -- Vince, just opened his mail box... received 3 brand new Mega32, in case I blow one again ! ;-) From MAILER-DAEMON Mon Mar 02 11:45:25 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeBGf-0001g7-11 for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 11:45:25 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeBGc-0001fd-Ud for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:45:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeBGb-0001ev-5I for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:45:22 -0500 Received: from [199.232.76.173] (port=54306 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeBGb-0001en-0e for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:45:21 -0500 Received: from smtp.knology.net ([24.214.63.101]:36494) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeBGa-0004MY-5r for avr-chat@nongnu.org; Mon, 02 Mar 2009 11:45:20 -0500 Received: (qmail 12615 invoked by uid 0); 2 Mar 2009 16:43:41 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (75.76.211.79) by smtp8.knology.net with SMTP; 2 Mar 2009 16:43:41 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 2F7BF28425; Mon, 2 Mar 2009 10:43:41 -0600 (CST) Date: Mon, 2 Mar 2009 10:43:41 -0600 From: David Kelly To: Joerg Wunsch Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Message-ID: <20090302164341.GA25798@Grumpy.DynDNS.org> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090302160920.2539F51@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090302160920.2539F51@uriah.heep.sax.de> User-Agent: Mutt/1.4.2.3i X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: avr-chat@nongnu.org X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: avr-chat@nongnu.org List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 16:45:23 -0000 On Mon, Mar 02, 2009 at 05:09:20PM +0100, Joerg Wunsch wrote: > David Kelly wrote: > > > I have had situations where the combination of Dragon and target > > board seemed to be ultra sensitive to the cable used between. Where > > I thought the 6" cable worked and the 9" was not reliable. > > Yes, these ribbon cables appear to suffer from severe crosstalk at > times. I've also had reports from a friend about similar figures. > Just keep the ribbon cable short then. Put some isolating foil around > the Dragon itself, so you can place it close to the target. Put my DSO on the JTAG lines and couldn't see anything bad happening such as ringing. Was stumped, and disappointed, to have the problem. But as mentioned elsewhere in this thread I now have a dead Dragon laying around and believe it is the same as the one which was having problems. Is likely there was something wrong other than my cable. The cables were probably perfectly within spec but triggered a flaw somewhere else. Seems the 10" extension cable I bought with the ICE Cube worked more often on the problem Dragon than any I made. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From MAILER-DAEMON Mon Mar 02 12:38:25 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeC5x-0000Wh-Jh for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 12:38:25 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeC5w-0000Vx-Ab for avr-chat@nongnu.org; Mon, 02 Mar 2009 12:38:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeC5u-0000VC-Nn for avr-chat@nongnu.org; Mon, 02 Mar 2009 12:38:23 -0500 Received: from [199.232.76.173] (port=43157 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeC5u-0000Uz-3x for avr-chat@nongnu.org; Mon, 02 Mar 2009 12:38:22 -0500 Received: from vms173017pub.verizon.net ([206.46.173.17]:47455) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeC5t-00012Y-BO for avr-chat@nongnu.org; Mon, 02 Mar 2009 12:38:21 -0500 Received: from GrahamsInspiron ([98.118.86.11]) by vms173017.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KFW00I6W0UQNJW1@vms173017.mailsrvcs.net> for avr-chat@nongnu.org; Mon, 02 Mar 2009 10:37:41 -0600 (CST) Message-id: <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> From: "Graham Davies" To: References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr><7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net><20090228070642.56A5551@uriah.heep.sax.de><20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr><20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Date: Mon, 02 Mar 2009 11:37:33 -0500 Organization: Ecros Technology MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 17:38:24 -0000 Vincent Trouilliez wrote: > Vince, just opened his mail box... received 3 brand new Mega32 ... If you're using the ATmega32, which is supported by the original JTAG ICE (Mk I), you should consider the AVR ICE-Cube. It has no ribbon cable at all and so doesn't suffer from any of the problems that have been recently discussed. It comes with a six foot serial cable and there is no box of any kind to find a place for on the bench, just the business end of the ICE-Cube, which is the size of, well, an ice cube, and sits above the target JTAG connector. You do, of course, need a serial port on your computer or a USB-to-serial adapter. Now, if you had a Dragon *and* an ICE-Cube, well then you'd be able to ... Disclosure - for those that don't know, I make and sell the AVR ICE-Cube, so I'm tooting my own horn here, but you've seen others speak well of the ICE-Cube here too. Graham. From MAILER-DAEMON Mon Mar 02 13:47:49 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeDB7-0007LC-IG for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 13:47:49 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeDB5-0007GT-Ah for avr-chat@nongnu.org; Mon, 02 Mar 2009 13:47:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeDB3-0007CF-78 for avr-chat@nongnu.org; Mon, 02 Mar 2009 13:47:46 -0500 Received: from [199.232.76.173] (port=60197 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeDB3-0007C4-3W for avr-chat@nongnu.org; Mon, 02 Mar 2009 13:47:45 -0500 Received: from smtp.knology.net ([24.214.63.101]:40025) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeDB2-0001zU-AB for avr-chat@nongnu.org; Mon, 02 Mar 2009 13:47:44 -0500 Received: (qmail 15480 invoked by uid 0); 2 Mar 2009 18:46:00 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (75.76.211.79) by smtp7.knology.net with SMTP; 2 Mar 2009 18:46:00 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 0BE9028425; Mon, 2 Mar 2009 12:46:00 -0600 (CST) Date: Mon, 2 Mar 2009 12:45:59 -0600 From: David Kelly To: Graham Davies Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Message-ID: <20090302184559.GA38799@Grumpy.DynDNS.org> References: <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> User-Agent: Mutt/1.4.2.3i X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: avr-chat@nongnu.org X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: avr-chat@nongnu.org List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 18:47:47 -0000 On Mon, Mar 02, 2009 at 11:37:33AM -0500, Graham Davies wrote: > Vincent Trouilliez wrote: > >Vince, just opened his mail box... received 3 brand new Mega32 ... > > If you're using the ATmega32, which is supported by the original JTAG > ICE (Mk I), you should consider the AVR ICE-Cube. It has no ribbon > cable at all and so doesn't suffer from any of the problems that have > been recently discussed. Well, except that when I ordered my ICE-Cube I knew the $3 optional extension was much cheaper to buy and not need than to need and not have. In the end I used the extension ribbon cable exclusively about 1/2" away from 240 VAC. And in some strange twist of fate, the ribbon that came as an optional accessory for my ICE-Cube worked better on my Dragon than the cables I was making myself. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From MAILER-DAEMON Mon Mar 02 14:02:18 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeDP8-0003ab-Oe for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 14:02:18 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeDP6-0003Zv-R1 for avr-chat@nongnu.org; Mon, 02 Mar 2009 14:02:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeDP5-0003ZM-RV for avr-chat@nongnu.org; Mon, 02 Mar 2009 14:02:16 -0500 Received: from [199.232.76.173] (port=46062 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeDP5-0003ZG-Mo for avr-chat@nongnu.org; Mon, 02 Mar 2009 14:02:15 -0500 Received: from smtp2.tech.numericable.fr ([82.216.111.38]:59188) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeDP4-0005dl-VQ for avr-chat@nongnu.org; Mon, 02 Mar 2009 14:02:15 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp2.tech.numericable.fr (Postfix) with SMTP id CFA2218D81C for ; Mon, 2 Mar 2009 20:02:13 +0100 (CET) Date: Mon, 2 Mar 2009 20:02:12 +0100 From: Vincent Trouilliez To: "avr-chat@nongnu.org" Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Message-Id: <20090302200212.3bf99df2.vincent.trouilliez@modulonet.fr> In-Reply-To: <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 19:02:17 -0000 On Mon, 02 Mar 2009 11:37:33 -0500 "Graham Davies" wrote: > Vincent Trouilliez wrote: > > Vince, just opened his mail box... received 3 brand new Mega32 ... > > If you're using the ATmega32, which is supported by the original JTAG ICE > (Mk I), you should consider the AVR ICE-Cube. It has no ribbon cable at all > and so doesn't suffer from any of the problems that have been recently > discussed. It comes with a six foot serial cable and there is no box of any > kind to find a place for on the bench, just the business end of the > ICE-Cube, which is the size of, well, an ice cube, and sits above the target > JTAG connector. You do, of course, need a serial port on your computer or a > USB-to-serial adapter. Now, if you had a Dragon *and* an ICE-Cube, well > then you'd be able to ... > > Disclosure - for those that don't know, I make and sell the AVR ICE-Cube, so > I'm tooting my own horn here, but you've seen others speak well of the > ICE-Cube here too. > > Graham. He he, don't worry Graham ;-) I am thinking of your ICE cube ;-) It's just the Dragon fits my needs better right now: it's versatile (JTAG AND ISP, and also PP and HV, so I can recover my chips if I get my fuses wrong), and it has a USB interface, and it's cheap. And since I happen to using a mega32, I can even start playing with JTAG debugging, to get the hang of it. THEN, a bit later, once I have wedtted my feet with JATAG debugging, and I (most likely) have to move away from a mega32 to mega64 as my project grows, then at this point yes, I will be looking at an "unrestricted" JTAG debugger. There two little things that would keep me away from the ICE-cube: - Since it's meant precisely to be moved around the bench and handled by... well by hand constantly, I fear the fragile/exposed SMT components on the tiny boards, will sooner or later get hit/damaged. Also, I fear ESD shocks because with my big fat fingers will get all over the components, which can't be good. - it's got a serial interface, so I would have to add the cost of either an unreliable (as far as I understand, there never 100% garantee that these things work under all circumstances) RS-USB adapter, or buy an extra PCI card just to get an extra serial port, and they aren't cheap from what I saw, unlike what I expected. - high cost to import and ship it from overseas So I am also considering the USBProg project: http://www.embedded-projects.net/index.php?page_id=165 Advantages: available from Europe so no import charges nor overseas shipping, and it's got a native USB interface. Down-side: the JTAG debugger firmware is currently under development as I understand it, so it may not be ready/available by the time I am in the market for one. So I have two options, each with their pros and cons as usual ! ;-) So if you could consider my poijts about the ICE-cube, I would be glad to lean your way and support you ;-) So a native USB interface, along with a way to protect the PCB, probably with a coat of that coloured epoxy resin. It would make repairs next to impossible, but sending it back to you for repairs is not economically viable anyway, so I would have to buy an other one if ever it develops a problem anyway. You could keep the serial ICE-cube as it is, and offer the USB version as an option. I dunno, charge 10 USB more for the USB version. Same for the resin protection, offer it as an option for I don't know, 5 bucks ? Food for thoughts he ?! ;-) Regards, -- Vince From MAILER-DAEMON Mon Mar 02 14:33:52 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeDtg-0003LD-DF for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 14:33:52 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeDtd-0003KN-MB for avr-chat@nongnu.org; Mon, 02 Mar 2009 14:33:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeDtd-0003KB-0A for avr-chat@nongnu.org; Mon, 02 Mar 2009 14:33:49 -0500 Received: from [199.232.76.173] (port=43663 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeDtc-0003K8-PV for avr-chat@nongnu.org; Mon, 02 Mar 2009 14:33:48 -0500 Received: from uriah.heep.sax.de ([213.240.137.9]:65492) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeDtc-0005h3-8O for avr-chat@nongnu.org; Mon, 02 Mar 2009 14:33:48 -0500 Received: by uriah.heep.sax.de (Postfix, from userid 107) id E947F323; Mon, 2 Mar 2009 20:33:44 +0100 (MET) Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... X-Original-Newsgroups: local.avr.chat To: avr-chat@nongnu.org Content-Type: text/plain; charset=us-ascii Message-Id: <20090302193344.E947F323@uriah.heep.sax.de> Date: Mon, 2 Mar 2009 20:33:44 +0100 (MET) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 19:33:50 -0000 Vincent Trouilliez wrote: > So no matter how slow the link, it will > still be pretty much real-time since pressing on a button on my > keyboard to step the program, or pressing the enter key to read/write a > variable, will take much more time than JTAG needs to perform the > operation... Well, the debugging models of AVR Studio (which the JTAG ICE and Dragon are tuned for) and GDB are vastly different, and AVaRICE isn't really the best optimized tool ever, so it ends up causing heavy JTAG traffic if you're doing something unlucky (which already a single step at the C level can account for). It's usually not much of a problem though if you ensure to keep the AVR going for a longer period of time. I tend to set many temporary breakpoints, rather than single-stepping. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From MAILER-DAEMON Mon Mar 02 14:51:21 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeEAa-0006PY-Uw for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 14:51:20 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeEAa-0006PK-0o for avr-chat@nongnu.org; Mon, 02 Mar 2009 14:51:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeEAX-0006Oy-VN for avr-chat@nongnu.org; Mon, 02 Mar 2009 14:51:19 -0500 Received: from [199.232.76.173] (port=33143 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeEAX-0006Or-Ns for avr-chat@nongnu.org; Mon, 02 Mar 2009 14:51:17 -0500 Received: from mail-bw0-f171.google.com ([209.85.218.171]:34704) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeEAX-0001dZ-0v for avr-chat@nongnu.org; Mon, 02 Mar 2009 14:51:17 -0500 Received: by bwz19 with SMTP id 19so1919587bwz.34 for ; Mon, 02 Mar 2009 11:51:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=MkA0IZBY8f4gGS1qYgQHBWvaWD9nJocJsjomyifzTds=; b=bBBDaHfdhFNNEKyw52ePR52fizL4v69OwM3LaRQ0KEpKetca6RDiVOC1JqllawY/J5 ZEnYrB0HG3tNusutWEeEp7Ktf/OtDyQmc9CXczcBL7VA1FLulKGFwzp9Ar7eLC/rBR76 rwCT+FiXn4Ks0Ek0XZ0M3oqDqcB2ZDGOfwS5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=L2X1jHrZRKqY6KDFFYGMqiBvnHDiLs2YgOsDVyCu9CN7Kb5s0JqGl4SQBcn0Y1Lr65 swn7Odefb4DqcXI7j8HtRBsGbGeP97kocYOlRkic1iBsHsvmJT8t5awnmd/1q1nLjF0s MhLHhRDlU2Pkg4JFZYk37coAWKMnd14zW5F/c= MIME-Version: 1.0 Received: by 10.223.108.140 with SMTP id f12mr6289227fap.69.1236023474599; Mon, 02 Mar 2009 11:51:14 -0800 (PST) In-Reply-To: <20090302193344.E947F323@uriah.heep.sax.de> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <20090302193344.E947F323@uriah.heep.sax.de> Date: Mon, 2 Mar 2009 14:51:14 -0500 Message-ID: <25b178740903021151k5a2333d9l3ae9e76bc6853efe@mail.gmail.com> Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... From: David VanHorn To: avr-chat@nongnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 19:51:20 -0000 > Well, the debugging models of AVR Studio (which the JTAG ICE and > Dragon are tuned for) and GDB are vastly different, and AVaRICE isn't > really the best optimized tool ever, so it ends up causing heavy JTAG > traffic if you're doing something unlucky (which already a single step > at the C level can account for). =A0It's usually not much of a problem > though if you ensure to keep the AVR going for a longer period of > time. =A0I tend to set many temporary breakpoints, rather than > single-stepping. Something to watch for.. In the data sheet, they mention that the jtag breakpointing is done by reprogramming a register. I read this a while back, probably in the M128 data sheet, that the registers used for this are similar to program memory, in that they have a short, finite lifetime. I've had some wierd issues in the past with debugging that may have been caused by wearout of this register. I had a look, and I can't put my finger on this ref.. Maybe someone else remembers? From MAILER-DAEMON Mon Mar 02 15:27:21 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeEjR-0005Gj-OK for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 15:27:21 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeEjP-0005GR-Rs for avr-chat@nongnu.org; Mon, 02 Mar 2009 15:27:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeEjN-0005G9-DU for avr-chat@nongnu.org; Mon, 02 Mar 2009 15:27:19 -0500 Received: from [199.232.76.173] (port=59771 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeEjN-0005G6-Ad for avr-chat@nongnu.org; Mon, 02 Mar 2009 15:27:17 -0500 Received: from vms173015pub.verizon.net ([206.46.173.15]:52906) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeEjN-0001nG-06 for avr-chat@nongnu.org; Mon, 02 Mar 2009 15:27:17 -0500 Received: from GrahamsInspiron ([98.118.86.11]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KFW000LG8O26GQC@vms173015.mailsrvcs.net> for avr-chat@nongnu.org; Mon, 02 Mar 2009 13:26:37 -0600 (CST) Message-id: <0a6201c99b6c$cacaa060$6500a8c0@GrahamsInspiron> From: "Graham Davies" To: References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr><7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net><20090228070642.56A5551@uriah.heep.sax.de><20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr><20090302160530.6830051@uriah.heep.sax.de><20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr><091701c99b55$313ce690$6500a8c0@GrahamsInspiron> <20090302200212.3bf99df2.vincent.trouilliez@modulonet.fr> Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Date: Mon, 02 Mar 2009 14:23:27 -0500 Organization: Ecros Technology MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-Greylist: delayed 3628 seconds by postgrey-1.27 at monty-python; Mon, 02 Mar 2009 15:27:16 EST X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 20:27:20 -0000 Vincent Trouilliez wrote: > [The ICE-cube is] meant precisely to be ... handled > by... well by hand constantly, I fear the fragile/exposed SMT > components on the tiny boards, will sooner or later get hit/damaged. > Also, I fear ESD shocks because with my big fat fingers will get all > over the components, which can't be good. I think if this was a problem it would have surfaced (a pun?) by now. The only component that is likely to take a hit (the inductor that filters the power supply) is, in fact, secured with epoxy. The underside has an insulating coating to avoid shorts with the target. All around the edge, where you grip it, is ground plane. To my knowledge, nobody has ever zapped an ICE-Cube. But, I'm not trying to persuade you, just inform you. You absolutely must go with what looks best to you. > - it's got a serial interface ... Absolutely right here. I would urge anyone working with embedded systems not to buy a PC without a serial port. And, don't tell me this is hard to do. Just don't get your PC at Wal-Mart. Graham. From MAILER-DAEMON Mon Mar 02 15:48:04 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeF3U-0007pu-1a for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 15:48:04 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeF3S-0007mf-J5 for avr-chat@nongnu.org; Mon, 02 Mar 2009 15:48:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeF3N-0007Zx-7S for avr-chat@nongnu.org; Mon, 02 Mar 2009 15:48:01 -0500 Received: from [199.232.76.173] (port=43427 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeF3N-0007ZP-1z for avr-chat@nongnu.org; Mon, 02 Mar 2009 15:47:57 -0500 Received: from smtp2.tech.numericable.fr ([82.216.111.38]:37971) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeF3L-0006Qw-S7 for avr-chat@nongnu.org; Mon, 02 Mar 2009 15:47:56 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp2.tech.numericable.fr (Postfix) with SMTP id 171F318D834 for ; Mon, 2 Mar 2009 21:47:53 +0100 (CET) Date: Mon, 2 Mar 2009 21:47:52 +0100 From: Vincent Trouilliez To: "avr-chat@nongnu.org" Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Message-Id: <20090302214752.b85069d6.vincent.trouilliez@modulonet.fr> In-Reply-To: <0a6201c99b6c$cacaa060$6500a8c0@GrahamsInspiron> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> <20090302200212.3bf99df2.vincent.trouilliez@modulonet.fr> <0a6201c99b6c$cacaa060$6500a8c0@GrahamsInspiron> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 20:48:03 -0000 On Mon, 02 Mar 2009 14:23:27 -0500 "Graham Davies" wrote: > I think if this was a problem it would have surfaced (a pun?) by now. That's not good enough an argument ;-) Cars are crap and cause loads of problems... but people don't even bother complaing because there is no way out, so they just keep buying them ;-) > The only component that is likely to take a hit (the inductor that filters the > power supply) is, in fact, secured with epoxy. The underside has an > insulating coating to avoid shorts with the target. All around the edge, > where you grip it, is ground plane. To my knowledge, nobody has ever zapped > an ICE-Cube. This however is/are very good arguments, you even managed to convince me ! > But, I'm not trying to persuade you, just inform you. You absolutely must > go with what looks best to you. Thanks for not putting too much pressure on me ;-) And as I said, now that I (will soon) have my Dragon, I won't be in the market for quite a few months probably anyway. > Absolutely right here. I would urge anyone working with embedded systems > not to buy a PC without a serial port. And, don't tell me this is hard to > do. Just don't get your PC at Wal-Mart. It is hard. A year ago when I looked at the market to renew/update my 6 year old motherboard, I could not find any that fit 100% my needs. Having a parallel port and at least one serial port was mandatory for me, but it restricted my choice with regards to other aspects of the board. Despite the zillions of motherboards out there, none of them were a perfect match. As for Wall mart, I don't know, we don't have them here.. and I never buy pre-assembled computers anyway, but I doubt other pre-assembled computers have serial ports anymore. Serial ports are useful to techies like us, but PC assembler don't sell for techies, they sell for the masses.. and the masses don't need a serial port anymore, not even a parallel port. Just Ethernet for internet, USB, USB, USB, and... USB. I have even seen motherboard where the rear I/O panel had lots of available space, yet they didn't even put a VGA, Serial or Parallel port, they just wasted the space doing nothing with it !! :-O That drove me mad... -- Vince From MAILER-DAEMON Mon Mar 02 16:28:15 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeFgN-0008Nz-2d for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 16:28:15 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeFgK-0008Mu-Q3 for avr-chat@nongnu.org; Mon, 02 Mar 2009 16:28:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeFgI-0008M4-4L for avr-chat@nongnu.org; Mon, 02 Mar 2009 16:28:11 -0500 Received: from [199.232.76.173] (port=54122 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeFgH-0008Lg-Kj for avr-chat@nongnu.org; Mon, 02 Mar 2009 16:28:09 -0500 Received: from uriah.heep.sax.de ([213.240.137.9]:59560) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeFgH-0006uD-0z for avr-chat@nongnu.org; Mon, 02 Mar 2009 16:28:09 -0500 Received: by uriah.heep.sax.de (Postfix, from userid 107) id 95ED051; Mon, 2 Mar 2009 22:28:05 +0100 (MET) Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <20090302193344.E947F323@uriah.heep.sax.de> <25b178740903021151k5a2333d9l3ae9e76bc6853efe@mail.gmail.com> In-Reply-To: <25b178740903021151k5a2333d9l3ae9e76bc6853efe@mail.gmail.com> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... X-Original-Newsgroups: local.avr.chat To: avr-chat@nongnu.org Content-Type: text/plain; charset=us-ascii Message-Id: <20090302212805.95ED051@uriah.heep.sax.de> Date: Mon, 2 Mar 2009 22:28:05 +0100 (MET) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 21:28:13 -0000 David VanHorn wrote: > In the data sheet, they mention that the jtag breakpointing is done > by reprogramming a register. There's two kinds of breakpoint for JTAG debugging: true JTAG engine breakpoints, and "soft" breakpoints. The JTAG engine itself has 4 breakpoint registers. The ICE reserves one of them for single-stepping, so this leaves three to the user. Out of these, one can be used as a data breakpoint register (a "watch" in GDB terms), optionally combined with a second one specifying the data mask (which only fits into GDB's "watch" model iff the data is properly aligned to fit into the mask). Breakpoint registers not in use for a data breakpoint can be used for code breakpoints. So if no data breakpoints are used, this leaves three JTAG hardware breakpoints to the user. Any further breakpoint requested can be implemented as a "soft" breakpoint (except on the ATmega128 which lacks the BREAK instruction): the ICE transparently reprograms the corresponding flash page, replacing the instruction on the breakpoint address by a BREAK instruction. When the breakpoint is hit, or when the ICE disconnects, the original flash page contents is then restored. (Thus, it is super important to always say "Goodbye!" to the ICE correctly.) Yes, this causes some additional flash wear. OTOH, reprogramming a flash page doesn't require a device erase but is handled by a page erase, which I've been told is much less stressful to the flash than a device erase is, so the expected wearout is way below what is in the specs. Anyway, the general recommendation is to not ship parts to your customers that have been used for soft breakpoint debugging before. In GDB, you can temporarily "disable" all breakpoints you aren't currently using. If the total number of remaining breakpoints is at most three (possibly including the data breakpoint stuff mentioned above), AVaRICE will always request these to be JTAG (hardware) breakpoints. Note that debugWIRE doesn't offer any hardware breakpoint feature, so any breakpoint there is handled as a soft breakpoint. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From MAILER-DAEMON Mon Mar 02 17:17:32 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeGS4-0003oa-Lg for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 17:17:32 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeGS3-0003nd-Kv for avr-chat@nongnu.org; Mon, 02 Mar 2009 17:17:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeGS2-0003n3-6B for avr-chat@nongnu.org; Mon, 02 Mar 2009 17:17:31 -0500 Received: from [199.232.76.173] (port=38739 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeGS2-0003mt-2Q for avr-chat@nongnu.org; Mon, 02 Mar 2009 17:17:30 -0500 Received: from mail-out3.netspace.net.au ([203.10.110.76]:3154 helo=mail.netspace.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeGS1-0000Ts-HT for avr-chat@nongnu.org; Mon, 02 Mar 2009 17:17:29 -0500 Received: from [192.168.0.10] (220-253-43-17.VIC.netspace.net.au [220.253.43.17]) by mail.netspace.net.au (Postfix) with ESMTP id 3C8CDD27FD for ; Tue, 3 Mar 2009 09:17:20 +1100 (EST) Message-ID: <49AC5AEF.9030607@netspace.net.au> Date: Tue, 03 Mar 2009 09:17:19 +1100 From: Russell Shaw User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) MIME-Version: 1.0 CC: "avr-chat@nongnu.org" Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> <20090302200212.3bf99df2.vincent.trouilliez@modulonet.fr> <0a6201c99b6c$cacaa060$6500a8c0@GrahamsInspiron> <20090302214752.b85069d6.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090302214752.b85069d6.vincent.trouilliez@modulonet.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 22:17:31 -0000 Vincent Trouilliez wrote: > On Mon, 02 Mar 2009 14:23:27 -0500 > "Graham Davies" wrote: >> I think if this was a problem it would have surfaced (a pun?) by now. > > That's not good enough an argument ;-) > Cars are crap and cause loads of problems... but people don't even > bother complaing because there is no way out, so they just keep buying > them ;-) > >> The only component that is likely to take a hit (the inductor that filters the >> power supply) is, in fact, secured with epoxy. The underside has an >> insulating coating to avoid shorts with the target. All around the edge, >> where you grip it, is ground plane. To my knowledge, nobody has ever zapped >> an ICE-Cube. > > This however is/are very good arguments, you even managed to convince > me ! > >> But, I'm not trying to persuade you, just inform you. You absolutely must >> go with what looks best to you. > > Thanks for not putting too much pressure on me ;-) > And as I said, now that I (will soon) have my Dragon, I won't be in the > market for quite a few months probably anyway. > >> Absolutely right here. I would urge anyone working with embedded systems >> not to buy a PC without a serial port. And, don't tell me this is hard to >> do. Just don't get your PC at Wal-Mart. > > It is hard. > A year ago when I looked at the market to renew/update my 6 year old > motherboard, I could not find any that fit 100% my needs. > Having a parallel port and at least one serial port was mandatory > for me, but it restricted my choice with regards to other > aspects of the board. Despite the zillions of motherboards out there, > none of them were a perfect match. > As for Wall mart, I don't know, we don't have them here.. and I never > buy pre-assembled computers anyway, but I doubt other pre-assembled > computers have serial ports anymore. Serial ports are useful to techies > like us, but PC assembler don't sell for techies, they sell for the > masses.. and the masses don't need a serial port anymore, not even a > parallel port. Just Ethernet for internet, USB, USB, USB, and... USB. > I have even seen motherboard where the rear I/O panel had lots of > available space, yet they didn't even put a VGA, Serial or Parallel > port, they just wasted the space doing nothing with it !! :-O > That drove me mad... If you know the motherboard number, look it up on the manufacturers web site. They often have a 10-pin header on the motherboard for connecting an rs-232 connector and parallel port. From MAILER-DAEMON Mon Mar 02 17:38:37 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeGmS-0005SK-Pc for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 17:38:36 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeGmN-0005R5-VZ for avr-chat@nongnu.org; Mon, 02 Mar 2009 17:38:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeGmL-0005QG-Qe for avr-chat@nongnu.org; Mon, 02 Mar 2009 17:38:31 -0500 Received: from [199.232.76.173] (port=41007 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeGmL-0005Q6-EW for avr-chat@nongnu.org; Mon, 02 Mar 2009 17:38:29 -0500 Received: from smtp3.tech.numericable.fr ([82.216.111.39]:58052) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeGmK-0005Lm-UT for avr-chat@nongnu.org; Mon, 02 Mar 2009 17:38:29 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp3.tech.numericable.fr (Postfix) with SMTP id 17F473E41F for ; Mon, 2 Mar 2009 23:38:26 +0100 (CET) Date: Mon, 2 Mar 2009 23:38:25 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Message-Id: <20090302233825.2cdcee01.vincent.trouilliez@modulonet.fr> In-Reply-To: <49AC5AEF.9030607@netspace.net.au> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> <20090302200212.3bf99df2.vincent.trouilliez@modulonet.fr> <0a6201c99b6c$cacaa060$6500a8c0@GrahamsInspiron> <20090302214752.b85069d6.vincent.trouilliez@modulonet.fr> <49AC5AEF.9030607@netspace.net.au> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 22:38:32 -0000 On Tue, 03 Mar 2009 09:17:19 +1100 Russell Shaw wrote: > If you know the motherboard number, look it up on the manufacturers web site. I spent 3 weeks examining the specs of any and all boards available, so yes I do know the reference of the mother-board I bought ;-) Have the user manual too of course. > They often have a 10-pin header on the motherboard for connecting an rs-232 > connector and parallel port. I do have an internal header for a second serial port, that was one of the reasons I bought this particular board. But I had of course to add a bracket to gete a proper connector, and it so happens that the computer case I bought has a crap "tool-free" system to secure bracket/add-on cards, which means that as soon as I exerce any kind of force on the DB9 socket to try to plug a serial cable.. the bracket gets free and disappears in the computer case... so in practive I can't use my spare serial port. Yes yes yes, had I known about ths issue, I would have bought a different case, but now it's there and I am not going to spend another 100 Euros to so I can accomodate a serial device, when USB ones, which are more convenient to start with (since I have a front USB connector), are available. -- Vince From MAILER-DAEMON Mon Mar 02 18:16:27 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeHN4-0007Wl-VO for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 18:16:27 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeHN2-0007TY-Ne for avr-chat@nongnu.org; Mon, 02 Mar 2009 18:16:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeHN0-0007Pv-RO for avr-chat@nongnu.org; Mon, 02 Mar 2009 18:16:24 -0500 Received: from [199.232.76.173] (port=60246 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeHN0-0007Pd-Kh for avr-chat@nongnu.org; Mon, 02 Mar 2009 18:16:22 -0500 Received: from mail4.sea5.speakeasy.net ([69.17.117.6]:39663) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeHN0-0005PE-5p for avr-chat@nongnu.org; Mon, 02 Mar 2009 18:16:22 -0500 Received: (qmail 11129 invoked from network); 2 Mar 2009 23:16:19 -0000 Received: from ns1.lingpgmr.com (HELO deafeng3.signtype.info) (cochranb@[66.92.147.154]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 2 Mar 2009 23:16:19 -0000 Message-ID: <49AC68C2.5070704@speakeasy.net> Date: Mon, 02 Mar 2009 18:16:18 -0500 From: Robert L Cochran User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: avr-chat Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> <20090302200212.3bf99df2.vincent.trouilliez@modulonet.fr> <0a6201c99b6c$cacaa060$6500a8c0@GrahamsInspiron> <20090302214752.b85069d6.vincent.trouilliez@modulonet.fr> <49AC5AEF.9030607@netspace.net.au> In-Reply-To: <49AC5AEF.9030607@netspace.net.au> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 23:16:25 -0000 > > If you know the motherboard number, look it up on the manufacturers > web site. > > They often have a 10-pin header on the motherboard for connecting an > rs-232 > connector and parallel port. How does a 10-pin motherboard header translate to a 25 pin parallel port? http://www.interfacebus.com/Design_Connector_Parallel_PC_Port.html Bob > > > _______________________________________________ > AVR-chat mailing list > AVR-chat@nongnu.org > http://lists.nongnu.org/mailman/listinfo/avr-chat > > From MAILER-DAEMON Mon Mar 02 18:54:22 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeHxm-0000Ee-02 for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 18:54:22 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeHxk-0000EZ-NV for avr-chat@nongnu.org; Mon, 02 Mar 2009 18:54:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeHxj-0000Cw-1d for avr-chat@nongnu.org; Mon, 02 Mar 2009 18:54:19 -0500 Received: from [199.232.76.173] (port=49661 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeHxi-0000Cq-Tw for avr-chat@nongnu.org; Mon, 02 Mar 2009 18:54:18 -0500 Received: from cain.gsoft.com.au ([203.31.81.10]:50394) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeHxh-0003l3-Ve for avr-chat@nongnu.org; Mon, 02 Mar 2009 18:54:18 -0500 Received: from inchoate.localnet (Inchoate.gsoft.com.au [203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n22NrLFJ000359 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 3 Mar 2009 10:23:23 +1030 (CST) (envelope-from darius@dons.net.au) From: "Daniel O'Connor" To: avr-chat@nongnu.org Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Date: Tue, 3 Mar 2009 10:23:18 +1030 User-Agent: KMail/1.10.4 (Linux/2.6.27-11-generic; KDE/4.1.4; i686; ; ) References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <20090228054156.c8ddbfa4.vincent.trouilliez@modulonet.fr> <25b178740903020644q41ea36cay968ed04864ce606a@mail.gmail.com> In-Reply-To: <25b178740903020644q41ea36cay968ed04864ce606a@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2405455.MRMlyBXFG9"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200903031023.20335.darius@dons.net.au> X-Spam-Score: -3.977 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 23:54:20 -0000 --nextPart2405455.MRMlyBXFG9 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 03 March 2009 01:14:05 David VanHorn wrote: > > Actually the program so far is only 10KB. But it takes like 2 seconds > > to write, another 2 seconds to read back/verify, so that's 4/5 > > seconds ! ;- > > OMG! :) Remember the days of Eproms? 15 minutes to erase, 5-10 to > program... Hah, "those days"?! I just finished helping a co-worker debug a new GPS engine parser for a HC1= 1=20 using window parts. What's REALLY sad is that we now use HC12's for designs but for some reason= it=20 was deemed too costly in time to update this design. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart2405455.MRMlyBXFG9 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBJrHFw5ZPcIHs/zowRAqCcAKCIs+dg5sBBFsAGO4N+Nw5gsCXDzACcC3Oq wAy6x0Grcc4wlmZ94JyzWhA= =6ur/ -----END PGP SIGNATURE----- --nextPart2405455.MRMlyBXFG9-- From MAILER-DAEMON Mon Mar 02 19:31:05 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeIXJ-0004PG-5a for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 19:31:05 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeIXI-0004PB-95 for avr-chat@nongnu.org; Mon, 02 Mar 2009 19:31:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeIXE-0004MJ-0N for avr-chat@nongnu.org; Mon, 02 Mar 2009 19:31:03 -0500 Received: from [199.232.76.173] (port=55507 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeIXD-0004MG-QU for avr-chat@nongnu.org; Mon, 02 Mar 2009 19:30:59 -0500 Received: from mail-out5.netspace.net.au ([203.10.110.92]:52795 helo=mail.netspace.net.au) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeIXD-0000FU-A2 for avr-chat@nongnu.org; Mon, 02 Mar 2009 19:30:59 -0500 Received: from [192.168.0.10] (220-253-43-17.VIC.netspace.net.au [220.253.43.17]) by mail.netspace.net.au (Postfix) with ESMTP id 9534217201F for ; Tue, 3 Mar 2009 11:30:56 +1100 (EST) Message-ID: <49AC7A3D.2060301@netspace.net.au> Date: Tue, 03 Mar 2009 11:30:53 +1100 From: Russell Shaw User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) MIME-Version: 1.0 CC: avr-chat Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> <20090302200212.3bf99df2.vincent.trouilliez@modulonet.fr> <0a6201c99b6c$cacaa060$6500a8c0@GrahamsInspiron> <20090302214752.b85069d6.vincent.trouilliez@modulonet.fr> <49AC5AEF.9030607@netspace.net.au> <49AC68C2.5070704@speakeasy.net> In-Reply-To: <49AC68C2.5070704@speakeasy.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: FreeBSD 5.3-5.4 X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 00:31:04 -0000 Robert L Cochran wrote: >> If you know the motherboard number, look it up on the manufacturers >> web site. >> >> They often have a 10-pin header on the motherboard for connecting an >> rs-232 connector and parallel port. > How does a 10-pin motherboard header translate to a 25 pin parallel port? > > http://www.interfacebus.com/Design_Connector_Parallel_PC_Port.html Because it's morning, i didn't word it right to say that it's only the rs-232 that's 10 pins. The parallel one has more. I added a DB-9 rs-232 and an lpt port to my pc using a cable and back-connectors from an old junk pc. Motherboard is a P5E-V HDMI. From MAILER-DAEMON Mon Mar 02 20:03:50 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeJ30-0002WA-C3 for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 20:03:50 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeJ2y-0002W5-V3 for avr-chat@nongnu.org; Mon, 02 Mar 2009 20:03:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeJ2y-0002Vt-Ao for avr-chat@nongnu.org; Mon, 02 Mar 2009 20:03:48 -0500 Received: from [199.232.76.173] (port=59036 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeJ2y-0002Vq-7Q for avr-chat@nongnu.org; Mon, 02 Mar 2009 20:03:48 -0500 Received: from smtp6.tech.numericable.fr ([82.216.111.42]:50146) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeJ2x-0004zL-M8 for avr-chat@nongnu.org; Mon, 02 Mar 2009 20:03:47 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp6.tech.numericable.fr (Postfix) with SMTP id 0A293144004 for ; Tue, 3 Mar 2009 02:03:42 +0100 (CET) Date: Tue, 3 Mar 2009 02:03:41 +0100 From: Vincent Trouilliez To: "avr-chat@nongnu.org" Message-Id: <20090303020341.9d1d6f86.vincent.trouilliez@modulonet.fr> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: [avr-chat] I2C controller: INT flag a bit leaves me confused ! X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 01:03:49 -0000 Hi, Trying to use the I2C controller on my mega32. Finished reading the datasheet and had a look at the avr-libc example code. I am confused as to how the TWINT flag works ! I mean, you have to set it to logic one to start an action on the bus, and then the code examples wait for that flag to be a logic one which means the requested action has been performed. Huuu... if I set a bit to one and then next instruction checks if it's one... how has the flag any chance to drop to zero so it can go back up to one ? If it stays at one once we have set it, then we are not waiting at all so it doens't work... what am I missing ?! I am confused (euphemism) ! I could imagine that the write operation to this bit triggers the requested action but does not actually set physically the bit to one, so when we read it back on the next instruction cycle, we don't actually see the "one" that we just wrote. I would not mind someone confirming this scenario or telling me otherwise if need be, please ! ;-) Regards, -- Vince From MAILER-DAEMON Mon Mar 02 21:07:38 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeK2j-00016E-SF for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 21:07:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeK2i-00014W-D3 for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:07:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeK2g-00012E-CM for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:07:35 -0500 Received: from [199.232.76.173] (port=53880 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeK2f-00011x-Ui for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:07:34 -0500 Received: from pool-98-111-83-88.sttlwa.fios.verizon.net ([98.111.83.88]:41585 helo=wilma.wazzucougars.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeK2f-0005Vk-DK for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:07:33 -0500 Received: from wilma.wazzucougars.org (localhost [127.0.0.1]) by wilma.wazzucougars.org (8.13.8/8.13.8) with ESMTP id n231ML7A022459 for ; Mon, 2 Mar 2009 17:22:21 -0800 From: pladow@wazzucougars.org Received: (from pladow@localhost) by wilma.wazzucougars.org (8.13.8/8.13.8/Submit) id n231MLYk022458 for avr-chat@nongnu.org; Mon, 2 Mar 2009 17:22:21 -0800 Date: Mon, 2 Mar 2009 17:22:21 -0800 To: avr-chat@nongnu.org Subject: Re: [avr-chat] I2C controller: INT flag a bit leaves me confused ! Message-ID: <20090303012221.GA22435@wilma> References: <20090303020341.9d1d6f86.vincent.trouilliez@modulonet.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090303020341.9d1d6f86.vincent.trouilliez@modulonet.fr> User-Agent: Mutt/1.4.2.2i X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Greylist: delayed 2710 seconds by postgrey-1.27 at monty-python; Mon, 02 Mar 2009 21:07:33 EST X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 02:07:36 -0000 On Tue, Mar 03, 2009 at 02:03:41AM +0100, Vincent Trouilliez wrote: > I could imagine that the write operation to this bit triggers the > requested action but does not actually set physically the bit to one, > so when we read it back on the next instruction cycle, we don't > actually see the "one" that we just wrote. > > I would not mind someone confirming this scenario or telling me > otherwise if need be, please ! ;-) I've not used the TWI modules on Atmel parts, but I did take a look at the datasheet to see if it as you say. It is not unusual for registers to have different operations on read and on write. One example I can think of is the SPDR register on the SPI interface. Writing to the SPDR and reading it back will not necessarily return what you just wrote. However, my understand of the Mega32 datasheet indicates that the write to TWINT is necessary only to clear any previous interrupt. As stated in the datasheet: However, it is important that the TWINT bit is set in the value written. Writing a one to the TWINT clears the Flag. The TWI will not start any operation as long as the TWINT bit in the TWCR is set. Immediately after the application has cleared TWINT, the TWI will initiate transmission of the START condition. So, writing TWINT clears the interrupt and allows a start condition to occur. However, I also note that you probably shouldn't use the TWINT bit to determine if the TWI transfer is complete without first verifying that the START condition was successfully transmitted. Fruther in the datasheet: The application software should now examine the value of TWSR, to make sure that the START condition was successfully transmitted. I think it is better to think of the TWINT bit as just that--an interrupt bit. Writing a 1 clears the interrupt, thus setting TWINT to 0. But you need more information than just TWINT to determine if a transfer occurred. Pete LaDow pladow@wazzucougars.org From MAILER-DAEMON Mon Mar 02 21:16:52 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeKBg-0006Yj-1E for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 21:16:52 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeKBd-0006Ye-3s for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:16:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeKBb-0006YS-Gx for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:16:48 -0500 Received: from [199.232.76.173] (port=36887 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeKBb-0006YP-Dy for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:16:47 -0500 Received: from bee.hiwaay.net ([216.180.54.11]:31786) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1LeKBb-0006eK-4W for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:16:47 -0500 Received: from [10.0.0.183] (dynamic-75-76-211-79.knology.net [75.76.211.79] (may be forged)) (authenticated bits=0) by bee.hiwaay.net (8.13.8/8.13.8) with ESMTP id n232GewL1506239 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Mon, 2 Mar 2009 20:16:41 -0600 (CST) From: David Kelly To: Vincent Trouilliez In-Reply-To: <20090302233825.2cdcee01.vincent.trouilliez@modulonet.fr> Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> <20090302200212.3bf99df2.vincent.trouilliez@modulonet.fr> <0a6201c99b6c$cacaa060$6500a8c0@GrahamsInspiron> <20090302214752.b85069d6.vincent.trouilliez@modulonet.fr> <49AC5AEF.9030607@netspace.net.au> <20090302233825.2cdcee01.vincent.trouilliez@modulonet.fr> Message-Id: <9D46DBD7-D73C-4B59-AA4E-C3D7463AD791@hiwaay.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Mon, 2 Mar 2009 20:16:40 -0600 X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: avr-chat X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: avr-chat List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 02:16:49 -0000 On Mar 2, 2009, at 4:38 PM, Vincent Trouilliez wrote: >> They often have a 10-pin header on the motherboard for connecting >> an rs-232 >> connector and parallel port. > > I do have an internal header for a second serial port, that was one > of the reasons I bought this particular board. But I had of course to > add a bracket to gete a proper connector, and it so happens that the > computer case I bought has a crap "tool-free" system to secure > bracket/add-on cards, which means that as soon as I exerce any kind of > force on the DB9 socket to try to plug a serial cable.. the bracket > gets free and disappears in the computer case... You can't be a Real Embedded Engineer until you have carved a D connector opening in a chassis by hand. Use file, drill, Dremel mototool, even X-Acto knife (works fairly well on aluminum), or any combination thereof. :-) -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From MAILER-DAEMON Mon Mar 02 21:18:46 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeKDW-0007Gc-FS for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 21:18:46 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeKDU-0007GU-Nq for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:18:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeKDS-0007GI-Cv for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:18:43 -0500 Received: from [199.232.76.173] (port=53941 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeKDS-0007GF-7M for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:18:42 -0500 Received: from mail-fx0-f175.google.com ([209.85.220.175]:62622) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeKDR-0006uJ-T6 for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:18:42 -0500 Received: by fxm23 with SMTP id 23so2097141fxm.34 for ; Mon, 02 Mar 2009 18:18:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=kRI5JyD8E63zQ1m86Te7wxcRvoYuu0TlKzlV1kTzJeE=; b=P4wnOwNCvtYO26pmNMxWyo2wXXNRxhGiS9AKVlwBYNwzR34dPrMR8/5AqF/jJPRe+i q/eeuznO2TASNx0KcHiKbzEgs83CxzC0d9a7VKRoeCVv7tAySd+Zgj9DSdstY06dVzKe WdtNQIcWcwBbtd4EtAwhZKxEBtXPtlLIA2xQE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=bEdDhKJ/5WbMQWLGb9bzS0ulIHym8dMU5DrBdavzruNJfMa1PsWY4vPhynxtdmSeh1 vjtosEC9Tr+Iqo+a2Vmu7pz01tQX6O2s8EkD+RY2iMTIam7ZlXGuvtaxOpXmsMbclh5I 4x8A0zkJYGWQi8rflPIK/draHSCJhU/Emcazg= MIME-Version: 1.0 Received: by 10.223.111.71 with SMTP id r7mr6600092fap.59.1236046720123; Mon, 02 Mar 2009 18:18:40 -0800 (PST) In-Reply-To: <9D46DBD7-D73C-4B59-AA4E-C3D7463AD791@hiwaay.net> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> <20090302200212.3bf99df2.vincent.trouilliez@modulonet.fr> <0a6201c99b6c$cacaa060$6500a8c0@GrahamsInspiron> <20090302214752.b85069d6.vincent.trouilliez@modulonet.fr> <49AC5AEF.9030607@netspace.net.au> <20090302233825.2cdcee01.vincent.trouilliez@modulonet.fr> <9D46DBD7-D73C-4B59-AA4E-C3D7463AD791@hiwaay.net> Date: Mon, 2 Mar 2009 21:18:40 -0500 Message-ID: <25b178740903021818n543c6dd0s65d2d45742b694c2@mail.gmail.com> Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... From: David VanHorn To: avr-chat Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 02:18:44 -0000 > You can't be a Real Embedded Engineer until you have carved a D connector > opening in a chassis by hand. Use file, drill, Dremel mototool, even X-Acto > knife (works fairly well on aluminum), or any combination thereof. BTDT. 9 and 25. :) But now I have punches for both. From MAILER-DAEMON Mon Mar 02 21:22:13 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeKGq-0007mn-VK for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 21:22:13 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeKGp-0007la-93 for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:22:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeKGm-0007lO-Kt for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:22:09 -0500 Received: from [199.232.76.173] (port=42059 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeKGm-0007lL-FG for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:22:08 -0500 Received: from bee.hiwaay.net ([216.180.54.11]:31960) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1LeKGm-0007Kx-3N for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:22:08 -0500 Received: from [10.0.0.183] (dynamic-75-76-211-79.knology.net [75.76.211.79] (may be forged)) (authenticated bits=0) by bee.hiwaay.net (8.13.8/8.13.8) with ESMTP id n232Ln4Q1071427 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Mon, 2 Mar 2009 20:21:52 -0600 (CST) From: David Kelly To: Russell Shaw In-Reply-To: <49AC7A3D.2060301@netspace.net.au> Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> <20090302200212.3bf99df2.vincent.trouilliez@modulonet.fr> <0a6201c99b6c$cacaa060$6500a8c0@GrahamsInspiron> <20090302214752.b85069d6.vincent.trouilliez@modulonet.fr> <49AC5AEF.9030607@netspace.net.au> <49AC68C2.5070704@speakeasy.net> <49AC7A3D.2060301@netspace.net.au> Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Mon, 2 Mar 2009 20:21:49 -0600 X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: avr-chat X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: avr-chat List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 02:22:11 -0000 On Mar 2, 2009, at 6:30 PM, Russell Shaw wrote: >>> They often have a 10-pin header on the motherboard for connecting an >>> rs-232 connector and parallel port. >> How does a 10-pin motherboard header translate to a 25 pin parallel >> port? >> http://www.interfacebus.com/Design_Connector_Parallel_PC_Port.html > > Because it's morning, i didn't word it right to say that it's only the > rs-232 that's 10 pins. The parallel one has more. I added a DB-9 > rs-232 > and an lpt port to my pc using a cable and back-connectors from an old > junk pc. Motherboard is a P5E-V HDMI. One caution: there are two different pinouts used for 10 pin asynchronous serial ports on PC motherboards and serial cards. Only one uses an easy ribbon cable connection from DB9 to 10-pin header. IIRC the other literally used pin 1 to 1, 2 to 2, 3 to 3 ... and had to have each line hand connected to the DB9 or DB25. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From MAILER-DAEMON Mon Mar 02 21:30:57 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeKPJ-0003fB-4u for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 21:30:57 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeKPI-0003f1-6O for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:30:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeKPF-0003eU-S2 for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:30:54 -0500 Received: from [199.232.76.173] (port=44758 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeKPF-0003eR-LX for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:30:53 -0500 Received: from smtp6.tech.numericable.fr ([82.216.111.42]:36241) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeKPF-00008F-A4 for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:30:53 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp6.tech.numericable.fr (Postfix) with SMTP id 89D26144005 for ; Tue, 3 Mar 2009 03:30:52 +0100 (CET) Date: Tue, 3 Mar 2009 03:30:51 +0100 From: Vincent Trouilliez To: avr-chat Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Message-Id: <20090303033051.ac7fc391.vincent.trouilliez@modulonet.fr> In-Reply-To: <9D46DBD7-D73C-4B59-AA4E-C3D7463AD791@hiwaay.net> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> <20090302200212.3bf99df2.vincent.trouilliez@modulonet.fr> <0a6201c99b6c$cacaa060$6500a8c0@GrahamsInspiron> <20090302214752.b85069d6.vincent.trouilliez@modulonet.fr> <49AC5AEF.9030607@netspace.net.au> <20090302233825.2cdcee01.vincent.trouilliez@modulonet.fr> <9D46DBD7-D73C-4B59-AA4E-C3D7463AD791@hiwaay.net> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 02:30:56 -0000 On Mon, 2 Mar 2009 20:16:40 -0600 David Kelly wrote: > You can't be a Real Embedded Engineer until you have carved a D > connector opening in a chassis by hand. Use file, drill, Dremel > mototool, even X-Acto knife (works fairly well on aluminum), or any > combination thereof. > > :-) Yeah yeah yeah... I will get round to fixing it... one day... probably when I will be considering an ICE-cube, I will suddenly start getting my act together. But for now, I don't have a use for it so... not much motivation ! The thing is that it would require me to shut down my computer (for safety reasons ;-), and I never turn it off, because I can't live just 5 minutes without my Penguin friend running, and mainly because when I power it back up, it takes me 10 minutes to re-open all the applications and their documents, in all the workspaces.. and that's a pain. Yes, I tried the "hibernation" thing... but it's not "just work" enough to be considered useful/beneficial. So unless I am urged to do it following say a security kernel update that does require rebooting, well I really find it hard to get myself to shut down or reboot my machine ! Strange I am ? so be it ! ;-) -- Vince From MAILER-DAEMON Mon Mar 02 21:40:42 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeKYk-0006C1-Ol for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 21:40:42 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeKYk-0006Bw-8L for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:40:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeKYi-0006Bi-PP for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:40:41 -0500 Received: from [199.232.76.173] (port=48158 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeKYi-0006Bf-Mp for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:40:40 -0500 Received: from mail6.sea5.speakeasy.net ([69.17.117.8]:44277) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeKYi-0001LK-70 for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:40:40 -0500 Received: (qmail 18564 invoked from network); 3 Mar 2009 02:40:37 -0000 Received: from ns1.lingpgmr.com (HELO deafeng3.signtype.info) (cochranb@[66.92.147.154]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 3 Mar 2009 02:40:36 -0000 Message-ID: <49AC98A4.4070800@speakeasy.net> Date: Mon, 02 Mar 2009 21:40:36 -0500 From: Robert L Cochran User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: avr-chat Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> <20090302200212.3bf99df2.vincent.trouilliez@modulonet.fr> <0a6201c99b6c$cacaa060$6500a8c0@GrahamsInspiron> <20090302214752.b85069d6.vincent.trouilliez@modulonet.fr> <49AC5AEF.9030607@netspace.net.au> <20090302233825.2cdcee01.vincent.trouilliez@modulonet.fr> <9D46DBD7-D73C-4B59-AA4E-C3D7463AD791@hiwaay.net> In-Reply-To: <9D46DBD7-D73C-4B59-AA4E-C3D7463AD791@hiwaay.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 02:40:42 -0000 David Kelly wrote: > > On Mar 2, 2009, at 4:38 PM, Vincent Trouilliez wrote: > >>> They often have a 10-pin header on the motherboard for connecting an >>> rs-232 >>> connector and parallel port. >> >> I do have an internal header for a second serial port, that was one >> of the reasons I bought this particular board. But I had of course to >> add a bracket to gete a proper connector, and it so happens that the >> computer case I bought has a crap "tool-free" system to secure >> bracket/add-on cards, which means that as soon as I exerce any kind of >> force on the DB9 socket to try to plug a serial cable.. the bracket >> gets free and disappears in the computer case... > sn > > You can't be a Real Embedded Engineer until you have carved a D > connector opening in a chassis by hand. Use file, drill, Dremel > mototool, even X-Acto knife (works fairly well on aluminum), or any > combination thereof. > > :-) Be sure to wear goggles or something to protect your eyes. A whole face shield might be infinitely better. Also gloves of some sort on your hands. Even with hand snips, if a little bit of shrapnel flies into your eyeball that may permanently end your embedded engineering feats. The same applies to hands or fingers sliced by metal. With that said, cut a sufficient circle in the computer case and debur it with a file or rasp so it doesn't slice your hand. Then hot glue the D-sub bracket to it. If the glue has poor adhesion to the metal of the case, solder the bracket on. Presto! It's quick and it works. Bob > From MAILER-DAEMON Mon Mar 02 21:48:43 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeKgV-000117-Mw for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 21:48:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeKgT-00010q-5r for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:48:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeKgQ-0000zH-W1 for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:48:40 -0500 Received: from [199.232.76.173] (port=45264 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeKgQ-0000zE-R9 for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:48:38 -0500 Received: from smtp3.tech.numericable.fr ([82.216.111.39]:41154) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeKgQ-0002FQ-F7 for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:48:38 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp3.tech.numericable.fr (Postfix) with SMTP id A02723E408 for ; Tue, 3 Mar 2009 03:48:37 +0100 (CET) Date: Tue, 3 Mar 2009 03:48:36 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Message-Id: <20090303034836.371af294.vincent.trouilliez@modulonet.fr> In-Reply-To: <49AC98A4.4070800@speakeasy.net> References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr> <7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net> <20090228070642.56A5551@uriah.heep.sax.de> <20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr> <20090302160530.6830051@uriah.heep.sax.de> <20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr> <091701c99b55$313ce690$6500a8c0@GrahamsInspiron> <20090302200212.3bf99df2.vincent.trouilliez@modulonet.fr> <0a6201c99b6c$cacaa060$6500a8c0@GrahamsInspiron> <20090302214752.b85069d6.vincent.trouilliez@modulonet.fr> <49AC5AEF.9030607@netspace.net.au> <20090302233825.2cdcee01.vincent.trouilliez@modulonet.fr> <9D46DBD7-D73C-4B59-AA4E-C3D7463AD791@hiwaay.net> <49AC98A4.4070800@speakeasy.net> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 02:48:41 -0000 On Mon, 02 Mar 2009 21:40:36 -0500 Robert L Cochran wrote: > With that said, cut a sufficient circle in the computer case and debur > it with a file or rasp so it doesn't slice your hand. Then hot glue the > D-sub bracket to it. If the glue has poor adhesion to the metal of the > case, solder the bracket on. Presto! It's quick and it works. Geez you all sound like you mutilated your computer case at some point, and I am the only left who hasn't done it yet ! ;-) -- Vince From MAILER-DAEMON Mon Mar 02 21:50:03 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeKhn-0002PK-66 for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 21:50:03 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeKhl-0002Os-86 for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:50:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeKhi-0002N1-OK for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:49:59 -0500 Received: from [199.232.76.173] (port=45278 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeKhi-0002Mj-KC for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:49:58 -0500 Received: from smtp5.tech.numericable.fr ([82.216.111.41]:55590) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeKhi-0002Pi-6J for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:49:58 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp5.tech.numericable.fr (Postfix) with SMTP id 545AB124012 for ; Tue, 3 Mar 2009 03:49:55 +0100 (CET) Date: Tue, 3 Mar 2009 03:49:54 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] I2C controller: INT flag a bit leaves me confused ! Message-Id: <20090303034954.4319d947.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090303012221.GA22435@wilma> References: <20090303020341.9d1d6f86.vincent.trouilliez@modulonet.fr> <20090303012221.GA22435@wilma> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 02:50:01 -0000 On Mon, 2 Mar 2009 17:22:21 -0800 pladow@wazzucougars.org wrote: > However, I also note that you probably shouldn't use the TWINT bit to determine > if the TWI transfer is complete The datasheet actually explains in the code examples that this flag is indeed what they watch to determine that an event has occured, then only they read the status register to see what event was actually detected on the bus. As I am trying to debug it presently, my problem right is that simply requesting a start operation doesn't seem to succeed, because checking the TWINT flag the way the datasheet and avrlib-c suggest, well it never returns, hangs in there ! :-/ I am a little baffled and clueless as to what could be wrong in such a simple attempt ! :-( TWBR = 77; /* Bus at 100 KHz, 16MHz crystal */ TWSR = 0x00; /* Prescaler = 1 */ TWCR = _BV(TWINT) | _BV(TWSTA) | _BV(TWEN); while( !(TWCR & _BV(TWINT)) ); status = TW_STATUS; lcd_put_byte(status); This simple code ought to produce a start condition and therefore return a status. But the while() never returns and the status doesn't print on the LCD. Commenting out the while() does print something, so indeed it's the TWINT flag not being set by the I2C controller... but what on earth could possibly keep him from succeeding in generating a start condition !! I have got pull-ups on both lines, so nothing can possibly keep the AVR from generating the start ! Oh dear.... not looking good ! Maybe yet another fired AVR chip, no problem, I got 3 spares in the post today, what a good timing !! ;-) -- Vince From MAILER-DAEMON Mon Mar 02 22:47:30 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeLbO-00062r-4F for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 22:47:30 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeLbL-00061M-PJ for avr-chat@nongnu.org; Mon, 02 Mar 2009 22:47:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeLbJ-00061A-B5 for avr-chat@nongnu.org; Mon, 02 Mar 2009 22:47:26 -0500 Received: from [199.232.76.173] (port=35309 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeLbJ-000617-6T for avr-chat@nongnu.org; Mon, 02 Mar 2009 22:47:25 -0500 Received: from vms173019pub.verizon.net ([206.46.173.19]:59066) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeLbI-0002HI-Pn for avr-chat@nongnu.org; Mon, 02 Mar 2009 22:47:24 -0500 Received: from GrahamsInspiron ([98.118.86.11]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KFW004TNVU6MXXK@vms173019.mailsrvcs.net> for avr-chat@nongnu.org; Mon, 02 Mar 2009 21:47:00 -0600 (CST) Message-id: <0b1101c99bb2$b266df20$6500a8c0@GrahamsInspiron> From: "Graham Davies" To: References: <20090228044009.7f0c39e9.vincent.trouilliez@modulonet.fr><7814B949-6F67-4473-A48C-549020FC4FBE@hiwaay.net><20090228070642.56A5551@uriah.heep.sax.de><20090228161551.34fdfc24.vincent.trouilliez@modulonet.fr><20090302160530.6830051@uriah.heep.sax.de><20090302171347.5a722dc2.vincent.trouilliez@modulonet.fr><091701c99b55$313ce690$6500a8c0@GrahamsInspiron><20090302200212.3bf99df2.vincent.trouilliez@modulonet.fr><0a6201c99b6c$cacaa060$6500a8c0@GrahamsInspiron><20090302214752.b85069d6.vincent.trouilliez@modulonet.fr><49AC5AEF.9030607@netspace.net.au><20090302233825.2cdcee01.vincent.trouilliez@modulonet.fr><9D46DBD7-D73C-4B59-AA4E-C3D7463AD791@hiwaay.net><49AC98A4.4070800@speakeasy.net> <20090303034836.371af294.vincent.trouilliez@modulonet.fr> Subject: Re: [avr-chat] Avrdude and JTAG / Dragon... Date: Mon, 02 Mar 2009 22:46:49 -0500 Organization: Ecros Technology MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 03:47:28 -0000 Vincent Trouilliez wrote: > Geez you all sound like you mutilated your computer case at some point, > and I am the only left who hasn't done it yet ! ;-) Nobody said this is easy, only that it is necessary. Yes, the 10-pin serial port header is often there but not mentioned in the specifications (e.g. GigaByte GA-MA78GM-S2H and Tul TRS780-MI). Yes, the pinout is often such that you can't use a ribbon cable (e.g. same two motherboards). Yes, you will probably have to modify your case. I modify all my cases to block the side vents and have the big fan at the back pump air *in* through a filter. It makes no sense to me to pump air out so that it has to come in through all kinds of holes and your computer ends up as a dust filter for the whole room. Graham. From MAILER-DAEMON Mon Mar 02 23:07:32 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeLum-000545-LH for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 23:07:32 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeLuk-00053w-IE for avr-chat@nongnu.org; Mon, 02 Mar 2009 23:07:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeLuj-00052X-2U for avr-chat@nongnu.org; Mon, 02 Mar 2009 23:07:30 -0500 Received: from [199.232.76.173] (port=37976 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeLui-00052Q-UY for avr-chat@nongnu.org; Mon, 02 Mar 2009 23:07:28 -0500 Received: from smtp6.tech.numericable.fr ([82.216.111.42]:55439) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeLui-0005Jo-D4 for avr-chat@nongnu.org; Mon, 02 Mar 2009 23:07:28 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp6.tech.numericable.fr (Postfix) with SMTP id 96FB6144006 for ; Tue, 3 Mar 2009 05:07:27 +0100 (CET) Date: Tue, 3 Mar 2009 05:07:26 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] I2C controller: INT flag a bit leaves me confused ! Message-Id: <20090303050726.a13de0e2.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090303034954.4319d947.vincent.trouilliez@modulonet.fr> References: <20090303020341.9d1d6f86.vincent.trouilliez@modulonet.fr> <20090303012221.GA22435@wilma> <20090303034954.4319d947.vincent.trouilliez@modulonet.fr> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 04:07:31 -0000 On Tue, 3 Mar 2009 03:49:54 +0100 Vincent Trouilliez wrote: > As I am trying to debug it presently, my problem right is that simply > requesting a start operation doesn't seem to succeed, FIXED ! Last week the mega32 on one of two targets was doing funny things with itsI/O pins, was faulty. This week the other mega32 on the second target, is doing the same ! It was failing to drive one of the two I2C lines ! Replacing it with a brand new chip instantly cured the problem. I can now read the various status(es? is that English?) on my LCD. I get 0x08 following the start, which is good, then I get 0x20 and 0x30, which is good too. Indicates that the slave's address and data byte have been successfully sent.. but not acknoledged, 'cause I blew the slave (PCF 8574, I/O expander, cheap way to test that the bus was working, by lighting LED's via this chip) when supplying it accidentally with unregulated 12Volts rather than the regulated 5 Volts, oops !!! :-O Poor slave... Will get a new one first thing tommorow, and hopefully everything should then be working :-) -- Vince From MAILER-DAEMON Mon Mar 02 23:21:35 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeM8N-0002An-Kj for mharc-avr-chat@gnu.org; Mon, 02 Mar 2009 23:21:35 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeM8K-0002Ai-VG for avr-chat@nongnu.org; Mon, 02 Mar 2009 23:21:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeM8J-0002AW-F8 for avr-chat@nongnu.org; Mon, 02 Mar 2009 23:21:31 -0500 Received: from [199.232.76.173] (port=36533 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeM8J-0002AT-9N for avr-chat@nongnu.org; Mon, 02 Mar 2009 23:21:31 -0500 Received: from smtp6.tech.numericable.fr ([82.216.111.42]:43606) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeM8I-0006zR-Uc for avr-chat@nongnu.org; Mon, 02 Mar 2009 23:21:31 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp6.tech.numericable.fr (Postfix) with SMTP id 2AD4C144006 for ; Tue, 3 Mar 2009 05:21:28 +0100 (CET) Date: Tue, 3 Mar 2009 05:21:27 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] I2C controller: INT flag a bit leaves me confused ! Message-Id: <20090303052127.0ac83807.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090303050726.a13de0e2.vincent.trouilliez@modulonet.fr> References: <20090303020341.9d1d6f86.vincent.trouilliez@modulonet.fr> <20090303012221.GA22435@wilma> <20090303034954.4319d947.vincent.trouilliez@modulonet.fr> <20090303050726.a13de0e2.vincent.trouilliez@modulonet.fr> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 04:21:33 -0000 On Tue, 3 Mar 2009 05:07:26 +0100 Vincent Trouilliez wrote: > ...but not acknoledged, 'cause I blew the > slave (PCF 8574, I/O expander, cheap way to test that the bus was > working, by lighting LED's via this chip) when supplying it > accidentally with unregulated 12Volts rather than the regulated 5 > Volts, oops !!! :-O Poor slave... Will get a new one first thing > tommorow, and hopefully everything should then be working :-) Geez, some things just don't want to die !!! I found a bad ground (the slave was a on dodgy solder less bread board, not soldered on the target). I made a better ground and hey preto, the slave now acknowledges it's address and data ! Who said electronic integrated circuits were fragile ?! ;-) I am amazed... -- Vince From MAILER-DAEMON Tue Mar 03 02:00:24 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeOc4-0006VO-EX for mharc-avr-chat@gnu.org; Tue, 03 Mar 2009 02:00:24 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeOc2-0006V0-Kg for avr-chat@nongnu.org; Tue, 03 Mar 2009 02:00:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeObz-0006TS-Hi for avr-chat@nongnu.org; Tue, 03 Mar 2009 02:00:22 -0500 Received: from [199.232.76.173] (port=60222 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeObz-0006TJ-A7 for avr-chat@nongnu.org; Tue, 03 Mar 2009 02:00:19 -0500 Received: from uriah.heep.sax.de ([213.240.137.9]:49911) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeOby-0002nc-NT for avr-chat@nongnu.org; Tue, 03 Mar 2009 02:00:19 -0500 Received: by uriah.heep.sax.de (Postfix, from userid 107) id C21AF186; Tue, 3 Mar 2009 08:00:15 +0100 (MET) Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <20090303020341.9d1d6f86.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090303020341.9d1d6f86.vincent.trouilliez@modulonet.fr> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: [avr-chat] I2C controller: INT flag a bit leaves me confused ! X-Original-Newsgroups: local.avr.chat To: avr-chat@nongnu.org Content-Type: text/plain; charset=us-ascii Message-Id: <20090303070015.C21AF186@uriah.heep.sax.de> Date: Tue, 3 Mar 2009 08:00:15 +0100 (MET) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 07:00:23 -0000 Vincent Trouilliez wrote: > I would not mind someone confirming this scenario or telling me > otherwise if need be, please ! ;-) Just get rid of the idea that SFRs (aka. IO registers) behave the same as a standard SRAM cell would. Instead, they simply establish access paths to certain hardware features, and often, the access path when issuing a write operation is something completely different than the path when issuing a read operation. That way, you should simply never assume in the first place (unless it's explicitly explained so in the datasheet) that any data you wrote to a particular SFR could be read back. The most obvious example for that is the UDR register of the USART: writing it will load the transmit buffer (and trigger a transmission if necessary), reading it will read the receive buffer. The FAQ explains why interrupt flags are normally cleared by writing a logical 1 into them: http://www.nongnu.org/avr-libc/user-manual/FAQ.html#faq_intbits The only difference for TWINT (compared to most AVR interrupts) is that it doesn't auto-clear upon entering the ISR. This is because clearing it triggers the next START condition, so by requiring the firmware to explicitly handle that, it's got full control about when the next bus cycle is going to happen. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From MAILER-DAEMON Tue Mar 03 04:39:08 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeR5g-00012w-Ba for mharc-avr-chat@gnu.org; Tue, 03 Mar 2009 04:39:08 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeR5e-00010x-36 for avr-chat@nongnu.org; Tue, 03 Mar 2009 04:39:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeR5d-000107-2X for avr-chat@nongnu.org; Tue, 03 Mar 2009 04:39:05 -0500 Received: from [199.232.76.173] (port=42496 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeR5c-0000zs-J6 for avr-chat@nongnu.org; Tue, 03 Mar 2009 04:39:04 -0500 Received: from gw.kuantic.com ([213.244.28.44]:48013) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeR5b-00014V-Vz for avr-chat@nongnu.org; Tue, 03 Mar 2009 04:39:04 -0500 Received: from [10.0.0.4] (pcbernard.kuantic.com [10.0.0.4]) by gw.kuantic.com (8.14.2/8.14.1) with ESMTP id n239d0JG026663; Tue, 3 Mar 2009 10:39:00 +0100 Message-ID: <49ACFAAE.9000405@kuantic.com> Date: Tue, 03 Mar 2009 10:38:54 +0100 From: =?ISO-8859-1?Q?Bernard_Fouch=E9?= Organization: Kuantic User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Vincent Trouilliez Subject: Re: [avr-chat] I2C controller: INT flag a bit leaves me confused ! References: <20090303020341.9d1d6f86.vincent.trouilliez@modulonet.fr> <20090303012221.GA22435@wilma> <20090303034954.4319d947.vincent.trouilliez@modulonet.fr> <20090303050726.a13de0e2.vincent.trouilliez@modulonet.fr> <20090303052127.0ac83807.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090303052127.0ac83807.vincent.trouilliez@modulonet.fr> Content-Type: multipart/alternative; boundary="------------010907080109040903060207" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (gw.kuantic.com [213.244.28.44]); Tue, 03 Mar 2009 10:39:00 +0100 (CET) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: avr-chat@nongnu.org X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 09:39:06 -0000 This is a multi-part message in MIME format. --------------010907080109040903060207 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit FYI you have AVR I2C management source code in Procyon AVRLIB and in NutOS (www.ethernut.de). I never used Procyon lib, however I sometimes read some of the files to better understand the datasheets. We use NutOS on some internal projects and the I2C driver is working fine. Vincent Trouilliez wrote: > On Tue, 3 Mar 2009 05:07:26 +0100 > Vincent Trouilliez wrote: > > >> ...but not acknoledged, 'cause I blew the >> slave (PCF 8574, I/O expander, cheap way to test that the bus was >> working, by lighting LED's via this chip) when supplying it >> accidentally with unregulated 12Volts rather than the regulated 5 >> Volts, oops !!! :-O Poor slave... Will get a new one first thing >> tommorow, and hopefully everything should then be working :-) >> > > Geez, some things just don't want to die !!! > I found a bad ground (the slave was a on dodgy solder less bread board, > not soldered on the target). I made a better ground and hey preto, > the slave now acknowledges it's address and data ! > > Who said electronic integrated circuits were fragile ?! ;-) > I am amazed... > > > -- > Vince > > > _______________________________________________ > AVR-chat mailing list > AVR-chat@nongnu.org > http://lists.nongnu.org/mailman/listinfo/avr-chat > > --------------010907080109040903060207 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit FYI you have AVR I2C management source code in Procyon AVRLIB and in NutOS (www.ethernut.de). I never used Procyon lib, however I sometimes read some of the files to better understand the datasheets. We use NutOS on some internal projects and the I2C driver is working fine.

Vincent Trouilliez wrote:
On Tue, 3 Mar 2009 05:07:26 +0100
Vincent Trouilliez <vincent.trouilliez@modulonet.fr> wrote:

  
...but not acknoledged, 'cause I blew the
slave (PCF 8574, I/O expander, cheap way to test that the bus was
working, by lighting LED's via this chip) when supplying it
accidentally with unregulated 12Volts rather than the regulated 5
Volts, oops !!! :-O  Poor slave... Will get a new one first thing
tommorow, and hopefully everything should then be working :-)
    

Geez, some things just don't want to die !!!
I found a bad ground (the slave was a on dodgy solder less bread board,
not soldered on the target). I made a better ground and hey preto,
the slave now acknowledges it's address and data !

Who said electronic integrated circuits were fragile ?! ;-)
I am amazed...


--
Vince


_______________________________________________
AVR-chat mailing list
AVR-chat@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-chat

  
--------------010907080109040903060207-- From MAILER-DAEMON Tue Mar 03 10:29:45 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeWYz-0008NE-9T for mharc-avr-chat@gnu.org; Tue, 03 Mar 2009 10:29:45 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeWYx-0008Ls-PU for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:29:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeWYw-0008KS-6h for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:29:42 -0500 Received: from [199.232.76.173] (port=56664 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeWYv-0008KH-UW for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:29:41 -0500 Received: from smtp6.tech.numericable.fr ([82.216.111.42]:47039) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeWYv-0000DF-KO for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:29:41 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp6.tech.numericable.fr (Postfix) with SMTP id 09923144014 for ; Tue, 3 Mar 2009 16:29:32 +0100 (CET) Date: Tue, 3 Mar 2009 16:29:32 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] I2C controller: INT flag a bit leaves me confused ! Message-Id: <20090303162932.f7d07ee4.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090303070015.C21AF186@uriah.heep.sax.de> References: <20090303020341.9d1d6f86.vincent.trouilliez@modulonet.fr> <20090303070015.C21AF186@uriah.heep.sax.de> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 15:29:44 -0000 On Tue, 3 Mar 2009 08:00:15 +0100 (MET) j@uriah.heep.sax.de (Joerg Wunsch) wrote: > Just get rid of the idea that SFRs (aka. IO registers) behave the same > as a standard SRAM cell would... [snip] Thanks, I think I got it now... ;-) -- Vince From MAILER-DAEMON Tue Mar 03 10:33:16 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeWcO-0002hO-0U for mharc-avr-chat@gnu.org; Tue, 03 Mar 2009 10:33:16 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeWcL-0002gD-9c for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:33:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeWcG-0002dR-6N for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:33:12 -0500 Received: from [199.232.76.173] (port=40564 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeWcF-0002dG-UP for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:33:07 -0500 Received: from mo-p05-ob.rzone.de ([81.169.146.182]:64381) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeWcF-0000cz-CA for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:33:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1236094385; l=475; s=domk; d=innot.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=tyv3b0A4SPcbQyJIlJWA87yAUUErL/imB/0To9UulQE=; b=d8muwqm5CPEe4MQKjzJ2O0NWlTHFx45J8oI3ndC5e+ZebBBc11c4U8MHcJoJ/Tv4j6i yaLZNZGDO8Y0ZYsouIO6R0Cn2yBVNtlvGBRbduSOXMWZ70SSHWSt3MBwH8kaR4So/+WdJ Ra37Eq+kA1KMRQxrusssIRLt/CCED+QYepw= X-RZG-AUTH: :OGQLeEG7PvaF0ahmuAlkw8LEenZL1ATM9pX5MSCriFfler0eiN9uWz90a/c= X-RZG-CLASS-ID: mo05 Received: from [192.168.2.20] ([94.79.173.158]) by post.strato.de (mrclete mo27) (RZmta 18.23) with ESMTP id k01598l23FIvDr for ; Tue, 3 Mar 2009 16:33:02 +0100 (MET) Message-ID: <49AD4DAD.3040800@innot.de> Date: Tue, 03 Mar 2009 16:33:01 +0100 From: Thomas Holland User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: avr-chat@nongnu.org Subject: Re: [avr-chat] AVR on the Mac References: <49A97C3E.5090905@innot.de> <3B60D5DB-1B6F-4C2D-B112-D7AFE5E6F741@helicron.net> <49AB13C5.4090403@speakeasy.net> In-Reply-To: <49AB13C5.4090403@speakeasy.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 15:33:15 -0000 Robert L Cochran wrote: > Does this plugin also work with Rational Application Developer v7? I don't know. If CDT works with RAD, then the AVR Eclipse Plugin should work as well, but you probably just have to try it... Thomas > This > is a bit of a strange question since RAD is an IBM product aimed at > large enterprises and they charge a lot of money for the license, even > most of the software is Eclipse with a different look plus WebSphere. > > Bob > > From MAILER-DAEMON Tue Mar 03 10:37:55 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeWgs-0006KE-SW for mharc-avr-chat@gnu.org; Tue, 03 Mar 2009 10:37:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeWgr-0006J6-JH for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:37:53 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeWgp-0006HG-Nn for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:37:52 -0500 Received: from [199.232.76.173] (port=41706 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeWgp-0006Gz-Ej for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:37:51 -0500 Received: from smtp1.tech.numericable.fr ([82.216.111.37]:34735) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeWgo-0001Kp-W2 for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:37:51 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp1.tech.numericable.fr (Postfix) with SMTP id 122B2E0817 for ; Tue, 3 Mar 2009 16:37:48 +0100 (CET) Date: Tue, 3 Mar 2009 16:37:47 +0100 From: Vincent Trouilliez To: "avr-chat@nongnu.org" Subject: Re: [avr-chat] I2C controller: INT flag a bit leaves me confused ! Message-Id: <20090303163747.083ca6bc.vincent.trouilliez@modulonet.fr> In-Reply-To: <49ACFAAE.9000405@kuantic.com> References: <20090303020341.9d1d6f86.vincent.trouilliez@modulonet.fr> <20090303012221.GA22435@wilma> <20090303034954.4319d947.vincent.trouilliez@modulonet.fr> <20090303050726.a13de0e2.vincent.trouilliez@modulonet.fr> <20090303052127.0ac83807.vincent.trouilliez@modulonet.fr> <49ACFAAE.9000405@kuantic.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 15:37:54 -0000 On Tue, 03 Mar 2009 10:38:54 +0100 Bernard Fouch=E9 wrote: > FYI you have AVR I2C management source code in Procyon AVRLIB and in=20 > NutOS (www.ethernut.de). Oh, but most of the fun in my project is to do everything my self, to get practice and learn ! ;-) I guess I could have used libraries for my text LCD, then my graphical LCD (T6963C), but reading datasheet 3 times, understanding the hardware, getting the low-level routines to work and then building my own/custom higher level function to suit my particular projects, is what turns me on ! ;-) Using libraries I would learn nothing, have zero sense of achievement/pride/experience/skills, and would feel a bit bad and unable to say (if just to myself): "this is MY Baby, I did it from scratch !", because then.. it wouldn't be the case ! > I never used Procyon lib, however I sometimes=20 > read some of the files to better understand the datasheets. This is it. I sometimes have a look at libraries to clear up confusion and make sure I understand the datasheet properly. But I never steal/copy functions from a library. -- Vince From MAILER-DAEMON Tue Mar 03 10:50:32 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeWt6-0004Eu-B5 for mharc-avr-chat@gnu.org; Tue, 03 Mar 2009 10:50:32 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeWt4-0004Df-Vk for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:50:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeWt2-0004By-Cd for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:50:29 -0500 Received: from [199.232.76.173] (port=60618 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeWt2-0004Bq-9h for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:50:28 -0500 Received: from mo-p05-ob.rzone.de ([81.169.146.181]:39941) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeWt1-0002zO-Ru for avr-chat@nongnu.org; Tue, 03 Mar 2009 10:50:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1236095426; l=2067; s=domk; d=innot.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=AwL1HjN7qP7HUmqdXbWDOrs22IRg0iJzCArtvhkMFOU=; b=EC1lqCFm+b6doqbE0fmAsVElYFGr6y1v/kU1srxmEbazbWRAor+WvV3rAuG8UugG/hb 6RKF0qAjjF7scPWWwLTAYBsOUPz2YK+eJPD+48h4BjOU9ShM/UpEh8j6tkVGyGiDA8xx6 lT+jTOCCBOLdq6LYdEqR1Pz3HuQsN0hHYdM= X-RZG-AUTH: :OGQLeEG7PvaF0ahmuAlkw8LEenZL1ATM9pX5MSCriFfler0eiN9uWz90a/c= X-RZG-CLASS-ID: mo05 Received: from [192.168.2.20] ([94.79.173.158]) by post.strato.de (mrclete mo6) (RZmta 18.23) with ESMTP id z02a86l23FiAEn for ; Tue, 3 Mar 2009 16:50:26 +0100 (MET) Message-ID: <49AD51C2.40602@innot.de> Date: Tue, 03 Mar 2009 16:50:26 +0100 From: Thomas Holland User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: avr-chat@nongnu.org Subject: Re: [avr-chat] AVR on the Mac References: <49A97C3E.5090905@innot.de> <3B60D5DB-1B6F-4C2D-B112-D7AFE5E6F741@helicron.net> In-Reply-To: <3B60D5DB-1B6F-4C2D-B112-D7AFE5E6F741@helicron.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 15:50:31 -0000 Peter Harrison wrote: > > On 28 Feb 2009, at 18:02, Thomas Holland wrote: > >> Hi, >> >> the AVR Eclipse plugin (http://avr-eclipse.sourceforge.net ) also >> works on a Mac, so you can use the powerful Eclipse IDE for AVR >> development. >> >> >> Disclaimer: I am the author of the AVR Eclipse Plugin. >> >> brgds, >> >> Thomas >> > > I have now downloaded Eclipse and the plug-in. Excellent. Really. I > have heard folk moan about the sheer weight of Eclipse but it looks > good to me. The plug-in does just what I would hope - and more. I am > curious to know how it knew where the AVRMacPack stuff was. Since it > is platform independent - how does it find the compiler tools? It actually executes 'find' on your system to look for the required components. The actual details are in the user manual of the plugin under 'Concepts -> AVR Path Management' (online version: http://avr-eclipse.sourceforge.net/user%20manual/concepts/avr_path_management.html ) > > Anyway, I also loaded up the free Hi-Tide package from Hitech. This I > now realise is just another installation of Eclipse but with a > compiler that won't do optimisation. I shall be saying goodbye to that > before I go to bed then. > > In the past I have found the simulator in AVR Studio to be very useful > but I guess I can learn to live without it. I have never had any use > for on-chip debugging but that looks like it might have to change. Yes, there is a distinct lack of a good AVR simulator on non-Windows platforms. On Windows you could still use the Simulator from AVR-Studio (just open the .elf file generated by Eclipse in AVR-Studio to use its simulator). Actually I have started writing a new AVR simulator (in Java :-)) but it is still in a very infant state and can't do much more than run unit tests on about 70% of the AVR instruction test. As my spare time is limited I don't expect to have a workable simulator before this years end. > > Thanks to Thomas Holland for his efforts with the plug-in. You are welcome! > > Pete From MAILER-DAEMON Tue Mar 03 11:52:41 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeXrF-0006Mi-Hw for mharc-avr-chat@gnu.org; Tue, 03 Mar 2009 11:52:41 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeXrE-0006LU-DD for avr-chat@nongnu.org; Tue, 03 Mar 2009 11:52:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeXrD-0006Kq-Mk for avr-chat@nongnu.org; Tue, 03 Mar 2009 11:52:40 -0500 Received: from [199.232.76.173] (port=40944 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeXrD-0006Ki-FD for avr-chat@nongnu.org; Tue, 03 Mar 2009 11:52:39 -0500 Received: from newsmtp5.atmel.com ([204.2.163.5]:38363 helo=sjogate2.atmel.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeXrC-0003O2-U7 for avr-chat@nongnu.org; Tue, 03 Mar 2009 11:52:39 -0500 Received: from csomb01.corp.atmel.com ([10.95.30.150]) by sjogate2.atmel.com (8.13.6/8.13.6) with ESMTP id n23GpJDn027948; Tue, 3 Mar 2009 08:51:20 -0800 (PST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [avr-chat] AVR on the Mac Date: Tue, 3 Mar 2009 09:52:26 -0700 Message-ID: <258DDD1F44B6ED4AAFD4370847CF58D505A7F943@csomb01.corp.atmel.com> In-Reply-To: <49AD51C2.40602@innot.de> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [avr-chat] AVR on the Mac Thread-Index: AcmcF9g1RGXmXnVZTKW9guSXNqgmlQAB+0Dw References: <49A97C3E.5090905@innot.de><3B60D5DB-1B6F-4C2D-B112-D7AFE5E6F741@helicron.net> <49AD51C2.40602@innot.de> From: "Weddington, Eric" To: "Thomas Holland" , X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 16:52:40 -0000 =20 > -----Original Message----- > From: avr-chat-bounces+eweddington=3Dcso.atmel.com@nongnu.org=20 > [mailto:avr-chat-bounces+eweddington=3Dcso.atmel.com@nongnu.org] > On Behalf Of Thomas Holland > Sent: Tuesday, March 03, 2009 8:50 AM > To: avr-chat@nongnu.org > Subject: Re: [avr-chat] AVR on the Mac >=20 >=20 > Actually I have started writing a new AVR simulator (in Java=20 > :-)) but it=20 > is still in a very infant state and can't do much more than run unit=20 > tests on about 70% of the AVR instruction test. As my spare time is=20 > limited I don't expect to have a workable simulator before=20 > this years end. Please, please, please, don't do this. There are already existing open = source projects that need help: - SimulAVR: There is both a C based project (simulavr) and a C++ based project = (simulavrxx) at this project site. - Avrora: This is an "AVR Simulation and Analysis Framework" that is written in = Java and already works for many people. Plus there is an "avrtest" module in the WinAVR revision control system, = that was taken from the core of simulavr, and it is used to run the GCC = regression test suite. These are all open source projects that could always use more help. = Unless you are writing a simulator for your own learning experience, = please don't reinvent the wheel. Help out the existing community = instead. Thanks, Eric Weddington From MAILER-DAEMON Tue Mar 03 13:20:57 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LeZEf-00077S-DR for mharc-avr-chat@gnu.org; Tue, 03 Mar 2009 13:20:57 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeZEd-00076f-Fm for avr-chat@nongnu.org; Tue, 03 Mar 2009 13:20:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeZEb-00075l-Ip for avr-chat@nongnu.org; Tue, 03 Mar 2009 13:20:54 -0500 Received: from [199.232.76.173] (port=32959 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeZEb-00075g-EM for avr-chat@nongnu.org; Tue, 03 Mar 2009 13:20:53 -0500 Received: from pool-98-111-83-88.sttlwa.fios.verizon.net ([98.111.83.88]:42772 helo=wilma.wazzucougars.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LeZEa-0007wn-TX for avr-chat@nongnu.org; Tue, 03 Mar 2009 13:20:53 -0500 Received: from scrappy.wazzucougars.org (scrappy.wazzucougars.org [192.168.0.96]) by wilma.wazzucougars.org (8.13.8/8.13.8) with ESMTP id n23IKpoF026989 for ; Tue, 3 Mar 2009 10:20:51 -0800 Received: (from pladow@localhost) by scrappy.wazzucougars.org (8.14.3/8.14.3/client) id n23IKpLk025463 for avr-chat@nongnu.org; Tue, 3 Mar 2009 10:20:51 -0800 Date: Tue, 3 Mar 2009 10:20:51 -0800 From: pladow@wazzucougars.org To: avr-chat@nongnu.org Message-ID: <20090303182051.GA25363@scrappy.wazzucougars.org> References: <49AD51C2.40602@innot.de> <258DDD1F44B6ED4AAFD4370847CF58D505A7F943@csomb01.corp.atmel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <258DDD1F44B6ED4AAFD4370847CF58D505A7F943@csomb01.corp.atmel.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [avr-chat] JTAGICE mkII, UDEV, and PAM X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2009 18:20:55 -0000 I know this has been hashed over many times. But despite hours of time Googling this, I still can't find quite the right solution. I have it working, but I don't think it is quite right nor am I comfortable with it. So, I'm trying to use my JTAGICE mkII with Fedora Core 10. I did the usual and created some udev rules. When the mkII is connected, I get the correct ownership, but the permissions are fixed at 0600. Here's my udev rule (I have the group as a group id, since I am using NIS): # JTAGICE mkII ACTION=="add",SUBSYSTEM=="usb",SYSFS{idVendor}=="03eb",SYSFS{idProduct}=="2103",GROUP="504",MODE="0666" # AVRISP mkII ACTION=="add",SUBSYSTEM=="usb",SYSFS{idVendor}=="03eb",SYSFS{idProduct}=="2104",GROUP="504",MODE="0666" # Dragon ACTION=="add",SUBSYSTEM=="usb",SYSFS{idVendor}=="03eb",SYSFS{idProduct}=="2107",GROUP="504",MODE="0666" Despite the 0666 mode in the udev rules, it still sits at 0600. Now, I did more Googling and found out that PAM is called after the node is created. And PAM likes to re-write the permissions. So I mucked around in the PAM permissions (/etc/security/console.perms.d/50-default.perms). I added the following lines: ... =/dev/bus/usb/003/* ... 0660 0660 root.avrtools (Where ... is the already existing items.) Now, this works! I can now access the mkII from a user account that is in the avrtools group. Fortunately, PAM appears to know about NIS users and groups, so this works well. Leaving off the ".avrtools" forces the ownership back to root.root. But, I know this isn't quite right. Hardcoding the /dev/bus/usb/003/* into the PAM permissions won't work if the mkII is plugged into a different USB port. And it will apply the wrong permissions if something else is plugged into that USB port. So, I tried one last thing. And it works, but I'm not sure if it is the "right way" to do things (I know, the "right way" is often whatever works). I modified my udev rules to add a symbolic link, i.e.: # JTAGICE mkII ACTION=="add",SUBSYSTEM=="usb",SYSFS{idVendor}=="03eb",SYSFS{idProduct}=="2103",GROUP="504",MODE="0666",SYMLINK+="jtagicemkii" # AVRISP mkII ACTION=="add",SUBSYSTEM=="usb",SYSFS{idVendor}=="03eb",SYSFS{idProduct}=="2104",GROUP="504",MODE="0666",SYMLINK+="avrispmkii" # Dragon ACTION=="add",SUBSYSTEM=="usb",SYSFS{idVendor}=="03eb",SYSFS{idProduct}=="2107",GROUP="504",MODE="0666",SYMLINK+="avrdragon" Then I changed the PAM permissions to: =/dev/jtagicemkii /dev/avrispmkii /dev/avrdragon 0550 0660 root.avrtools I figured that the PAM permissions change might follow the link and change the permissions on the actual device. And it does! So, my question to the Wise Ones here, is this a reasonable approach? It seems to work for me. And I can't find any "standard" way of doing this. Thanks, Pete From MAILER-DAEMON Wed Mar 04 15:27:01 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LexgD-0001yF-8Y for mharc-avr-chat@gnu.org; Wed, 04 Mar 2009 15:27:01 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LexgA-0001y7-U6 for avr-chat@nongnu.org; Wed, 04 Mar 2009 15:26:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lexg9-0001xd-Bs for AVR-chat@nongnu.org; Wed, 04 Mar 2009 15:26:57 -0500 Received: from [199.232.76.173] (port=46670 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lexg9-0001xT-80 for AVR-chat@nongnu.org; Wed, 04 Mar 2009 15:26:57 -0500 Received: from yw-out-1718.google.com ([74.125.46.155]:18240) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lexg8-0000jI-RO for AVR-chat@nongnu.org; Wed, 04 Mar 2009 15:26:57 -0500 Received: by yw-out-1718.google.com with SMTP id 6so2025903ywa.82 for ; Wed, 04 Mar 2009 12:26:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=YJDC/2AcMup4UvGJu3ywVFzUta46+s4NxXd7OU3QfkM=; b=TED10OM8WU63IAReU21pc1HMeMM/bveSsFghtOrwbMih8dpJ/ZHUedQdIAFMEyy/4t 7SykzcvL9VmbjUqOhDgc30wR+tpxgjAUKrphdz6iONvYLO4BbUXpm2EEYDTqiFfGKqoY f+dqzAlsQvU1kTd8nPDblIT9eFEaoKytIOeIs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=fX0h1eZvhSp4vnOssDcOqN+4MfSp+kbp4FMAaTxY3EoYuPExm1884RbXghaLQVQmI1 7etuSlB778sWgcdB3j9YUjg4qH8ocJIVLBAbtegidWayXhw48fTPoNToh4KUVJtfVkDs 6KUHjBeUgsrzFlRuv4TS1Hf8zH5P2XYiqYiRY= MIME-Version: 1.0 Sender: pladow@gmail.com Received: by 10.220.72.139 with SMTP id m11mr157192vcj.32.1236198415826; Wed, 04 Mar 2009 12:26:55 -0800 (PST) Date: Wed, 4 Mar 2009 12:26:55 -0800 X-Google-Sender-Auth: e016f87dcdc790c3 Message-ID: <9e264e780903041226g6f737a9cqb687718bf2efd4b7@mail.gmail.com> From: Peter LaDow To: AVR-chat@nongnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: Subject: [avr-chat] JTAGICE mkII, UDEV, and PAM X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2009 20:26:59 -0000 I apologize for the repost. I tried to post it via my other email account, but I never saw it arrive on my main account (this one). And I think perhaps it was eaten by the SPAM filters out there. And given that it may have been consumed, perhaps nobody saw the email. Though I did see it in the archives, but it was listed as a reply to another post, so something got messed up. If you've seen this before, please ignore my repost. I know this has been hashed over many times. But despite hours of time Googling this, I still can't find quite the right solution. I have it working, but I don't think it is quite right nor am I comfortable with it. So, I'm trying to use my JTAGICE mkII with Fedora Core 10. I did the usual and created some udev rules. When the mkII is connected, I get the correct ownership, but the permissions are fixed at 0600. Here's my udev rule (I have the group as a group id, since I am using NIS): # JTAGICE mkII ACTION=="add",SUBSYSTEM=="usb",SYSFS{idVendor}=="03eb",SYSFS{idProduct}=="2103",GROUP="504",MODE="0666" # AVRISP mkII ACTION=="add",SUBSYSTEM=="usb",SYSFS{idVendor}=="03eb",SYSFS{idProduct}=="2104",GROUP="504",MODE="0666" # Dragon ACTION=="add",SUBSYSTEM=="usb",SYSFS{idVendor}=="03eb",SYSFS{idProduct}=="2107",GROUP="504",MODE="0666" Despite the 0666 mode in the udev rules, it still sits at 0600. Now, I did more Googling and found out that PAM is called after the node is created. And PAM likes to re-write the permissions. So I mucked around in the PAM permissions (/etc/security/console.perms.d/50-default.perms). I added the following lines: ... =/dev/bus/usb/003/* ... 0660 0660 root.avrtools (Where ... is the already existing items.) Now, this works! I can now access the mkII from a user account that is in the avrtools group. Fortunately, PAM appears to know about NIS users and groups, so this works well. Leaving off the ".avrtools" forces the ownership back to root.root. But, I know this isn't quite right. Hardcoding the /dev/bus/usb/003/* into the PAM permissions won't work if the mkII is plugged into a different USB port. And it will apply the wrong permissions if something else is plugged into that USB port. So, I tried one last thing. And it works, but I'm not sure if it is the "right way" to do things (I know, the "right way" is often whatever works). I modified my udev rules to add a symbolic link, i.e.: # JTAGICE mkII ACTION=="add",SUBSYSTEM=="usb",SYSFS{idVendor}=="03eb",SYSFS{idProduct}=="2103",GROUP="504",MODE="0666",SYMLINK+="jtagicemkii" # AVRISP mkII ACTION=="add",SUBSYSTEM=="usb",SYSFS{idVendor}=="03eb",SYSFS{idProduct}=="2104",GROUP="504",MODE="0666",SYMLINK+="avrispmkii" # Dragon ACTION=="add",SUBSYSTEM=="usb",SYSFS{idVendor}=="03eb",SYSFS{idProduct}=="2107",GROUP="504",MODE="0666",SYMLINK+="avrdragon" Then I changed the PAM permissions to: =/dev/jtagicemkii /dev/avrispmkii /dev/avrdragon 0550 0660 root.avrtools I figured that the PAM permissions change might follow the link and change the permissions on the actual device. And it does! So, my question to the Wise Ones here, is this a reasonable approach? It seems to work for me. And I can't find any "standard" way of doing this. Thanks, Pete -- -- "To love for the sake of being loved is human; to love for the sake of loving is Angelic." -- Alphonse de Lamartine From MAILER-DAEMON Wed Mar 04 20:26:49 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lf2ML-0003X5-HQ for mharc-avr-chat@gnu.org; Wed, 04 Mar 2009 20:26:49 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf2MJ-0003UW-M0 for avr-chat@nongnu.org; Wed, 04 Mar 2009 20:26:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf2MH-0003Ri-6d for avr-chat@nongnu.org; Wed, 04 Mar 2009 20:26:46 -0500 Received: from [199.232.76.173] (port=37994 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf2MG-0003RZ-Ur for avr-chat@nongnu.org; Wed, 04 Mar 2009 20:26:44 -0500 Received: from mail8.sea5.speakeasy.net ([69.17.117.10]:43239) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lf2MG-0005qI-GC for avr-chat@nongnu.org; Wed, 04 Mar 2009 20:26:44 -0500 Received: (qmail 5740 invoked from network); 5 Mar 2009 01:26:40 -0000 Received: from ns1.lingpgmr.com (HELO deafeng3.signtype.info) (cochranb@[66.92.147.154]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Mar 2009 01:26:40 -0000 Message-ID: <49AF2A4F.5060308@speakeasy.net> Date: Wed, 04 Mar 2009 20:26:39 -0500 From: Robert L Cochran User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: avr-chat X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector? X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 01:26:48 -0000 Is there an AVR that is especially good for reading data from an automobile's on-board diagnostic (OBD) connector? Is there already hardware that can do this: a cable for plugging into the OBD port, and a board which can read the codes coming from the port? By automobile, I mean an automobile built for the North American market. I assume that the OBD connector varies in style and pinout from country to country? I know my auto mechanic has a device weighing 25 kilograms with a long heavy cable terminated by a fat connector that plugs into my OBD port, reads the trouble codes, and displays them on a screen. That is pretty much what I want to do, along with intelligent matching of what the codes probably mean, but I want the smallest possible form factor. Thanks Bob Cochran Greenbelt, Maryland, USA From MAILER-DAEMON Wed Mar 04 21:13:39 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lf35f-0001GQ-Gt for mharc-avr-chat@gnu.org; Wed, 04 Mar 2009 21:13:39 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf35d-0001F5-SE for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:13:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf35b-0001C3-QX for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:13:37 -0500 Received: from [199.232.76.173] (port=37430 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf35b-0001Bt-Nv for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:13:35 -0500 Received: from standingwave.org ([204.13.164.229]:58510) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lf35b-00035r-Ef for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:13:35 -0500 Received: from ploron-mac.intelius1.intelius.com (BV-500-16-SSG140-Untrust.intelius.com [70.103.74.5]) by standingwave.org (Postfix) with ESMTPSA id 279AB5248E; Wed, 4 Mar 2009 18:07:37 -0800 (PST) Message-Id: <80EEEC3D-911D-4469-9B6D-CC7EA123A229@standingwave.org> From: Peter Loron To: Robert L Cochran In-Reply-To: <49AF2A4F.5060308@speakeasy.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector? Date: Wed, 4 Mar 2009 18:13:32 -0800 References: <49AF2A4F.5060308@speakeasy.net> X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: avr-chat X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 02:13:38 -0000 On Mar 4, 2009, at 5:26 PM, Robert L Cochran wrote: > Is there an AVR that is especially good for reading data from an > automobile's on-board diagnostic (OBD) connector? Is there already > hardware that can do this: a cable for plugging into the OBD port, > and a > board which can read the codes coming from the port? By automobile, I > mean an automobile built for the North American market. I assume that > the OBD connector varies in style and pinout from country to country? > > I know my auto mechanic has a device weighing 25 kilograms with a long > heavy cable terminated by a fat connector that plugs into my OBD port, > reads the trouble codes, and displays them on a screen. That is pretty > much what I want to do, along with intelligent matching of what the > codes probably mean, but I want the smallest possible form factor. > > Thanks > > Bob Cochran > Greenbelt, Maryland, USA Many of the new cars worldwide use a CAN bus. Older vehicles used various standards. There are many commercial tools out there to do various levels of interfacing with the car. Many companies sell chips that will interface with one of the CAN standards, but the real magic is in interpreting what you are able to read off the bus. http://autoenginuity.com/ http://www.scantool.net/ etc... Just do a search for OBD2 tool... -Pete From MAILER-DAEMON Wed Mar 04 21:15:54 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lf37q-0002sB-4A for mharc-avr-chat@gnu.org; Wed, 04 Mar 2009 21:15:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf37o-0002qO-8w for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:15:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf37m-0002ou-N8 for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:15:50 -0500 Received: from [199.232.76.173] (port=37450 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf37m-0002or-HZ for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:15:50 -0500 Received: from smtp7.tech.numericable.fr ([82.216.111.43]:35049) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lf37m-0003H9-19 for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:15:50 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp7.tech.numericable.fr (Postfix) with SMTP id E430B163806 for ; Thu, 5 Mar 2009 03:15:47 +0100 (CET) Date: Thu, 5 Mar 2009 03:15:47 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector? Message-Id: <20090305031547.66ed1dbc.vincent.trouilliez@modulonet.fr> In-Reply-To: <49AF2A4F.5060308@speakeasy.net> References: <49AF2A4F.5060308@speakeasy.net> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 02:15:52 -0000 On Wed, 04 Mar 2009 20:26:39 -0500 Robert L Cochran wrote: > Is there an AVR that is especially good for reading data from an > automobile's on-board diagnostic (OBD) connector? Is there already > hardware that can do this: a cable for plugging into the OBD port, and a > board which can read the codes coming from the port? By automobile, I > mean an automobile built for the North American market. I assume that > the OBD connector varies in style and pinout from country to country? > > I know my auto mechanic has a device weighing 25 kilograms with a long > heavy cable terminated by a fat connector that plugs into my OBD port, > reads the trouble codes, and displays them on a screen. That is pretty > much what I want to do, along with intelligent matching of what the > codes probably mean, but I want the smallest possible form factor. What a coincidence ! I am precisely developping an OBD handheld device using an AVR. Most of the hard work has been done and it's nearing completion, so maybe I can share my experience. - Choice of AVR chip: I am using an ATmega32 at 16MHz. It's plenty enough : my reader (also datalogger) is featureful with a user friendly interface, yet the code is only about 10KB. All you need is an UART to connect to the care's ECU, so just about any small AVR will do it, nothing special. For a basic code reader, a mega32 would be way overkill ! There is no need for any extra hardware/boards/module... As for the OBD plugs/connectors themsleves, IIRC they are not available anymore, or at least you would have to be very lucky or motivated to find some. I sure would love one, would be much more practical and elegant than stuffing leads by hand into the car's socket ! Also, I am using the UART because my reader is dedicated to a particular car (4 pot Lotus Esprit, 1989-1996 MY), and it happens to use a half-duplex serial port. However IIRC, the OBD also used a PWM interface so it would be different. You will have to do your own research to gather information about the particularities of each and every car you want to interface to, since they all have their particularities in how they implement trouble codes. Google will find you lots of people in the US who like to fiddle with their old car's ECU... As a starting point here is the website of the chap who made it all possible for Lotus Esprit fans to make their custom ECU reader, he did all the hard work of figuring out the Lotus protocol. It has also links to general purpose resoources on OBD and OBD II, to get you started. http://www.andywhittaker.com Doing a universal tool would be a huge PITA I hardly Fancy. My luck was that I wanted to design an OBD device targeted specifically at a single car model, so as a result my program is much more simple and small I guess, than what it would be if I had to make it work with any and all OBD compliant car on the planet ! But if you just want a simple/basic code reader and nothing else, then there are plenty of tiny handhled devices that do just that and cost as low as 30 Euros IIRC ! Again, just search the net, shouldn't take more than a few seconds to find one. Ah, in case you didn't mean OBD, but OBD-II, then that's another story altogether, I have no idea how complicated the OBD-II protocol is compared to OBD. Maybe one day if I win the lottery, I will get a Lotus Esprit V8, these are more modern than the 4 pot, they feature OBD-II not OBD. So I am sure I would want to redesign my ECU device to talk OBD-II ! ;-) Good luck anyway. I have had a lots of fun designing my custom ECU device ! :-) So much fun that I am asking for more, and have already plans to make a second version of it, with more features and a more elaborated user interface. Hope that helps ! -- Vince From MAILER-DAEMON Wed Mar 04 21:22:04 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lf3Do-0004XL-EC for mharc-avr-chat@gnu.org; Wed, 04 Mar 2009 21:22:04 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf3Dm-0004XF-1n for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:22:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf3Dj-0004X3-9U for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:22:00 -0500 Received: from [199.232.76.173] (port=35251 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf3Di-0004X0-TG for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:21:58 -0500 Received: from cain.gsoft.com.au ([203.31.81.10]:62304) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lf3Dh-0003pF-Tb for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:21:58 -0500 Received: from inchoate.localnet (Inchoate.gsoft.com.au [203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n252LqEJ061966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Mar 2009 12:51:52 +1030 (CST) (envelope-from darius@dons.net.au) From: "Daniel O'Connor" To: avr-chat@nongnu.org Subject: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector? Date: Thu, 5 Mar 2009 12:51:41 +1030 User-Agent: KMail/1.10.4 (Linux/2.6.27-11-generic; KDE/4.1.4; i686; ; ) References: <49AF2A4F.5060308@speakeasy.net> In-Reply-To: <49AF2A4F.5060308@speakeasy.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1726492.ZoDVXCUraC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200903051251.48276.darius@dons.net.au> X-Spam-Score: -3.977 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 02:22:02 -0000 --nextPart1726492.ZoDVXCUraC Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 05 March 2009 11:56:39 Robert L Cochran wrote: > Is there an AVR that is especially good for reading data from an > automobile's on-board diagnostic (OBD) connector? Is there already > hardware that can do this: a cable for plugging into the OBD port, and a > board which can read the codes coming from the port? By automobile, I > mean an automobile built for the North American market. I assume that > the OBD connector varies in style and pinout from country to country? > > I know my auto mechanic has a device weighing 25 kilograms with a long > heavy cable terminated by a fat connector that plugs into my OBD port, > reads the trouble codes, and displays them on a screen. That is pretty > much what I want to do, along with intelligent matching of what the > codes probably mean, but I want the smallest possible form factor. You can get PIC micros preprogrammed to translate OBD to RS232 TTL. http://www.elmelectronics.com/ I bought a clone off Ebay (which I didn't realise at the time). The OBD port is standard (although it can carry a few different protocols) = and=20 it must be located within 1m of the steering wheel (or something like that) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1726492.ZoDVXCUraC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBJrzc25ZPcIHs/zowRApxuAJ0cL/4KFcoiXRejSwGuCKQSOUgoSQCgn9dj X/Z05yfQ7y1ioF/vy2fYZXc= =nheF -----END PGP SIGNATURE----- --nextPart1726492.ZoDVXCUraC-- From MAILER-DAEMON Wed Mar 04 21:50:37 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lf3fR-0001pm-Ek for mharc-avr-chat@gnu.org; Wed, 04 Mar 2009 21:50:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf3fP-0001pY-5L for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:50:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf3fM-0001pM-Od for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:50:33 -0500 Received: from [199.232.76.173] (port=60940 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf3fM-0001pJ-J7 for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:50:32 -0500 Received: from vms173019pub.verizon.net ([206.46.173.19]:49668) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lf3fM-0006KW-7R for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:50:32 -0500 Received: from GrahamsInspiron ([98.118.86.11]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KG000KHKIK0WFMC@vms173019.mailsrvcs.net> for avr-chat@nongnu.org; Wed, 04 Mar 2009 20:50:26 -0600 (CST) Message-id: <00fe01c99d3d$20d49b60$6500a8c0@GrahamsInspiron> From: "Graham Davies" To: References: <49AF2A4F.5060308@speakeasy.net> <20090305031547.66ed1dbc.vincent.trouilliez@modulonet.fr> Subject: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector? Date: Wed, 04 Mar 2009 21:50:17 -0500 Organization: Ecros Technology MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 02:50:35 -0000 Vincent Trouilliez wrote: > As for the OBD plugs/connectors themsleves, IIRC they are not available > anymore, or at least you would have to be very lucky or motivated to > find some. I sure would love one, would be much more practical and > elegant than stuffing leads by hand into the car's socket ! Is the OBD connector the same as OBD II? I have ODB II connectors. I could have sent one with your AVR Dragon! My cousin had a Lotus Esprit, but that was a long time ago. Graham. From MAILER-DAEMON Wed Mar 04 21:51:26 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lf3gD-0002EL-Vf for mharc-avr-chat@gnu.org; Wed, 04 Mar 2009 21:51:25 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf3gB-0002DK-QN for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:51:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf3gA-0002CH-C8 for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:51:23 -0500 Received: from [199.232.76.173] (port=60954 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf3gA-0002CE-5c for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:51:22 -0500 Received: from vms173009pub.verizon.net ([206.46.173.9]:27876) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lf3g9-0006OC-Cm for avr-chat@nongnu.org; Wed, 04 Mar 2009 21:51:21 -0500 Received: from GrahamsInspiron ([98.118.86.11]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KG000EU3IL9MA56@vms173009.mailsrvcs.net> for avr-chat@nongnu.org; Wed, 04 Mar 2009 20:51:15 -0600 (CST) Message-id: <010101c99d3d$3e113210$6500a8c0@GrahamsInspiron> From: "Graham Davies" To: References: <49AF2A4F.5060308@speakeasy.net> <20090305031547.66ed1dbc.vincent.trouilliez@modulonet.fr> Subject: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector? Date: Wed, 04 Mar 2009 21:50:46 -0500 Organization: Ecros Technology MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 02:51:24 -0000 Vincent Trouilliez wrote: > As for the OBD plugs/connectors themsleves, IIRC they are not available > anymore, or at least you would have to be very lucky or motivated to > find some. I sure would love one, would be much more practical and > elegant than stuffing leads by hand into the car's socket ! Is the OBD connector the same as OBD II? I have OBD II connectors. I could have sent one with your AVR Dragon! My cousin had a Lotus Esprit, but that was a long time ago. Graham. From MAILER-DAEMON Wed Mar 04 22:04:44 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lf3t6-0007Am-3n for mharc-avr-chat@gnu.org; Wed, 04 Mar 2009 22:04:44 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf3t4-0007Aa-8U for avr-chat@nongnu.org; Wed, 04 Mar 2009 22:04:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf3t3-0007AO-Pn for avr-chat@nongnu.org; Wed, 04 Mar 2009 22:04:41 -0500 Received: from [199.232.76.173] (port=45727 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf3t3-0007AL-NP for avr-chat@nongnu.org; Wed, 04 Mar 2009 22:04:41 -0500 Received: from cain.gsoft.com.au ([203.31.81.10]:62876) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lf3t2-0007Ic-MV for avr-chat@nongnu.org; Wed, 04 Mar 2009 22:04:41 -0500 Received: from inchoate.localnet (Inchoate.gsoft.com.au [203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n2534G82064175 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Mar 2009 13:34:16 +1030 (CST) (envelope-from darius@dons.net.au) From: "Daniel O'Connor" To: avr-chat@nongnu.org Subject: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector? Date: Thu, 5 Mar 2009 13:34:14 +1030 User-Agent: KMail/1.10.4 (Linux/2.6.27-11-generic; KDE/4.1.4; i686; ; ) References: <49AF2A4F.5060308@speakeasy.net> <20090305031547.66ed1dbc.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090305031547.66ed1dbc.vincent.trouilliez@modulonet.fr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1670958.3KO1lDTvch"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200903051334.15011.darius@dons.net.au> X-Spam-Score: -3.977 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 03:04:42 -0000 --nextPart1670958.3KO1lDTvch Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 05 March 2009 12:45:47 Vincent Trouilliez wrote: > As for the OBD plugs/connectors themsleves, IIRC they are not available > anymore, or at least you would have to be very lucky or motivated to > find some. I sure would love one, would be much more practical and > elegant than stuffing leads by hand into the car's socket ! There are a few connectors listed under obd in places like mouser, dunno if= =20 they are what you need though.. > Ah, in case you didn't mean OBD, but OBD-II, then that's another story > altogether, I have no idea how complicated the OBD-II protocol is > compared to OBD. Maybe one day if I win the lottery, I will get a Lotus > Esprit V8, these are more modern than the 4 pot, they feature OBD-II > not OBD. So I am sure I would want to redesign my ECU device to talk > OBD-II ! ;-) Oops I was thinking of OBD-II when I answered Robert's email. BTW my Toyota Echo has OBD-II - it's the cheapest car they sell :) (Although I'm in Australia) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1670958.3KO1lDTvch Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBJr0Eu5ZPcIHs/zowRAj5xAJ4wh98AaGWIRQk+nTSmi//xyTBDfACffpjQ ZkLO6uhls01S626VKUECBL0= =vOrJ -----END PGP SIGNATURE----- --nextPart1670958.3KO1lDTvch-- From MAILER-DAEMON Wed Mar 04 22:08:35 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lf3wp-0008WD-Dz for mharc-avr-chat@gnu.org; Wed, 04 Mar 2009 22:08:35 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf3wn-0008UR-G3 for avr-chat@nongnu.org; Wed, 04 Mar 2009 22:08:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf3wm-0008Sr-6w for avr-chat@nongnu.org; Wed, 04 Mar 2009 22:08:32 -0500 Received: from [199.232.76.173] (port=35034 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf3wl-0008Sk-SU for avr-chat@nongnu.org; Wed, 04 Mar 2009 22:08:31 -0500 Received: from mail1.sea5.speakeasy.net ([69.17.117.3]:43536) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lf3wl-0007Xu-7a for avr-chat@nongnu.org; Wed, 04 Mar 2009 22:08:31 -0500 Received: (qmail 22164 invoked from network); 5 Mar 2009 03:08:28 -0000 Received: from ns1.lingpgmr.com (HELO deafeng3.signtype.info) (cochranb@[66.92.147.154]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Mar 2009 03:08:28 -0000 Message-ID: <49AF422B.8080908@speakeasy.net> Date: Wed, 04 Mar 2009 22:08:27 -0500 From: Robert L Cochran User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: avr-chat Subject: [Fwd: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector?] X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 03:08:34 -0000 Vincent Trouilliez wrote: > On Wed, 04 Mar 2009 20:26:39 -0500 > Robert L Cochran wrote: > > >> Is there an AVR that is especially good for reading data from an >> automobile's on-board diagnostic (OBD) connector? Is there already >> hardware that can do this: a cable for plugging into the OBD port, and a >> board which can read the codes coming from the port? By automobile, I >> mean an automobile built for the North American market. I assume that >> the OBD connector varies in style and pinout from country to country? >> >> I know my auto mechanic has a device weighing 25 kilograms with a long >> heavy cable terminated by a fat connector that plugs into my OBD port, >> reads the trouble codes, and displays them on a screen. That is pretty >> much what I want to do, along with intelligent matching of what the >> codes probably mean, but I want the smallest possible form factor. >> > > What a coincidence ! I am precisely developping an OBD handheld device > using an AVR. Most of the hard work has been done and it's nearing > completion, so maybe I can share my experience. > > - Choice of AVR chip: I am using an ATmega32 at 16MHz. It's plenty > enough : my reader (also datalogger) is featureful with a user friendly > interface, yet the code is only about 10KB. All you need is an UART to > connect to the care's ECU, so just about any small AVR will do it, > nothing special. For a basic code reader, a mega32 would be way > overkill ! There is no need for any extra hardware/boards/module... > > As for the OBD plugs/connectors themsleves, IIRC they are not available > anymore, or at least you would have to be very lucky or motivated to > find some. I sure would love one, would be much more practical and > elegant than stuffing leads by hand into the car's socket ! > > Also, I am using the UART because my reader is dedicated to a > particular car (4 pot Lotus Esprit, 1989-1996 MY), and it happens to > use a half-duplex serial port. However IIRC, the OBD also used a PWM > interface so it would be different. > > You will have to do your own research to gather information about the > particularities of each and every car you want to interface to, since > they all have their particularities in how they implement trouble > codes. Google will find you lots of people in the US who like to fiddle > with their old car's ECU... > > As a starting point here is the website of the chap who made it all > possible for Lotus Esprit fans to make their custom ECU reader, he did > all the hard work of figuring out the Lotus protocol. It has also links > to general purpose resoources on OBD and OBD II, to get you started. > > http://www.andywhittaker.com > > Doing a universal tool would be a huge PITA I hardly Fancy. My luck was > that I wanted to design an OBD device targeted specifically at a single > car model, so as a result my program is much more simple and small I > guess, than what it would be if I had to make it work with any and all > OBD compliant car on the planet ! > > But if you just want a simple/basic code reader and nothing else, then > there are plenty of tiny handhled devices that do just that and cost as > low as 30 Euros IIRC ! Again, just search the net, shouldn't take more > than a few seconds to find one. > > Ah, in case you didn't mean OBD, but OBD-II, then that's another story > altogether, I have no idea how complicated the OBD-II protocol is > compared to OBD. Maybe one day if I win the lottery, I will get a Lotus > Esprit V8, these are more modern than the 4 pot, they feature OBD-II > not OBD. So I am sure I would want to redesign my ECU device to talk > OBD-II ! ;-) > > > Good luck anyway. I have had a lots of fun designing my custom ECU > device ! :-) So much fun that I am asking for more, and have already > plans to make a second version of it, with more features and a more > elaborated user interface. > > > Hope that helps ! > > > -- > Vince > > Thank you Vince! And Peter, and Dan. Vince, do you have a picture of your circuit? I do mean OBD-II, for North American-market cars built 1996 and later. What I'm interested in doing is buying some device like the Auto XRay Code Scout 1500, which looks like it is pretty cheap on Ebay, and connecting it somehow to a wifi (802.11a/b/g/n) transciever like the Rabbit RCM5600W http://www.rabbit.com/products/rcm5600W/index.shtml and sending that information to a computer on my network for logging and analysis. Do you think there are gadgets out there that already do this for me? Basically I want to get the codes from the car to my computer wirelessly, with a quick plug-in, wait for green light, unplug action that takes only a few seconds. I don't know if there are wireless AVR chips that can do the same thing as the Rabbit module mentioned above. And Vince -- perhaps you can go to a mechanic you are friendly with and see if there is an old OBD cable that you can buy, then cut the cable to the right length for your project, and plug it into the car's OBD port with the connector. Then connect the loose wires at the other end to your circuit board or perhaps build a custom Molex connector of some sort. Thanks Bob From MAILER-DAEMON Wed Mar 04 23:25:32 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lf59H-0000M4-PU for mharc-avr-chat@gnu.org; Wed, 04 Mar 2009 23:25:31 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf59G-0000LE-CX for avr-chat@nongnu.org; Wed, 04 Mar 2009 23:25:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf59F-0000Kp-QC for avr-chat@nongnu.org; Wed, 04 Mar 2009 23:25:29 -0500 Received: from [199.232.76.173] (port=36769 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf59F-0000Kj-F2 for avr-chat@nongnu.org; Wed, 04 Mar 2009 23:25:29 -0500 Received: from smtp2.tech.numericable.fr ([82.216.111.38]:54820) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lf59E-00009a-W7 for avr-chat@nongnu.org; Wed, 04 Mar 2009 23:25:29 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp2.tech.numericable.fr (Postfix) with SMTP id 1FDA618D808 for ; Thu, 5 Mar 2009 05:25:24 +0100 (CET) Date: Thu, 5 Mar 2009 05:25:23 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [Fwd: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector?] Message-Id: <20090305052523.5481565e.vincent.trouilliez@modulonet.fr> In-Reply-To: <49AF422B.8080908@speakeasy.net> References: <49AF422B.8080908@speakeasy.net> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 04:25:31 -0000 On Wed, 04 Mar 2009 22:08:27 -0500 Robert L Cochran wrote: > Thank you Vince! And Peter, and Dan. Vince, do you have a picture of > your circuit? Pictures ? I just took a couple just for you ! ;-) http://freudhoefer.de/File_Share/Vince/ The left halh of the wooden cabinet is the AVR that simulates the car's ECU and sends data to the ECU reader itself, which occupies the right half, and is currently displaying Engine data. If you meant schematic, then sorry, I don't have that ! However I will soon, because now that hardware is pretty much settled (the remaining work on the reader is "just" programming work) I will be able at last, to make a nice PCB, probably later this month, so I will need to draw the schematics. > I do mean OBD-II, for North American-market cars built 1996 and later. Ah, as I said my reader is for OBD not OBD-II an dI have zero knowledge of the latter. My work probably is useless to you then, I am afraid ! :-/ > and sending that information to a computer on my network for logging and analysis. Hey, one of my future (very distant!) plans for my ECU reader would be something like that ! I was thinking/dreaming of embedding a web server in the handheld device, then with a modem and wireless internet connection (3G/mobile phone like) built-in, connect to the internet so that people anywhere could connect to the car/ECU reader to obtain engine data and help remotely to trouble shoot the car. But I doubt I will working on this before a few years at best. I must finish the first/current iteration of my device, then I have to work on a second version that's much more complicated/featured, then only I might try to connect the bloody thing to the internet through the mobile phone network or free wifi spots in towns, or whatever way to connecto to the internet wirelessly from anywhere. > And Vince -- perhaps you can go to a mechanic you are friendly with and see if there is an old OBD cable that you can buy, then cut the cable to the right length for your project, and plug it into the car's OBD port with the connector. Then connect the loose wires at the other end to your circuit board or perhaps build a custom Molex connector of some sort. I must already pretty much pay mechanics just to have them accept to work on my old car (anything older than 3 or 5 year doesn't seem to interest them), so I fear asking them to donate something to me is not exactly in their state of mind... -- Vince From MAILER-DAEMON Thu Mar 05 00:07:49 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lf5oD-0001Cp-PG for mharc-avr-chat@gnu.org; Thu, 05 Mar 2009 00:07:49 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf5oB-0001CY-Gg for avr-chat@nongnu.org; Thu, 05 Mar 2009 00:07:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf5o9-0001CK-CX for avr-chat@nongnu.org; Thu, 05 Mar 2009 00:07:46 -0500 Received: from [199.232.76.173] (port=37939 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf5o9-0001CH-65 for avr-chat@nongnu.org; Thu, 05 Mar 2009 00:07:45 -0500 Received: from smtp5.tech.numericable.fr ([82.216.111.41]:52059) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lf5o8-0003l6-NG for avr-chat@nongnu.org; Thu, 05 Mar 2009 00:07:44 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp5.tech.numericable.fr (Postfix) with SMTP id 32DAB124004 for ; Thu, 5 Mar 2009 06:07:41 +0100 (CET) Date: Thu, 5 Mar 2009 06:07:40 +0100 From: Vincent Trouilliez To: "avr-chat@nongnu.org" Subject: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector? Message-Id: <20090305060740.21848283.vincent.trouilliez@modulonet.fr> In-Reply-To: <200903051334.15011.darius@dons.net.au> References: <49AF2A4F.5060308@speakeasy.net> <20090305031547.66ed1dbc.vincent.trouilliez@modulonet.fr> <200903051334.15011.darius@dons.net.au> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 05:07:48 -0000 On Thu, 5 Mar 2009 13:34:14 +1030 "Daniel O'Connor" wrote: > There are a few connectors listed under obd in places like mouser, dunno if > they are what you need though.. Nope, not at first sight... -- Vince From MAILER-DAEMON Thu Mar 05 00:19:43 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lf5zj-00078I-67 for mharc-avr-chat@gnu.org; Thu, 05 Mar 2009 00:19:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf5zh-00077l-Mo for avr-chat@nongnu.org; Thu, 05 Mar 2009 00:19:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf5zg-00076p-U5 for avr-chat@nongnu.org; Thu, 05 Mar 2009 00:19:41 -0500 Received: from [199.232.76.173] (port=34509 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf5zg-00076m-RO for avr-chat@nongnu.org; Thu, 05 Mar 2009 00:19:40 -0500 Received: from smtp2.tech.numericable.fr ([82.216.111.38]:34248) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lf5zg-0004bm-Hs for avr-chat@nongnu.org; Thu, 05 Mar 2009 00:19:40 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp2.tech.numericable.fr (Postfix) with SMTP id 1B50F18D80F for ; Thu, 5 Mar 2009 06:19:37 +0100 (CET) Date: Thu, 5 Mar 2009 06:19:36 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector? Message-Id: <20090305061936.a5181092.vincent.trouilliez@modulonet.fr> In-Reply-To: <00fe01c99d3d$20d49b60$6500a8c0@GrahamsInspiron> References: <49AF2A4F.5060308@speakeasy.net> <20090305031547.66ed1dbc.vincent.trouilliez@modulonet.fr> <00fe01c99d3d$20d49b60$6500a8c0@GrahamsInspiron> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 05:19:41 -0000 On Wed, 04 Mar 2009 21:50:17 -0500 "Graham Davies" wrote: > Is the OBD connector the same as OBD II? I have ODB II connectors. I could > have sent one with your AVR Dragon! Nope they are different. The OBD seems to be trapezoidal in shape, with 16 terminals. The old OBD was rectangular, with a notch in the middle of one of the sides, on the exterior of it, and it had two rows of 5 terminals. However I wasted 30 minutes in vain, trying to find a good picture of it on internet. Zillions of OBD-II pages, and the rare "OBD" matches turned out to be OBD-II anyway.. people apparently use "OBD" to mean OBD-II, doesn't help. > My cousin had a Lotus Esprit, but that was a long time ago. Oh ! :-) What a small world... it's pretty rare to come accross someone who knows of their existence. It's even rarer when it's an american who manages to spell it correctly (well done Graham ! ;-), most american people somehow insist on spelling it "Espirit", for god knows what reason. May it's a word that means something in the American language, dunno... or maybe it's sometihng to do with the "E" economy, "E" this, "E" that, maybe they think it means E-spirit or something ! ;-) Trying hard to find an explanation ! -- Vince From MAILER-DAEMON Thu Mar 05 00:52:26 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lf6VO-0005Qv-4y for mharc-avr-chat@gnu.org; Thu, 05 Mar 2009 00:52:26 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf6VL-0005Q2-En for avr-chat@nongnu.org; Thu, 05 Mar 2009 00:52:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf6VG-0005O4-Ru for avr-chat@nongnu.org; Thu, 05 Mar 2009 00:52:21 -0500 Received: from [199.232.76.173] (port=37813 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf6VG-0005Nz-I3 for avr-chat@nongnu.org; Thu, 05 Mar 2009 00:52:18 -0500 Received: from smtp7.tech.numericable.fr ([82.216.111.43]:52305) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lf6VG-0007zU-6N for avr-chat@nongnu.org; Thu, 05 Mar 2009 00:52:18 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp7.tech.numericable.fr (Postfix) with SMTP id 60A8F163804 for ; Thu, 5 Mar 2009 06:52:17 +0100 (CET) Date: Thu, 5 Mar 2009 06:52:16 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector? Message-Id: <20090305065216.bd858ad8.vincent.trouilliez@modulonet.fr> In-Reply-To: <00fe01c99d3d$20d49b60$6500a8c0@GrahamsInspiron> References: <49AF2A4F.5060308@speakeasy.net> <20090305031547.66ed1dbc.vincent.trouilliez@modulonet.fr> <00fe01c99d3d$20d49b60$6500a8c0@GrahamsInspiron> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 05:52:23 -0000 On Wed, 04 Mar 2009 21:50:17 -0500 "Graham Davies" wrote: > Is the OBD connector the same as OBD II? I have ODB II connectors. I could > have sent one with your AVR Dragon! Ah, I have eventually found a drawing of the thing, hard work it was ! http://www.techedge.com.au/vehicle/aldl8192/8192hw.htm if you scroll down a bit, you have the OBD-II connector, and jsut under it, the "10 Pin European" connector. This is the one I need... -- Vince From MAILER-DAEMON Thu Mar 05 01:08:16 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lf6ki-0004XQ-EK for mharc-avr-chat@gnu.org; Thu, 05 Mar 2009 01:08:16 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf6kg-0004UJ-3d for avr-chat@nongnu.org; Thu, 05 Mar 2009 01:08:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf6kf-0004Sb-1S for avr-chat@nongnu.org; Thu, 05 Mar 2009 01:08:13 -0500 Received: from [199.232.76.173] (port=41412 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf6ke-0004S3-KU for avr-chat@nongnu.org; Thu, 05 Mar 2009 01:08:12 -0500 Received: from smtp4.tech.numericable.fr ([82.216.111.40]:51989) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lf6ke-0002ol-35 for avr-chat@nongnu.org; Thu, 05 Mar 2009 01:08:12 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp4.tech.numericable.fr (Postfix) with SMTP id 4801912A80F for ; Thu, 5 Mar 2009 07:08:10 +0100 (CET) Date: Thu, 5 Mar 2009 07:08:09 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector? Message-Id: <20090305070809.86e663c4.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090305065216.bd858ad8.vincent.trouilliez@modulonet.fr> References: <49AF2A4F.5060308@speakeasy.net> <20090305031547.66ed1dbc.vincent.trouilliez@modulonet.fr> <00fe01c99d3d$20d49b60$6500a8c0@GrahamsInspiron> <20090305065216.bd858ad8.vincent.trouilliez@modulonet.fr> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 06:08:14 -0000 On Thu, 5 Mar 2009 06:52:16 +0100 Vincent Trouilliez wrote: > Ah, I have eventually found a drawing of the thing, hard work it was ! > > http://www.techedge.com.au/vehicle/aldl8192/8192hw.htm > > if you scroll down a bit, you have the OBD-II connector, and jsut under > it, the "10 Pin European" connector. This is the one I need... I guess it's my lucky day, I found a Lotus Esprit specialist in the US who sells them for peanuts: http://www.wcengineering.com/esprit/aldl.html Still have the usual problem of high charges when importing from the US, so I will search harder in case there is a supplier in Europe... -- Vince From MAILER-DAEMON Thu Mar 05 06:35:32 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LfBrQ-0006Vm-EU for mharc-avr-chat@gnu.org; Thu, 05 Mar 2009 06:35:32 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfBrO-0006Vc-CE for avr-chat@nongnu.org; Thu, 05 Mar 2009 06:35:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfBrK-0006V8-V0 for avr-chat@nongnu.org; Thu, 05 Mar 2009 06:35:29 -0500 Received: from [199.232.76.173] (port=55650 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfBrK-0006Uw-Mo for avr-chat@nongnu.org; Thu, 05 Mar 2009 06:35:26 -0500 Received: from mail3.sea5.speakeasy.net ([69.17.117.5]:46114) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LfBrK-0008SF-6t for avr-chat@nongnu.org; Thu, 05 Mar 2009 06:35:26 -0500 Received: (qmail 5927 invoked from network); 5 Mar 2009 11:35:24 -0000 Received: from ns1.lingpgmr.com (HELO deafeng3.signtype.info) (cochranb@[66.92.147.154]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Mar 2009 11:35:24 -0000 Message-ID: <49AFB8F3.1060400@speakeasy.net> Date: Thu, 05 Mar 2009 06:35:15 -0500 From: Robert L Cochran User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: avr-chat@nongnu.org Subject: Re: [Fwd: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector?] References: <49AF422B.8080908@speakeasy.net> <20090305052523.5481565e.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090305052523.5481565e.vincent.trouilliez@modulonet.fr> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 11:35:31 -0000 Vincent Trouilliez wrote: > On Wed, 04 Mar 2009 22:08:27 -0500 > Robert L Cochran wrote: > >> Thank you Vince! And Peter, and Dan. Vince, do you have a picture of >> your circuit? >> > > Pictures ? > > I just took a couple just for you ! ;-) > > http://freudhoefer.de/File_Share/Vince/ > > The left halh of the wooden cabinet is the AVR that simulates the car's > ECU and sends data to the ECU reader itself, which occupies the right > half, and is currently displaying Engine data. > > If you meant schematic, then sorry, I don't have that ! > However I will soon, because now that hardware is pretty much settled > (the remaining work on the reader is "just" programming work) I will be > able at last, to make a nice PCB, probably later this month, so I will > need to draw the schematics. > > Thanks for the photos, they are very much appreciated. I'm so curious to see your project specifically and get a sense of how you European folks do electronics projects more generally. I'm surprised the LCD displays and some labels are in English instead of your native language. If you changed them to English just for me -- thank you very much for the courtesy since I don't know much French or German. The scope looks like a Tektronix clone but I can't quite read the brand or model. The function generator has English labels - very interesting. I have a Tektronix 454A which is old but don't understand how to use it. Also a function generator that is brand new and still in its original shipping bag. I need a class on how to use an oscilloscope. I worked with matrix keypads briefly at one time. Ron Hackett had published an article discussing how to use one for a Picaxe project, and I followed along and created his project, with the keypad and everything. Thanks again! Bob Cochran From MAILER-DAEMON Thu Mar 05 07:20:01 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LfCYT-00016r-4F for mharc-avr-chat@gnu.org; Thu, 05 Mar 2009 07:20:01 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfCYR-00015r-6r for avr-chat@nongnu.org; Thu, 05 Mar 2009 07:19:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfCYQ-00015f-Cg for avr-chat@nongnu.org; Thu, 05 Mar 2009 07:19:58 -0500 Received: from [199.232.76.173] (port=43890 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfCYQ-00015c-7x for avr-chat@nongnu.org; Thu, 05 Mar 2009 07:19:58 -0500 Received: from vms173017pub.verizon.net ([206.46.173.17]:59686) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfCYP-0006GM-Qu for avr-chat@nongnu.org; Thu, 05 Mar 2009 07:19:58 -0500 Received: from GrahamsInspiron ([98.118.86.11]) by vms173017.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KG100DAG8WOBRB8@vms173017.mailsrvcs.net> for avr-chat@nongnu.org; Thu, 05 Mar 2009 06:19:46 -0600 (CST) Message-id: <014801c99d8c$a877de20$6500a8c0@GrahamsInspiron> From: "Graham Davies" To: References: <49AF2A4F.5060308@speakeasy.net><20090305031547.66ed1dbc.vincent.trouilliez@modulonet.fr><00fe01c99d3d$20d49b60$6500a8c0@GrahamsInspiron> <20090305061936.a5181092.vincent.trouilliez@modulonet.fr> Subject: Re: [avr-chat] AVR and Hardware For Reading Automotive On-BoardDiagnostics Connector? Date: Thu, 05 Mar 2009 07:12:22 -0500 Organization: Ecros Technology MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 12:19:59 -0000 Vincent Trouilliez > It's even rarer when it's an american > who manages to spell it correctly ... Ah, well, although I live in the US and am married to an American, I was born and grew up in England. This is probably why I insist on trying to "level the playing field" and offer my products to overseas customers at the lowest shipping cost I can manage, even though it takes five times as long to prepare a package for international shipping as compared to domestic, what with the customs form and attaching the invoice to the outside in a pouch. Graham. From MAILER-DAEMON Thu Mar 05 07:53:50 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LfD5C-0007Bv-L6 for mharc-avr-chat@gnu.org; Thu, 05 Mar 2009 07:53:50 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfD5A-0007A4-D3 for avr-chat@nongnu.org; Thu, 05 Mar 2009 07:53:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfD58-000798-Rm for avr-chat@nongnu.org; Thu, 05 Mar 2009 07:53:47 -0500 Received: from [199.232.76.173] (port=52227 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfD58-00078y-Fx for avr-chat@nongnu.org; Thu, 05 Mar 2009 07:53:46 -0500 Received: from mail.wwpass.com ([213.243.79.42]:48782 helo=wwpass.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfD57-0001hr-Qs for avr-chat@nongnu.org; Thu, 05 Mar 2009 07:53:46 -0500 Received: from [10.111.1.40] (account g.kruglov HELO Tyelpelinta.wwpass.lan) by wwpass.com (CommuniGate Pro SMTP 5.2.8) with ESMTPA id 532067 for avr-chat@nongnu.org; Thu, 05 Mar 2009 15:53:40 +0300 Date: Thu, 5 Mar 2009 15:47:32 +0300 From: Kreyl X-Priority: 3 (Normal) Message-ID: <1793535438.20090305154732@yandex.ru> To: avr-chat@nongnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [avr-chat] thin LCD modules X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: laystoll List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 12:53:49 -0000 Hi! =20 I need thin (less than 2 mm) LCD modules. Low thickness is my main priority; graphical functionality is less important. 8 symbols x 2 lines, or 16 symbols x 1 or 2 lines, or even graphical display will do. Other dimensions ought to be something around 30x20 mm. Digital interface for now, AFAIK, is I2C in general. For once there were well documented Nokia 3310 displays, but alas, they gone. Thanks for all suggestions. =20 Best regards, Kreyl mailto: laystoll@yandex.ru ICQ: 171094105 From MAILER-DAEMON Thu Mar 05 13:02:44 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LfHu7-0006MJ-TC for mharc-avr-chat@gnu.org; Thu, 05 Mar 2009 13:02:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfHu6-0006M4-C7 for avr-chat@nongnu.org; Thu, 05 Mar 2009 13:02:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfHu4-0006Lm-SH for avr-chat@nongnu.org; Thu, 05 Mar 2009 13:02:41 -0500 Received: from [199.232.76.173] (port=36516 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfHu4-0006Lj-NM for avr-chat@nongnu.org; Thu, 05 Mar 2009 13:02:40 -0500 Received: from smtp5.tech.numericable.fr ([82.216.111.41]:54565) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfHu4-0005Tt-5m for avr-chat@nongnu.org; Thu, 05 Mar 2009 13:02:40 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp5.tech.numericable.fr (Postfix) with SMTP id 705DF124031 for ; Thu, 5 Mar 2009 19:02:37 +0100 (CET) Date: Thu, 5 Mar 2009 19:02:36 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] thin LCD modules Message-Id: <20090305190236.557616d7.vincent.trouilliez@modulonet.fr> In-Reply-To: <1793535438.20090305154732@yandex.ru> References: <1793535438.20090305154732@yandex.ru> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 18:02:42 -0000 > I need thin (less than 2 mm) LCD modules. Low thickness is my main > priority; graphical functionality is less important. 8 symbols x 2 > lines, or 16 symbols x 1 or 2 lines, or even graphical display will > do. Other dimensions ought to be something around 30x20 mm. > > Digital interface for now, AFAIK, is I2C in general. > > For once there were well documented Nokia 3310 displays, but alas, > they gone. > > Thanks for all suggestions. "COG"/ Chip on Glass products will do it. Batron has some nice ones with even I2C interface as you wanted, how lucky you are! ;-) See their website: http://www.data-modul.com/ -- Vince From MAILER-DAEMON Thu Mar 05 13:10:10 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LfI1K-00024U-Ok for mharc-avr-chat@gnu.org; Thu, 05 Mar 2009 13:10:10 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfI1I-00023a-9j for avr-chat@nongnu.org; Thu, 05 Mar 2009 13:10:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfI19-0001zb-W4 for avr-chat@nongnu.org; Thu, 05 Mar 2009 13:10:03 -0500 Received: from [199.232.76.173] (port=52576 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfI19-0001zM-PH for avr-chat@nongnu.org; Thu, 05 Mar 2009 13:09:59 -0500 Received: from smtp3.tech.numericable.fr ([82.216.111.39]:34796) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfI19-0006VG-1H for avr-chat@nongnu.org; Thu, 05 Mar 2009 13:09:59 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp3.tech.numericable.fr (Postfix) with SMTP id 0A6253E433 for ; Thu, 5 Mar 2009 19:09:54 +0100 (CET) Date: Thu, 5 Mar 2009 19:09:53 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] AVR and Hardware For Reading Automotive On-BoardDiagnostics Connector? Message-Id: <20090305190953.86254728.vincent.trouilliez@modulonet.fr> In-Reply-To: <014801c99d8c$a877de20$6500a8c0@GrahamsInspiron> References: <49AF2A4F.5060308@speakeasy.net> <20090305031547.66ed1dbc.vincent.trouilliez@modulonet.fr> <00fe01c99d3d$20d49b60$6500a8c0@GrahamsInspiron> <20090305061936.a5181092.vincent.trouilliez@modulonet.fr> <014801c99d8c$a877de20$6500a8c0@GrahamsInspiron> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 18:10:08 -0000 On Thu, 05 Mar 2009 07:12:22 -0500 "Graham Davies" wrote: > Vincent Trouilliez > > It's even rarer when it's an american > > who manages to spell it correctly ... > > Ah, well, although I live in the US and am married to an American, I was > born and grew up in England. Ah.... that does explain a tihng or two ;-) > This is probably why I insist on trying to > "level the playing field" and offer my products to overseas customers at the > lowest shipping cost I can manage, even though it takes five times as long > to prepare a package for international shipping as compared to domestic, > what with the customs form and attaching the invoice to the outside in a > pouch. Thanks for your support, keep it up !! :-) -- Vince From MAILER-DAEMON Thu Mar 05 13:52:17 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LfIg5-0007rF-Dz for mharc-avr-chat@gnu.org; Thu, 05 Mar 2009 13:52:17 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfIg1-0007oW-Gc for avr-chat@nongnu.org; Thu, 05 Mar 2009 13:52:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfIfz-0007nI-Qv for avr-chat@nongnu.org; Thu, 05 Mar 2009 13:52:12 -0500 Received: from [199.232.76.173] (port=43143 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfIfz-0007n5-75 for avr-chat@nongnu.org; Thu, 05 Mar 2009 13:52:11 -0500 Received: from smtp6.tech.numericable.fr ([82.216.111.42]:59728) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfIfy-0003XT-Ip for avr-chat@nongnu.org; Thu, 05 Mar 2009 13:52:10 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp6.tech.numericable.fr (Postfix) with SMTP id 8188F144025 for ; Thu, 5 Mar 2009 19:52:09 +0100 (CET) Date: Thu, 5 Mar 2009 19:52:08 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [Fwd: Re: [avr-chat] AVR and Hardware For Reading Automotive On-Board Diagnostics Connector?] Message-Id: <20090305195208.418a9717.vincent.trouilliez@modulonet.fr> In-Reply-To: <49AFB8F3.1060400@speakeasy.net> References: <49AF422B.8080908@speakeasy.net> <20090305052523.5481565e.vincent.trouilliez@modulonet.fr> <49AFB8F3.1060400@speakeasy.net> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 18:52:15 -0000 On Thu, 05 Mar 2009 06:35:15 -0500 Robert L Cochran wrote: > Thanks for the photos, they are very much appreciated. I'm so curious to > see your project specifically and get a sense of how you European folks > do electronics projects more generally. > I'm surprised the LCD displays and some labels are in English instead of your native language. > If you changed them to English just for me -- thank you very much for the > courtesy since I don't know much French or German. I didn't chang ethe strings, it's jsut that for anything technical, English is more practical. All the datasheet are in English, you need English to get technical support from companies or from international mailing lists of all kinds, so doing everyting in English is just natural. Plus, the Esprit is a British car, so 99.9 of the people I know who have one, are in an Enlish speaking country, and those who are not... well since we are all gathered on the British mailing list, we all must speka English anyway. So it only makes sense to sue English strings for my reader, 'cause when I get to show it to toehr Esprit fans.. none of them is French ! Also, there is this on-going problem that a one line English sentence translates into for 4 lines in French ! So the English language is ideal to describe things with very few words and characters, which is ideal when using text LCD's which have very limited space ! > The scope looks like a Tektronix clone but I can't quite read the brand or model. A TEk clone ?! lol ! ;-) It's hardly a clone. It's an old Hameg, and Hameg have always had a looks of their own. Model is "HM 604", it's an analog 2x60MHz wih delayed time base and numerous triggering options. Sadly I don't find it very practical for embedded work, plus it seem sto behave strangely sometimes, so I am would like to replace it, when money allows. I ma dreaming of an old Tektronix DSO, the 2430/A: http://www.valuetronics.com/Details.aspx?Model=Tektronix_2430A&ProdID=6999 But despite the fact that they are very old, 10 years or so, used ones still cost significant money for an hobbyst like me. Next year maybe... > The function generator has English labels - very interesting. What do you mean ? As I said, with anything technical, espcially non-consumers items, most products always have english labels. I can't recall seeing an instrument that didn't have English labels anyway. Even modern digital scope who let you select the language for their on-screen menus, still use English lables on their fascia. > Tektronix 454A which is old but don't understand how to use it Yes it's old indeed, but all scopes are the same ! The basic features are always the same. My Dad, when he was young in the early 1960's, bought his oscilloscope in kit form.. it was all made of tubes ! Still, all the controls and features were exactly the same as any more modern scope... It's like cars, they evolve a bit, but decades after decades, they still have 4 wheels, and engine and steering wheel at the end of the day ! ;-) > Also a function generator that is brand new and still in its original shipping > bag. I very much need a new function generator, mine is really on it's last leg ! Unfortunately the models I fancy cost around 400/500 Euros and I lost my job last month so it's gonna have to wait, just like the Tek scope ! > I need a class on how to use an oscilloscope. I am sure there is plenty of on-line resources for hobbysts. You could also spend a little money and buy a printed book on the subject, it exists.. > I worked with matrix keypads briefly at one time. Ron Hackett had > published an article discussing how to use one for a Picaxe project, "Published an article", wow, sounds like overkill for a keypad ! I simply downloaded a brief Application note from Atmel, to get some inspiration, and 20 lines of code later it was working... they aren't rocket science ;-) Just look at the numerous application notes Atmel published for the AVR, and search for those that make use of a keypad, or whatever you need to use. I found that the AVR232 was useful. Got me going anyway. -- Vince From MAILER-DAEMON Thu Mar 05 14:25:57 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LfJCf-00011y-SA for mharc-avr-chat@gnu.org; Thu, 05 Mar 2009 14:25:57 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfJCe-00011p-49 for avr-chat@nongnu.org; Thu, 05 Mar 2009 14:25:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfJCc-00011Z-HC for avr-chat@nongnu.org; Thu, 05 Mar 2009 14:25:54 -0500 Received: from [199.232.76.173] (port=55510 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfJCc-00011V-Ah for avr-chat@nongnu.org; Thu, 05 Mar 2009 14:25:54 -0500 Received: from smtp7.tech.numericable.fr ([82.216.111.43]:51618) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfJCb-0007zL-V0 for avr-chat@nongnu.org; Thu, 05 Mar 2009 14:25:54 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp7.tech.numericable.fr (Postfix) with SMTP id DFDBB163820 for ; Thu, 5 Mar 2009 20:25:52 +0100 (CET) Date: Thu, 5 Mar 2009 20:25:51 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] cheap DIY programming cables: anything on USB ? Message-Id: <20090305202551.94500999.vincent.trouilliez@modulonet.fr> In-Reply-To: <07c301c994ed$f9affc70$6500a8c0@GrahamsInspiron> References: <20090222100515.d643e1ab.vincent.trouilliez@modulonet.fr> <07c301c994ed$f9affc70$6500a8c0@GrahamsInspiron> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 19:25:56 -0000 On Sun, 22 Feb 2009 08:02:09 -0500 "Graham Davies" wrote: > If this helps you out, I would be willing to buy your AVR Dragon here in the > US and ship it on to you. Both Digi-Key and Mouser have them in stock right > now at $49. I would ask for $9 shipping and handing for First Class Mail > International or $18 for Priority Mail International. However, I will fill > out the customs form accurately so you will still be liable for tax and/or > duty. For the fellows in Europe who might be interested getting a Dragon direct from the US via Graham who kindly offers the service, I have just received mine from him. - Cost: Cheap US list price of 49 inc VAT - Shipping 9$ 58 total which translates to only 45 Euros. As for the extra charges that apply to any imported goods, to my surprise I have not been asked for anything upon delivery, they simply put my Dragon in the mail box, I wasn't requested to sign nor pay anything... much to my surprise ! Maybe I will get sent the bill later by post, I don't know... -- Vince From MAILER-DAEMON Thu Mar 05 14:31:24 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LfJHw-0002YR-7f for mharc-avr-chat@gnu.org; Thu, 05 Mar 2009 14:31:24 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfJHt-0002Xv-PZ for avr-chat@nongnu.org; Thu, 05 Mar 2009 14:31:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfJHr-0002XI-Bt for avr-chat@nongnu.org; Thu, 05 Mar 2009 14:31:20 -0500 Received: from [199.232.76.173] (port=36220 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfJHr-0002XF-6n for avr-chat@nongnu.org; Thu, 05 Mar 2009 14:31:19 -0500 Received: from smtp1.tech.numericable.fr ([82.216.111.37]:41262) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfJHq-0000Eq-SJ for avr-chat@nongnu.org; Thu, 05 Mar 2009 14:31:19 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp1.tech.numericable.fr (Postfix) with SMTP id D9AD9E080D for ; Thu, 5 Mar 2009 20:31:17 +0100 (CET) Date: Thu, 5 Mar 2009 20:31:16 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] cheap DIY programming cables: anything on USB ? Message-Id: <20090305203116.52c59810.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090305202551.94500999.vincent.trouilliez@modulonet.fr> References: <20090222100515.d643e1ab.vincent.trouilliez@modulonet.fr> <07c301c994ed$f9affc70$6500a8c0@GrahamsInspiron> <20090305202551.94500999.vincent.trouilliez@modulonet.fr> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Mar 2009 19:31:22 -0000 On Thu, 5 Mar 2009 20:25:51 +0100 Vincent Trouilliez wrote: > - Cost: Cheap US list price of 49 inc VAT > - Shipping 9$ > > 58 total which translates to only 45 Euros. Oops forgot: delivery time was quick too, only 5 business days. -- Vince From MAILER-DAEMON Fri Mar 06 09:15:58 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LfaqE-0000u0-D7 for mharc-avr-chat@gnu.org; Fri, 06 Mar 2009 09:15:58 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LeuD5-00014h-8A for avr-chat@nongnu.org; Wed, 04 Mar 2009 11:44:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LeuD3-00013E-Mn for avr-chat@nongnu.org; Wed, 04 Mar 2009 11:44:42 -0500 Received: from [199.232.76.173] (port=58363 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LeuD3-000136-Gp for avr-chat@nongnu.org; Wed, 04 Mar 2009 11:44:41 -0500 Received: from nf-out-0910.google.com ([64.233.182.188]:4528) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LeuD2-0003Gd-OL for avr-chat@nongnu.org; Wed, 04 Mar 2009 11:44:41 -0500 Received: by nf-out-0910.google.com with SMTP id b11so523706nfh.12 for ; Wed, 04 Mar 2009 08:44:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=xvYOUivBjSzYLBg/GrpLXedRq+tt+ohB4gTiWZ+IsIk=; b=c5DmY1BZblJZdGMSnJErkGv5CV4JOmW36u+T/LUP++y7GHAtg/H/t7wQwbymsvA4Lr DjpsNsF8Xg0ao6u3SFZB1hGJPVOeC2YtXd2VmtwEmAW8V+lKi5rklmsXrrhOngUOXrmY CiW/8R3LS0bN0AIUN9+R1UoXupfHkjrSomjVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=QyPNYBoNQH0fjeMWrL59jDhAg52a/DCBCk7oPHuQ4EYraMOF8g+IecBtcyNXKVK4aR uyE/qPWJsA+tkODyaYdm95l5Aw59s5pHCM0xK2M3/FZIsX5TkEK4K3toliusL9fQVaxt Lc/cj7Eu4Z/tZ07NSQ2yffhXT9cA+3KxCC2IU= MIME-Version: 1.0 Received: by 10.216.7.83 with SMTP id 61mr31618weo.167.1236185076374; Wed, 04 Mar 2009 08:44:36 -0800 (PST) Date: Wed, 4 Mar 2009 17:44:36 +0100 Message-ID: From: Stephan Stamm To: avr-chat@nongnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Fri, 06 Mar 2009 09:15:56 -0500 Subject: [avr-chat] can with avrdude? X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2009 16:44:43 -0000 Hello! I am using a at90can128 and windows. I would like use some isp and iap as described in the bootloader_example '"gcc" CAN Boot Loader' from Atmel. (ftp://ftp.atmel-nantes.fr/atmel_CAN/Bootloader_package_including_libs/). I could stream the data to the mcu by flip (http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3886), but unfortunately my 'lawicel canusb' is not supported. Has someone a hint for me, how to do it by using avrdude? Kind Regards, Stephan From MAILER-DAEMON Fri Mar 06 16:33:38 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lfhfl-0002U5-Rs for mharc-avr-chat@gnu.org; Fri, 06 Mar 2009 16:33:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lfhfj-0002Tp-N6 for avr-chat@nongnu.org; Fri, 06 Mar 2009 16:33:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lfhfi-0002TX-9e for avr-chat@nongnu.org; Fri, 06 Mar 2009 16:33:35 -0500 Received: from [199.232.76.173] (port=58697 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lfhfi-0002TU-3Y for avr-chat@nongnu.org; Fri, 06 Mar 2009 16:33:34 -0500 Received: from mail.cs.tut.fi ([130.230.4.42]:44081) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lfhfh-000881-M9 for avr-chat@nongnu.org; Fri, 06 Mar 2009 16:33:33 -0500 Received: from amavis2.cs.tut.fi (amavis2.cs.tut.fi [130.230.4.70]) by mail.cs.tut.fi (Postfix) with ESMTP id A1F41B5BD for ; Fri, 6 Mar 2009 23:33:28 +0200 (EET) Received: from mail.cs.tut.fi ([130.230.4.42]) by amavis2.cs.tut.fi (amavis2.cs.tut.fi [130.230.4.70]) (amavisd-maia, port 10024) with ESMTP id 25407-12 for ; Fri, 6 Mar 2009 23:33:28 +0200 (EET) Received: from [192.168.11.4] (a91-156-180-233.elisa-laajakaista.fi [91.156.180.233]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.tut.fi (Postfix) with ESMTP id E666AB5BB for ; Fri, 6 Mar 2009 23:33:27 +0200 (EET) Message-ID: <49B196A7.606@tut.fi> Date: Fri, 06 Mar 2009 23:33:27 +0200 From: =?ISO-8859-1?Q?Pertti_Kellom=E4ki?= User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: avr-chat@nongnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.2 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) Subject: [avr-chat] AVRs with JTAG and without centre pad? X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 21:33:36 -0000 While waiting for my ICE-Cube to arrive, I looked at datasheets at Atmel's site. It seems that all the devices that have JTAG come in surface mount packages that have a centre pad underneath the package. Please tell me I missed some device ;-) Otherwise, I guess I need to learn to deal with the centre pad. I gather it is mainly a heat sink, so does placing some vias under the component and soldering from the other side work? My soldering skills are not really that extensive, so if anyone has good AVR specific advice, I'd be grateful. I have already perused the net for generic SMT soldering. -- Pertti From MAILER-DAEMON Fri Mar 06 16:38:04 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lfhk4-0006ef-28 for mharc-avr-chat@gnu.org; Fri, 06 Mar 2009 16:38:04 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lfhk2-0006bx-3X for avr-chat@nongnu.org; Fri, 06 Mar 2009 16:38:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lfhk0-0006ZY-EF for avr-chat@nongnu.org; Fri, 06 Mar 2009 16:38:01 -0500 Received: from [199.232.76.173] (port=59899 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lfhk0-0006ZM-7m for avr-chat@nongnu.org; Fri, 06 Mar 2009 16:38:00 -0500 Received: from mail-bw0-f171.google.com ([209.85.218.171]:51017) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lfhjz-0000By-Rf for avr-chat@nongnu.org; Fri, 06 Mar 2009 16:38:00 -0500 Received: by bwz19 with SMTP id 19so485557bwz.34 for ; Fri, 06 Mar 2009 13:37:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=O6i3e7fukExzDPBHKrTF+IZVyq1mgoxZm8c3L1y5XsA=; b=g09jB8jtXwXVPzLxZuEZkCrpT8LdVlqyNiZxt4ZGMGcIk2S4dAWeXVUR4NqqNJZZa+ +QLXJVfRQ2DEyYYsUjWiYh0Z7cInS/inVpKsq1ui6AjpmpmC9Zxs4OXCD7OwgCOZq/0M BAdXBGyRsNvf0WjU4g2OAfzt1vtVRxi86Us5k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=CgZrpJqwxX9U1AsNm3sUT0c/XrjqMRrjZKYGk4q5XCvo+ZU6ycaPp/ZDboeouyXkzG +HtC5DoAsNwp2EIB4f4WKCiYDfypxaQ4PemiBzBGx5nTcY5CWGbhe4KjB+6Z9bJko9yp X8YpY2Hxn9Yo3eXnOFGNyG4iitZAkCop4pRn8= MIME-Version: 1.0 Received: by 10.223.118.6 with SMTP id t6mr2438905faq.79.1236375477208; Fri, 06 Mar 2009 13:37:57 -0800 (PST) In-Reply-To: <49B196A7.606@tut.fi> References: <49B196A7.606@tut.fi> Date: Fri, 6 Mar 2009 16:37:57 -0500 Message-ID: <25b178740903061337y10c07813y10c9a0a21fd2c6e4@mail.gmail.com> Subject: Re: [avr-chat] AVRs with JTAG and without centre pad? From: David VanHorn To: =?ISO-8859-1?Q?Pertti_Kellom=E4ki?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: avr-chat@nongnu.org X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 21:38:02 -0000 On Fri, Mar 6, 2009 at 4:33 PM, Pertti Kellom=E4ki wrote: > While waiting for my ICE-Cube to arrive, I looked at datasheets > at Atmel's site. It seems that all the devices that have JTAG > come in surface mount packages that have a centre pad underneath > the package. Please tell me I missed some device ;-) I'm not quite sure what you're asking. Plenty of the devices with Jtag are available in DIP, and other SMD package= s. The mega-128 is available in an SMD without center pad. From MAILER-DAEMON Fri Mar 06 16:57:21 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lfi2j-0005f2-D0 for mharc-avr-chat@gnu.org; Fri, 06 Mar 2009 16:57:21 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lfi2h-0005do-3u for avr-chat@nongnu.org; Fri, 06 Mar 2009 16:57:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lfi2g-0005dX-6H for avr-chat@nongnu.org; Fri, 06 Mar 2009 16:57:18 -0500 Received: from [199.232.76.173] (port=44923 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lfi2g-0005dS-0B for avr-chat@nongnu.org; Fri, 06 Mar 2009 16:57:18 -0500 Received: from smtp7.tech.numericable.fr ([82.216.111.43]:33078) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lfi2f-0002WD-Ib for avr-chat@nongnu.org; Fri, 06 Mar 2009 16:57:17 -0500 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp7.tech.numericable.fr (Postfix) with SMTP id 731CD16380E for ; Fri, 6 Mar 2009 22:57:14 +0100 (CET) Date: Fri, 6 Mar 2009 22:57:13 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] AVRs with JTAG and without centre pad? Message-Id: <20090306225713.712bc25b.vincent.trouilliez@modulonet.fr> In-Reply-To: <49B196A7.606@tut.fi> References: <49B196A7.606@tut.fi> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 21:57:19 -0000 On Fri, 06 Mar 2009 23:33:27 +0200 Pertti Kellom=E4ki wrote: > ... I looked at datasheets > at Atmel's site. It seems that all the devices that have JTAG > come in surface mount packages=20 JTAG is not bound to a particular package type. I use an Atmega32 in a DIP40 package and it does have JTAG. You can even even get more powerful chips like the ATmega1284P which of course have JTAG and are still available in DIP packages. -- Vince From MAILER-DAEMON Fri Mar 06 17:09:08 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LfiE8-0005a0-15 for mharc-avr-chat@gnu.org; Fri, 06 Mar 2009 17:09:08 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfiE5-0005Wi-S6 for avr-chat@nongnu.org; Fri, 06 Mar 2009 17:09:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfiE4-0005Tk-6J for avr-chat@nongnu.org; Fri, 06 Mar 2009 17:09:05 -0500 Received: from [199.232.76.173] (port=51561 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfiE3-0005TQ-V1 for avr-chat@nongnu.org; Fri, 06 Mar 2009 17:09:03 -0500 Received: from vms173001pub.verizon.net ([206.46.173.1]:23014) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfiE3-0004KW-K1 for avr-chat@nongnu.org; Fri, 06 Mar 2009 17:09:03 -0500 Received: from GrahamsInspiron ([98.118.86.11]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KG3007OJUU8BBPH@vms173001.mailsrvcs.net> for avr-chat@nongnu.org; Fri, 06 Mar 2009 16:08:39 -0600 (CST) Date: Fri, 06 Mar 2009 17:08:28 -0500 From: "Graham Davies" Subject: Re: [avr-chat] AVRs with JTAG and without centre pad? To: Message-id: <02c701c99ea8$17dccb10$6500a8c0@GrahamsInspiron> Organization: Ecros Technology MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Mailer: Microsoft Outlook Express 6.00.2900.3138 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response Content-transfer-encoding: QUOTED-PRINTABLE X-Priority: 3 X-MSMail-priority: Normal References: <49B196A7.606@tut.fi> X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 22:09:06 -0000 Pertti Kellom=E4ki wrote: > While waiting for my ICE-Cube to arrive, I looked at datasheets > at Atmel's site. It seems that all the devices that have JTAG > come in surface mount packages that have a centre pad underneath > the package. Please tell me I missed some device ;-) The AVR ICE-Cube is a "clone" of the Atmel JTAG ICE (Mk I) so you mus= t be=20 careful to pick a device that is supported by that. Here are some ex= amples: ATmega16(L/A) (16 Kbytes Flash) 40 pin DIP and 44 pin TQFP ATmega162 (two serial ports) 40 pin DIP and 44 pin TQFP ATmega32(L/A) (32 Kbytes Flash) 40 pin DIP and 44 pin TQFP ATmega64(L) (64 Kbytes Flash, 2 serial ports) 64 pin TQFP ATmega128(L) (128 Kbytes Flash, 2 serial ports) 64 pin TQFP Graham. From MAILER-DAEMON Fri Mar 06 18:03:46 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lfj50-000575-6m for mharc-avr-chat@gnu.org; Fri, 06 Mar 2009 18:03:46 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lfj4y-00056u-W5 for avr-chat@nongnu.org; Fri, 06 Mar 2009 18:03:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lfj4x-00056i-JC for avr-chat@nongnu.org; Fri, 06 Mar 2009 18:03:44 -0500 Received: from [199.232.76.173] (port=38794 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lfj4x-00056c-FH for avr-chat@nongnu.org; Fri, 06 Mar 2009 18:03:43 -0500 Received: from uriah.heep.sax.de ([213.240.137.9]:65237) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lfj4w-0001Wn-Nj for avr-chat@nongnu.org; Fri, 06 Mar 2009 18:03:43 -0500 Received: by uriah.heep.sax.de (Postfix, from userid 107) id EB2B351; Sat, 7 Mar 2009 00:03:39 +0100 (MET) Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <49B196A7.606@tut.fi> In-Reply-To: <49B196A7.606@tut.fi> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: [avr-chat] AVRs with JTAG and without centre pad? X-Original-Newsgroups: local.avr.chat To: avr-chat@nongnu.org Content-Type: text/plain; charset=iso-8859-1 Message-Id: <20090306230339.EB2B351@uriah.heep.sax.de> Date: Sat, 7 Mar 2009 00:03:39 +0100 (MET) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 23:03:45 -0000 Pertti Kellom=E4ki wrote: > Otherwise, I guess I need to learn to deal with the centre pad. > I gather it is mainly a heat sink, so does placing some vias > under the component and soldering from the other side work? It's only present on the smallest packages available. On those packages, it's merely a mechanical fixture rather than a heat sink, because the standard pads on those small packages cannot take up too much mechanical force. Unless you're really that space constrained so you need MLF packages, just go ahead with a plenty of TQFP-packaged AVRs, or even DIP monsters if you prefer. ;-) --=20 cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From MAILER-DAEMON Sat Mar 07 08:34:43 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lfwfq-0005jP-8B for mharc-avr-chat@gnu.org; Sat, 07 Mar 2009 08:34:42 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lfwfm-0005iM-9n for avr-chat@nongnu.org; Sat, 07 Mar 2009 08:34:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lfwfj-0005hd-7P for avr-chat@nongnu.org; Sat, 07 Mar 2009 08:34:36 -0500 Received: from [199.232.76.173] (port=42698 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lfwfi-0005hP-D4 for avr-chat@nongnu.org; Sat, 07 Mar 2009 08:34:34 -0500 Received: from mail.cs.tut.fi ([130.230.4.42]:34798) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lfwfi-0007JE-1c for avr-chat@nongnu.org; Sat, 07 Mar 2009 08:34:34 -0500 Received: from amavis1.cs.tut.fi (amavis1.cs.tut.fi [130.230.4.69]) by mail.cs.tut.fi (Postfix) with ESMTP id 35551E9AF for ; Sat, 7 Mar 2009 15:34:32 +0200 (EET) Received: from mail.cs.tut.fi ([130.230.4.42]) by amavis1.cs.tut.fi (amavis1.cs.tut.fi [130.230.4.69]) (amavisd-maia, port 10024) with ESMTP id 27319-38 for ; Sat, 7 Mar 2009 15:34:31 +0200 (EET) Received: from [192.168.11.4] (a91-156-180-233.elisa-laajakaista.fi [91.156.180.233]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.tut.fi (Postfix) with ESMTP id 7558BE9AE for ; Sat, 7 Mar 2009 15:34:31 +0200 (EET) Message-ID: <49B277E6.7090200@tut.fi> Date: Sat, 07 Mar 2009 15:34:30 +0200 From: =?ISO-8859-1?Q?Pertti_Kellom=E4ki?= User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: avr-chat@nongnu.org Subject: Re: [avr-chat] AVRs with JTAG and without centre pad? References: <49B196A7.606@tut.fi> <20090306230339.EB2B351@uriah.heep.sax.de> In-Reply-To: <20090306230339.EB2B351@uriah.heep.sax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.2 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2009 13:34:39 -0000 Joerg Wunsch wrote: > Pertti Kellom=E4ki wrote: >> Otherwise, I guess I need to learn to deal with the centre pad. >> I gather it is mainly a heat sink, so does placing some vias >> under the component and soldering from the other side work? >=20 > It's only present on the smallest packages available.=20 Ok, thanks. Seems I was confused by the pinouts in Atmel's datasheets. For example, the ATmega32A gives a single pinout for TQFP/MLF, with a note saying "Bottompad should be soldered to ground", which lead me to think that there is a centre pad on both packages. The ATmega128 datasheet is more explicit: "The Pinout figure applies to both TQFP and MLF packages. The bottom pad under the QFN/MLF package should be soldered to ground." Sorry for the confusion. The last time I did anything more serious in electronics was in the 1980's, so I am still finding my way around SMT components. --=20 Pertti From MAILER-DAEMON Sun Mar 08 04:41:21 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LgEZV-00060a-Cu for mharc-avr-chat@gnu.org; Sun, 08 Mar 2009 04:41:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgEZT-00060V-NN for avr-chat@nongnu.org; Sun, 08 Mar 2009 04:41:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgEZT-00060J-5B for avr-chat@nongnu.org; Sun, 08 Mar 2009 04:41:19 -0400 Received: from [199.232.76.173] (port=33455 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgEZT-00060G-01 for avr-chat@nongnu.org; Sun, 08 Mar 2009 04:41:19 -0400 Received: from mail-fx0-f175.google.com ([209.85.220.175]:34577) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LgEZS-0005CA-LY for avr-chat@nongnu.org; Sun, 08 Mar 2009 04:41:18 -0400 Received: by fxm23 with SMTP id 23so1021061fxm.34 for ; Sun, 08 Mar 2009 00:41:16 -0800 (PST) MIME-Version: 1.0 Received: by 10.181.141.7 with SMTP id t7mr1536185bkn.10.1236501676510; Sun, 08 Mar 2009 00:41:16 -0800 (PST) Date: Sun, 8 Mar 2009 10:41:16 +0200 Message-ID: <26d57bbb0903080041l6a3bd3dai8637e54f3c289669@mail.gmail.com> From: Ori Idan To: avr-chat Content-Type: multipart/alternative; boundary=001485f7cbf03158550464977b13 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [avr-chat] HTTP using ATmega X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2009 08:41:19 -0000 --001485f7cbf03158550464977b13 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I have to build a system with management done using a web browser. The system should be as small as possible. I thought about using ATmega (haven't decided yet which model) and a serial to TCP/IP chip. Does anyone know of a software package for AVR that implements the HTTP protocol? Or better, a serial to TCP/IP chip that I can use and transmit HTML pages and receive HTML forms. -- Ori Idan --001485f7cbf03158550464977b13 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
I have to build a system with management done using a web browser.
The system should be as small as possible.
I thought about using ATmega (haven't decided yet which model) and a serial to TCP/IP chip.
Does anyone know of a software package for AVR that implements the HTTP protocol?
Or better, a serial to TCP/IP chip that I can use and transmit HTML pages and receive HTML forms.

--
Ori Idan

--001485f7cbf03158550464977b13-- From MAILER-DAEMON Sun Mar 08 05:43:42 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LgFXq-0002t4-4J for mharc-avr-chat@gnu.org; Sun, 08 Mar 2009 05:43:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgFXo-0002rJ-5U for avr-chat@nongnu.org; Sun, 08 Mar 2009 05:43:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgFXl-0002pG-US for avr-chat@nongnu.org; Sun, 08 Mar 2009 05:43:39 -0400 Received: from [199.232.76.173] (port=60854 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgFXl-0002p7-HK for avr-chat@nongnu.org; Sun, 08 Mar 2009 05:43:37 -0400 Received: from an-out-0708.google.com ([209.85.132.240]:55493) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LgFXl-0002kD-6m for avr-chat@nongnu.org; Sun, 08 Mar 2009 05:43:37 -0400 Received: by an-out-0708.google.com with SMTP id b6so568173ana.37 for ; Sun, 08 Mar 2009 01:43:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vfgYJGNqvw/kPDSFU/eZgCQ5lhzjZ+citTdeDzdAGHM=; b=eQHMr9+ruZX/hIkLrR7gskhy0JXi9oAW4aX2vqjrJxlmvGqc7v/uep0fHMlOWme+e0 1sZAT5GPSnZqpiARw8bIyN8HjKJRKwUbELl3KaldDULb1Jm1HSaP6iV17F7QT2I2NIQl nM++sbzy4T7UgGI3tcLBsKcdZVij+d2dwBtuQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Yh7S3veePgtb+UUdIGb3iolRmd0RB4JvYgUOe57dxM+LUM5fARoQIKawRInWlrhQI0 6r8NgjW6jbNySX4Vi9TNU27NmaIXx2bJhRSVv2LYVA402aZXf21k9HNdJaWo96Tkm9h5 h4yPLZTctDEF1pRLMjzj1KitQpZAJwFvJtsjA= MIME-Version: 1.0 Received: by 10.231.14.196 with SMTP id h4mr1173436iba.36.1236505414648; Sun, 08 Mar 2009 01:43:34 -0800 (PST) In-Reply-To: <26d57bbb0903080041l6a3bd3dai8637e54f3c289669@mail.gmail.com> References: <26d57bbb0903080041l6a3bd3dai8637e54f3c289669@mail.gmail.com> Date: Sun, 8 Mar 2009 17:43:34 +0800 Message-ID: Subject: Re: [avr-chat] HTTP using ATmega From: Atommann To: Ori Idan Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: avr-chat X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2009 09:43:40 -0000 Dear Ori, > I have to build a system with management done using a web browser. > The system should be as small as possible. > I thought about using ATmega (haven't decided yet which model) and a serial > to TCP/IP chip. > Does anyone know of a software package for AVR that implements the HTTP > protocol? Guido Socher did some very good projects on this, the source code is open. See his website please, http://www.tuxgraphics.org/electronics/ I redrawed the PCB using gEDA, some photoes: http://atommann.googlepages.com/avr_web_server > Or better, a serial to TCP/IP chip that I can use and transmit HTML pages > and receive HTML forms. You can try the ENC28J60 from Microchip. Kindest regards, Atommann From MAILER-DAEMON Sun Mar 08 05:46:36 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LgFae-00054C-RQ for mharc-avr-chat@gnu.org; Sun, 08 Mar 2009 05:46:36 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgFac-00052x-Iw for avr-chat@nongnu.org; Sun, 08 Mar 2009 05:46:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgFaa-00051O-Q3 for avr-chat@nongnu.org; Sun, 08 Mar 2009 05:46:33 -0400 Received: from [199.232.76.173] (port=34302 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgFaa-00051H-I2 for avr-chat@nongnu.org; Sun, 08 Mar 2009 05:46:32 -0400 Received: from cain.gsoft.com.au ([203.31.81.10]:57044) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LgFaZ-0002zf-K2 for avr-chat@nongnu.org; Sun, 08 Mar 2009 05:46:32 -0400 Received: from inchoate.localnet (ppp121-45-190-168.lns11.adl2.internode.on.net [121.45.190.168]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n289kAvt097687 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 8 Mar 2009 20:16:12 +1030 (CST) (envelope-from darius@dons.net.au) From: "Daniel O'Connor" To: avr-chat@nongnu.org Subject: Re: [avr-chat] HTTP using ATmega Date: Sun, 8 Mar 2009 20:15:59 +1030 User-Agent: KMail/1.10.4 (Linux/2.6.27-11-generic; KDE/4.1.4; i686; ; ) References: <26d57bbb0903080041l6a3bd3dai8637e54f3c289669@mail.gmail.com> In-Reply-To: <26d57bbb0903080041l6a3bd3dai8637e54f3c289669@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6689853.XiNsENzagT"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200903082016.06691.darius@dons.net.au> X-Spam-Score: -2.212 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2009 09:46:34 -0000 --nextPart6689853.XiNsENzagT Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 08 March 2009 19:11:16 Ori Idan wrote: > I have to build a system with management done using a web browser. > The system should be as small as possible. > I thought about using ATmega (haven't decided yet which model) and a seri= al > to TCP/IP chip. > Does anyone know of a software package for AVR that implements the HTTP > protocol? > Or better, a serial to TCP/IP chip that I can use and transmit HTML pages > and receive HTML forms. You could try here.. http://www.sics.se/~adam/uip/index.php/Ports I've never used it myself though. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart6689853.XiNsENzagT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBJs5PY5ZPcIHs/zowRAqQUAJwLmTF/T2N+Dagz+2F93fVVnRGzuACggDCx 2Qt3I4ylqoweHuSFWy6WX+4= =W2iG -----END PGP SIGNATURE----- --nextPart6689853.XiNsENzagT-- From MAILER-DAEMON Mon Mar 09 16:54:14 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LgmUI-000322-2u for mharc-avr-chat@gnu.org; Mon, 09 Mar 2009 16:54:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgmUF-00030N-FE for avr-chat@nongnu.org; Mon, 09 Mar 2009 16:54:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgmUD-0002yP-M8 for avr-chat@nongnu.org; Mon, 09 Mar 2009 16:54:10 -0400 Received: from [199.232.76.173] (port=41259 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgmUD-0002y9-07 for avr-chat@nongnu.org; Mon, 09 Mar 2009 16:54:09 -0400 Received: from mx20.gnu.org ([199.232.41.8]:2755) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lglpb-0007UP-9l for avr-chat@nongnu.org; Mon, 09 Mar 2009 16:12:11 -0400 Received: from gw.kuantic.com ([213.244.28.44]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LgbCd-00008k-61 for avr-chat@nongnu.org; Mon, 09 Mar 2009 04:51:15 -0400 Received: from [10.0.0.4] (pcbernard.kuantic.com [10.0.0.4]) by gw.kuantic.com (8.14.2/8.14.1) with ESMTP id n298nBIQ026943; Mon, 9 Mar 2009 09:49:11 +0100 Message-ID: <49B4D806.2040107@kuantic.com> Date: Mon, 09 Mar 2009 09:49:10 +0100 From: =?ISO-8859-1?Q?Bernard_Fouch=E9?= Organization: Kuantic User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Ori Idan Subject: Re: [avr-chat] HTTP using ATmega References: <26d57bbb0903080041l6a3bd3dai8637e54f3c289669@mail.gmail.com> In-Reply-To: <26d57bbb0903080041l6a3bd3dai8637e54f3c289669@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (gw.kuantic.com [213.244.28.44]); Mon, 09 Mar 2009 09:49:11 +0100 (CET) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: avr-chat X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2009 20:54:11 -0000 Ori Idan wrote: > I have to build a system with management done using a web browser. > The system should be as small as possible. > I thought about using ATmega (haven't decided yet which model) and a > serial to TCP/IP chip. > Does anyone know of a software package for AVR that implements the > HTTP protocol? Have a look at http://www.ethernut.de : the target has an Atmega128, additional RAM, an Ethernet controller and runs Nut/OS (multi threads, Open Source). Nut/OS supports HTTP, there is a basic web server application provided with it. The schematic of the board is available online, newer releases of the board use an Atmel chip with an AMR7 or ARM9 core. From MAILER-DAEMON Tue Mar 10 07:01:36 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LgziK-0006OT-C0 for mharc-avr-chat@gnu.org; Tue, 10 Mar 2009 07:01:36 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgziH-0006Nk-HM for avr-chat@nongnu.org; Tue, 10 Mar 2009 07:01:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgziF-0006NJ-CX for avr-chat@nongnu.org; Tue, 10 Mar 2009 07:01:31 -0400 Received: from [199.232.76.173] (port=46064 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgziF-0006NG-AK for avr-chat@nongnu.org; Tue, 10 Mar 2009 07:01:31 -0400 Received: from smtp5.tech.numericable.fr ([82.216.111.41]:57975) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LgziE-0006H2-RL for avr-chat@nongnu.org; Tue, 10 Mar 2009 07:01:31 -0400 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp5.tech.numericable.fr (Postfix) with SMTP id 4E788124028 for ; Tue, 10 Mar 2009 12:01:19 +0100 (CET) Date: Tue, 10 Mar 2009 12:01:18 +0100 From: Vincent Trouilliez To: "avr-chat@nongnu.org" Message-Id: <20090310120118.aa65d57a.vincent.trouilliez@modulonet.fr> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: [avr-chat] Avrdude fails to connect to my Dragon... X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2009 11:01:34 -0000 Hi people, So far I have been using avrdude succesfully with my crappy DIY parallel cable, using ISP. I have recently got a lovely little Dragon (a marron one not green, but still useful ! ;-). I did nothing particular but plug it on my computer, and apparently Linux picked it up no problem, as far as I can understand: ************ $ lsusb Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 004: ID 03eb:2107 Atmel Corp. AVR Dragon Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub *********** However when I modified my usual avrdude command line to suit, by replacing -c bsd by -c dragon_isp, I got that in return: avrdude: ser_open(): can't set attributes for device "/dev/parport0": Inappropriate ioctl for device I clearly specified to use the dragon not the parallel port cable anymore (and I don't have any avrduderc file that might override that), so I don't understand why it's still talking/complaining about the parallel port.... Any clue ? Yes, I am very frustrated not to be able to enjoy this lovely Dragon that's so much cuter than my old crappy DIY cable ! ;-) Regards, -- Vince From MAILER-DAEMON Tue Mar 10 07:08:06 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lgzoc-0003LB-N4 for mharc-avr-chat@gnu.org; Tue, 10 Mar 2009 07:08:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lgzoa-0003Kx-VS for avr-chat@nongnu.org; Tue, 10 Mar 2009 07:08:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lgzoa-0003Kk-4E for avr-chat@nongnu.org; Tue, 10 Mar 2009 07:08:04 -0400 Received: from [199.232.76.173] (port=39200 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lgzoa-0003Kh-1D for avr-chat@nongnu.org; Tue, 10 Mar 2009 07:08:04 -0400 Received: from li10-194.members.linode.com ([70.85.16.194]:42935 helo=www.tty1.net) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LgzoZ-0006uk-MO for avr-chat@nongnu.org; Tue, 10 Mar 2009 07:08:03 -0400 Received: from www-data by www.tty1.net with local (Exim 4.69) (envelope-from ) id 1LgzoV-00086c-TF for avr-chat@nongnu.org; Tue, 10 Mar 2009 07:08:00 -0400 Received: from 193.34.186.17 (SquirrelMail authenticated user thomas) by www.tty1.net with HTTP; Tue, 10 Mar 2009 11:08:00 -0000 (GMT) Message-ID: <2bf709e1151ee2c33cb795fad05cb8a8.squirrel@www.tty1.net> In-Reply-To: <20090310120118.aa65d57a.vincent.trouilliez@modulonet.fr> References: <20090310120118.aa65d57a.vincent.trouilliez@modulonet.fr> Date: Tue, 10 Mar 2009 11:08:00 -0000 (GMT) Subject: Re: [avr-chat] Avrdude fails to connect to my Dragon... From: "Thomas Pircher" To: avr-chat@nongnu.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2009 11:08:05 -0000 Vincent Trouilliez wrote: > I clearly specified to use the dragon not the parallel port cable > anymore (and I don't have any avrduderc file that might override that), > so I don't understand why it's still talking/complaining about the > parallel port.... Have you tried the -P usb option? My command to use the dragon (JTAG) looks like this: avrdude -p $MCU -P usb -c dragon_jtag -U flash:w:$HEXFILE Thomas From MAILER-DAEMON Tue Mar 10 07:21:00 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lh016-0002KS-2H for mharc-avr-chat@gnu.org; Tue, 10 Mar 2009 07:21:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lh014-0002K3-3N for avr-chat@nongnu.org; Tue, 10 Mar 2009 07:20:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lh013-0002Iz-E0 for avr-chat@nongnu.org; Tue, 10 Mar 2009 07:20:57 -0400 Received: from [199.232.76.173] (port=52086 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lh013-0002If-6Y for avr-chat@nongnu.org; Tue, 10 Mar 2009 07:20:57 -0400 Received: from smtp2.tech.numericable.fr ([82.216.111.38]:51254) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lh012-0008Ch-Q0 for avr-chat@nongnu.org; Tue, 10 Mar 2009 07:20:57 -0400 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp2.tech.numericable.fr (Postfix) with SMTP id A251518D828 for ; Tue, 10 Mar 2009 12:20:55 +0100 (CET) Date: Tue, 10 Mar 2009 12:20:55 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] Avrdude fails to connect to my Dragon... Message-Id: <20090310122055.54e30b50.vincent.trouilliez@modulonet.fr> In-Reply-To: <2bf709e1151ee2c33cb795fad05cb8a8.squirrel@www.tty1.net> References: <20090310120118.aa65d57a.vincent.trouilliez@modulonet.fr> <2bf709e1151ee2c33cb795fad05cb8a8.squirrel@www.tty1.net> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2009 11:20:58 -0000 > Have you tried the -P usb option? > My command to use the dragon (JTAG) looks like this: > > avrdude -p $MCU -P usb -c dragon_jtag -U flash:w:$HEXFILE > > Thomas Oh, thanks Thomas, that did it ! :-) Avrdude has now successfully connected to teh target, yeepee... I was a bit scared at first, because the Dragon took 3 long seconds to respond (feared it was dead then, for an instant ! ;-), when my DIY parallel cable was instantaneous. I am also disappointed with the download speed, it's a bit slower than my DIY cable somehow, which was already very slow :-( At first sight, the Dragon achieves only 2KB/s :-/ -- Vince From MAILER-DAEMON Tue Mar 10 20:03:54 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LhBvO-0005ky-3v for mharc-avr-chat@gnu.org; Tue, 10 Mar 2009 20:03:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhBvN-0005kd-3t for avr-chat@nongnu.org; Tue, 10 Mar 2009 20:03:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhBvM-0005k6-8W for avr-chat@nongnu.org; Tue, 10 Mar 2009 20:03:52 -0400 Received: from [199.232.76.173] (port=33886 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhBvM-0005js-1c for avr-chat@nongnu.org; Tue, 10 Mar 2009 20:03:52 -0400 Received: from cain.gsoft.com.au ([203.31.81.10]:53288) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhBvL-00064v-0M for avr-chat@nongnu.org; Tue, 10 Mar 2009 20:03:51 -0400 Received: from inchoate.localnet (Inchoate.gsoft.com.au [203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n2B03LH6004983 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Mar 2009 10:33:27 +1030 (CST) (envelope-from darius@dons.net.au) From: "Daniel O'Connor" To: avr-chat@nongnu.org Subject: Re: [avr-chat] Avrdude fails to connect to my Dragon... Date: Wed, 11 Mar 2009 10:33:09 +1030 User-Agent: KMail/1.10.4 (Linux/2.6.27-11-generic; KDE/4.1.4; i686; ; ) References: <20090310120118.aa65d57a.vincent.trouilliez@modulonet.fr> <2bf709e1151ee2c33cb795fad05cb8a8.squirrel@www.tty1.net> <20090310122055.54e30b50.vincent.trouilliez@modulonet.fr> In-Reply-To: <20090310122055.54e30b50.vincent.trouilliez@modulonet.fr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1471563.VBUMFcuvZV"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200903111033.16352.darius@dons.net.au> X-Spam-Score: -3.977 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2009 00:03:53 -0000 --nextPart1471563.VBUMFcuvZV Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 10 March 2009 21:50:55 Vincent Trouilliez wrote: > I was a bit scared at first, because the Dragon took 3 long seconds > to respond (feared it was dead then, for an instant ! ;-), when my DIY > parallel cable was instantaneous. > I am also disappointed with the download speed, it's a bit slower than my > DIY cable somehow, which was already very slow :-( > At first sight, the Dragon achieves only 2KB/s :-/ Try the -B option, although for me it doesn't seem to make a big difference= =20 (although I need -B 10 to program a new part due to the fuse settings). =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1471563.VBUMFcuvZV Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBJtv++5ZPcIHs/zowRAiSnAJ0UI7i3EYQCueK1Lomsq+o8UxY4WwCaAnei uDQ/0e2BtO/r232EOEYNv30= =7MA3 -----END PGP SIGNATURE----- --nextPart1471563.VBUMFcuvZV-- From MAILER-DAEMON Wed Mar 11 01:12:47 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LhGkI-00074p-Vl for mharc-avr-chat@gnu.org; Wed, 11 Mar 2009 01:12:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhGkF-00072o-IM for avr-chat@nongnu.org; Wed, 11 Mar 2009 01:12:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhGkE-00071r-6q for avr-chat@nongnu.org; Wed, 11 Mar 2009 01:12:42 -0400 Received: from [199.232.76.173] (port=38123 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhGkD-00071h-V6 for avr-chat@nongnu.org; Wed, 11 Mar 2009 01:12:42 -0400 Received: from uriah.heep.sax.de ([213.240.137.9]:52929) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhGkD-000695-6z for avr-chat@nongnu.org; Wed, 11 Mar 2009 01:12:41 -0400 Received: by uriah.heep.sax.de (Postfix, from userid 107) id DBDA62F1; Wed, 11 Mar 2009 06:12:36 +0100 (MET) Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <20090310120118.aa65d57a.vincent.trouilliez@modulonet.fr> <2bf709e1151ee2c33cb795fad05cb8a8.squirrel@www.tty1.net> <20090310122055.54e30b50.vincent.trouilliez@modulonet.fr> <200903111033.16352.darius@dons.net.au> In-Reply-To: <200903111033.16352.darius@dons.net.au> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: [avr-chat] Avrdude fails to connect to my Dragon... X-Original-Newsgroups: local.avr.chat To: avr-chat@nongnu.org Content-Type: text/plain; charset=us-ascii Message-Id: <20090311051236.DBDA62F1@uriah.heep.sax.de> Date: Wed, 11 Mar 2009 06:12:36 +0100 (MET) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2009 05:12:44 -0000 "Daniel O'Connor" wrote: > Try the -B option, although for me it doesn't seem to make a big > difference (although I need -B 10 to program a new part due to > the fuse settings). I'm not sure how the Dragon behaves without -B. If it defaults to whatever value might be stored in EEPROM for the SCK period, it could be dog slow as shipped. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From MAILER-DAEMON Wed Mar 11 01:49:51 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LhHKB-0000lA-EY for mharc-avr-chat@gnu.org; Wed, 11 Mar 2009 01:49:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhHK8-0000j1-Eq for avr-chat@nongnu.org; Wed, 11 Mar 2009 01:49:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhHK6-0000h5-Fb for avr-chat@nongnu.org; Wed, 11 Mar 2009 01:49:47 -0400 Received: from [199.232.76.173] (port=60285 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhHK6-0000gl-4z for avr-chat@nongnu.org; Wed, 11 Mar 2009 01:49:46 -0400 Received: from cain.gsoft.com.au ([203.31.81.10]:55308) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhHK5-0008Nh-6L for avr-chat@nongnu.org; Wed, 11 Mar 2009 01:49:45 -0400 Received: from inchoate.localnet (Inchoate.gsoft.com.au [203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id n2B5ncQx021585 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Mar 2009 16:19:39 +1030 (CST) (envelope-from darius@dons.net.au) From: "Daniel O'Connor" To: avr-chat@nongnu.org, Joerg Wunsch Subject: Re: [avr-chat] Avrdude fails to connect to my Dragon... Date: Wed, 11 Mar 2009 16:19:28 +1030 User-Agent: KMail/1.10.4 (Linux/2.6.27-11-generic; KDE/4.1.4; i686; ; ) References: <20090310120118.aa65d57a.vincent.trouilliez@modulonet.fr> <200903111033.16352.darius@dons.net.au> <20090311051236.DBDA62F1@uriah.heep.sax.de> In-Reply-To: <20090311051236.DBDA62F1@uriah.heep.sax.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart9540251.NxSGFElIj7"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200903111619.36826.darius@dons.net.au> X-Spam-Score: -3.977 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2009 05:49:48 -0000 --nextPart9540251.NxSGFElIj7 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 11 March 2009 15:42:36 Joerg Wunsch wrote: > "Daniel O'Connor" wrote: > > Try the -B option, although for me it doesn't seem to make a big > > difference (although I need -B 10 to program a new part due to > > the fuse settings). > > I'm not sure how the Dragon behaves without -B. If it defaults > to whatever value might be stored in EEPROM for the SCK period, > it could be dog slow as shipped. Ahh OK. I ran time on a few different commands.. avrdude -U flash:w:sprink.hex -p m324p -c dragon_isp -q -P usb -B 0.7=20 0.08s user 0.04s system 1% cpu 10.774 total avrdude -U flash:w:sprink.hex -p m324p -c dragon_isp -q -P usb -B 2=20 0.05s user 0.02s system 0% cpu 11.487 total avrdude -U flash:w:sprink.hex -p m324p -c dragon_isp -q -P usb -B 10 =20 0.07s user 0.04s system 0% cpu 17.981 total (10k file) So it does make a difference but presumably the flash erasure is a fairly=20 dominating cost. I don't have a JTAG header on this board so I didn't test that. (I don't have a problem with 10 second programming cycles though :) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart9540251.NxSGFElIj7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBJt1Dq5ZPcIHs/zowRAnUkAJ9va4pHfHrERKBqiG/Mf0MefQ0NlACfc3rr q6XK2axvPAGPLoJY1qkDI9w= =kzWG -----END PGP SIGNATURE----- --nextPart9540251.NxSGFElIj7-- From MAILER-DAEMON Wed Mar 11 06:10:19 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LhLOF-00079G-5J for mharc-avr-chat@gnu.org; Wed, 11 Mar 2009 06:10:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhLOD-00078b-IE for avr-chat@nongnu.org; Wed, 11 Mar 2009 06:10:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhLOC-000782-Id for avr-chat@nongnu.org; Wed, 11 Mar 2009 06:10:16 -0400 Received: from [199.232.76.173] (port=34096 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhLOC-00077z-6w for avr-chat@nongnu.org; Wed, 11 Mar 2009 06:10:16 -0400 Received: from smtp7.tech.numericable.fr ([82.216.111.43]:60650) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhLOB-0006Eo-OX for avr-chat@nongnu.org; Wed, 11 Mar 2009 06:10:16 -0400 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp7.tech.numericable.fr (Postfix) with SMTP id 0519E163815 for ; Wed, 11 Mar 2009 11:10:11 +0100 (CET) Date: Wed, 11 Mar 2009 11:10:11 +0100 From: Vincent Trouilliez To: "avr-chat@nongnu.org" Subject: Re: [avr-chat] Avrdude fails to connect to my Dragon... Message-Id: <20090311111011.43e1c9d1.vincent.trouilliez@modulonet.fr> In-Reply-To: <200903111033.16352.darius@dons.net.au> References: <20090310120118.aa65d57a.vincent.trouilliez@modulonet.fr> <2bf709e1151ee2c33cb795fad05cb8a8.squirrel@www.tty1.net> <20090310122055.54e30b50.vincent.trouilliez@modulonet.fr> <200903111033.16352.darius@dons.net.au> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2009 10:10:18 -0000 On Wed, 11 Mar 2009 10:33:09 +1030 "Daniel O'Connor" wrote: > Try the -B option, although for me it doesn't seem to make a big difference > (although I need -B 10 to program a new part due to the fuse settings). Arf... it does make a difference here.. it makes it twice as slow with a value of 10, makes the communication fail with 0.1, and with 0.15, it makes it equally slow as it was with the DIY cable... 5 seconds for 10KB program. If the chip erase is indeed the dominating overall programming time, I suppose it's good news, 'cause the larger the program, the more the actual download speed will prevail. ... oh no... the above is wrong. I just uploaded a 32KB PDF file (an LCD controller datasheet.. dunno if my ATmega32 will make any sense of it lol ! ;-), and the average download speed is still 100% the same. Strange.. unless the chip erase was not a chip erase, and actually erases only as much Flash as the program uses. So the erase time is kinda proportional to the prgram size. Must be that because if the chip erase was erasing 100% of the chip then downloading this 32KB PDF should have taken much less time, proportionally, than it took to download my 10KB program. Grrr... -- Vince From MAILER-DAEMON Wed Mar 11 08:13:17 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LhNJF-0007Bt-1Y for mharc-avr-chat@gnu.org; Wed, 11 Mar 2009 08:13:17 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhNJC-0007A6-Op for avr-chat@nongnu.org; Wed, 11 Mar 2009 08:13:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhNJB-00078w-Qs for avr-chat@nongnu.org; Wed, 11 Mar 2009 08:13:14 -0400 Received: from [199.232.76.173] (port=48040 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhNJB-00078t-N4 for avr-chat@nongnu.org; Wed, 11 Mar 2009 08:13:13 -0400 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:64759) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhNJB-0004t8-Ff for avr-chat@nongnu.org; Wed, 11 Mar 2009 08:13:13 -0400 Received: from c-24-99-78-29.hsd1.ga.comcast.net ([24.99.78.29] helo=[192.168.113.99]) by mho-02-bos.mailhop.org with esmtpsa (TLSv1:DES-CBC3-SHA:168) (Exim 4.68) (envelope-from ) id 1LhNJ8-000PBe-N7; Wed, 11 Mar 2009 12:13:11 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 24.99.78.29 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18h9vwVdmMw3g0toTqjAZ2blU/3s1IxL4g= User-Agent: Microsoft-Entourage/11.4.0.080122 Date: Wed, 11 Mar 2009 08:12:37 -0400 Subject: Re: [avr-chat] Avrdude fails to connect to my Dragon... From: Preston Wilson To: Vincent Trouilliez , AVR-CHAT Message-ID: Thread-Topic: [avr-chat] Avrdude fails to connect to my Dragon... Thread-Index: AcmiQqqR6QMTnw41Ed6Q6gAWy5Djtg== In-Reply-To: <20090311111011.43e1c9d1.vincent.trouilliez@modulonet.fr> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) Cc: X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2009 12:13:15 -0000 "Vincent Trouilliez" wrote: > On Wed, 11 Mar 2009 10:33:09 +1030 > "Daniel O'Connor" wrote: > >> Try the -B option, although for me it doesn't seem to make a big difference >> (although I need -B 10 to program a new part due to the fuse settings). > > Arf... it does make a difference here.. it makes it twice as slow with > a value of 10, makes the communication fail with 0.1, and with 0.15, > ... The uC's frequency has to be at least 4x the frequency generated by the bit clock. A bit clock of 1 corresponds to 1 micro second, so that gives you 1MHz, and will work with uC's running at 4MHz or faster. To get the fastest bit clock value that should work, divide 4 by the frequency of the uC in MHz. E.g. If the uC is clocked at 16MHz try 0.25 and for 8MHz try 0.5. For a bit clock of 0.1 the uC would need a clock at 40MHz or faster, and for a bit clock of 0.15 it would need a clock at 27MHz (rounded up) or faster. -Preston From MAILER-DAEMON Wed Mar 11 08:30:52 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LhNaG-0007wq-7I for mharc-avr-chat@gnu.org; Wed, 11 Mar 2009 08:30:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhNaD-0007rm-Aq for avr-chat@nongnu.org; Wed, 11 Mar 2009 08:30:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhNaC-0007qX-GR for avr-chat@nongnu.org; Wed, 11 Mar 2009 08:30:48 -0400 Received: from [199.232.76.173] (port=58295 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhNaC-0007qI-BU for avr-chat@nongnu.org; Wed, 11 Mar 2009 08:30:48 -0400 Received: from smtp2.tech.numericable.fr ([82.216.111.38]:53204) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhNaC-0006dr-0i for avr-chat@nongnu.org; Wed, 11 Mar 2009 08:30:48 -0400 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp2.tech.numericable.fr (Postfix) with SMTP id 1D79118D817 for ; Wed, 11 Mar 2009 13:30:40 +0100 (CET) Date: Wed, 11 Mar 2009 13:30:40 +0100 From: Vincent Trouilliez To: "avr-chat@nongnu.org" Subject: Re: [avr-chat] Avrdude fails to connect to my Dragon... Message-Id: <20090311133040.2b25b9d0.vincent.trouilliez@modulonet.fr> In-Reply-To: References: <20090311111011.43e1c9d1.vincent.trouilliez@modulonet.fr> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2009 12:30:50 -0000 On Wed, 11 Mar 2009 08:12:37 -0400 Preston Wilson wrote: > The uC's frequency has to be at least 4x the frequency generated by the bit > clock. A bit clock of 1 corresponds to 1 micro second, so that gives you > 1MHz, and will work with uC's running at 4MHz or faster. I am running at 16MHz.. divided by 4 that's 4 Mb/s, 400KB/s or so, and I get 2 KB/s at best (ie w/o the -B option, or with -B 0.15, the lowest value it will take before communication fails), that's 200 times less... > ...and for a bit clock of 0.15 it would need a clock at 27MHz (rounded up) or faster. I tried 0.15 and it works fine at 16MHz... though actual speed is 2KB/s regardless. Anyway, the avrdude man page said this -B option in ISP mode, only works with the JTAG ICE only, not the Dragon so... -- Vince From MAILER-DAEMON Thu Mar 12 11:23:11 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LhmkZ-0002UL-MW for mharc-avr-chat@gnu.org; Thu, 12 Mar 2009 11:23:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhmkY-0002UC-Fb for avr-chat@nongnu.org; Thu, 12 Mar 2009 11:23:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhmkX-0002TW-QX for avr-chat@nongnu.org; Thu, 12 Mar 2009 11:23:09 -0400 Received: from [199.232.76.173] (port=44485 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhmkX-0002TT-Jt for avr-chat@nongnu.org; Thu, 12 Mar 2009 11:23:09 -0400 Received: from vms173001pub.verizon.net ([206.46.173.1]:32027) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhmkX-0000Y2-2g for avr-chat@nongnu.org; Thu, 12 Mar 2009 11:23:09 -0400 Received: from GrahamsInspiron ([98.118.86.11]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KGE00074G1WDLN0@vms173001.mailsrvcs.net> for avr-chat@nongnu.org; Thu, 12 Mar 2009 10:22:46 -0500 (CDT) Message-id: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron> From: "Graham Davies" To: Date: Thu, 12 Mar 2009 11:22:40 -0400 Organization: Ecros Technology MIME-version: 1.0 Content-type: multipart/alternative; boundary="----=_NextPart_000_0226_01C9A304.DAF8B9A0" X-Priority: 3 X-MSMail-priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) Subject: [avr-chat] AVR Studio under VirtualBox, anyone? X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 15:23:10 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0226_01C9A304.DAF8B9A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Is anyone successfully using AVR Studio under VirtualBox? My interest in this is (predictably) to overcome the problem that = different versions of AVR Studio cannot co-exist on the same machine, = but different projects require different versions. To expand on the = latter, updating to the latest version without a shake-down period is = asking for trouble and, in any case, once a project has been started = with one version and it is going fine why would you change to another = version? Also, clients sometimes specify the version they want used. = Picking some tried-and-true version and sticking with that come-what-may = isn't so good either. None of this will come as a surprise to the = professionals out there. My problem is that communication with the debugger is flakey. I use = both the AVR ICE-Cube (a JTAG ICE Mk I clone), which is serial, and the = AVR Dragon, which is USB. Things will be fine for a while, but then all = of a sudden I'll get the communication lost with target messages and the = only solution is a reboot of the virtual machine. Sometimes this = doesn't even work. So is anyone successfully using virtual machine technology to run = different versions of AVR Studio? Does anyone else have a smart = solution to this problem? I don't really want to buy a PC and a Windows = license for each version of AVR Studio I need to use. For those that find AVR Studio itself flakey, I have not found this. = But then, I only install one version, ever, per installation of Windows, = specifically to avoid the uninstall / reinstall problems that seem to = plague this application. Obviously, this means I spend a lot of time = installing Windows, which I would like to avoid. Graham. ------=_NextPart_000_0226_01C9A304.DAF8B9A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Is anyone successfully using AVR Studio = under=20 VirtualBox?
 
My interest in this is (predictably) to = overcome=20 the problem that different versions of AVR Studio cannot co-exist on the = same=20 machine, but different projects require different versions.  To = expand on=20 the latter, updating to the latest version without a shake-down period = is asking=20 for trouble and, in any case, once a project has been started with one = version=20 and it is going fine why would you change to another version?  = Also,=20 clients sometimes specify the version they want used.  Picking some = tried-and-true version and sticking with that come-what-may isn't so = good=20 either.  None of this will come as a surprise to the professionals = out=20 there.
 
My problem is that communication with = the debugger=20 is flakey.  I use both the AVR ICE-Cube (a JTAG ICE Mk I clone), = which is=20 serial, and the AVR Dragon, which is USB.  Things will be fine = for a=20 while, but then all of a sudden I'll get the communication lost with = target=20 messages and the only solution is a reboot of the virtual machine.  = Sometimes this doesn't even work.
 
So is anyone successfully using virtual = machine=20 technology to run different versions of AVR Studio?  Does anyone = else have=20 a smart solution to this problem?  I don't really want to buy a PC = and a=20 Windows license for each version of AVR Studio I need to = use.
 
For those that find AVR Studio itself = flakey, I=20 have not found this.  But then, I only install one version, ever, = per=20 installation of Windows, specifically to avoid the uninstall / reinstall = problems that seem to plague this application.  Obviously, this = means I=20 spend a lot of time installing Windows, which I would like to=20 avoid.
 
Graham.
 
------=_NextPart_000_0226_01C9A304.DAF8B9A0-- From MAILER-DAEMON Thu Mar 12 15:58:44 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lhr3D-0003EX-PE for mharc-avr-chat@gnu.org; Thu, 12 Mar 2009 15:58:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lhr3C-0003De-Dg for avr-chat@nongnu.org; Thu, 12 Mar 2009 15:58:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lhr3B-0003Cn-6K for avr-chat@nongnu.org; Thu, 12 Mar 2009 15:58:41 -0400 Received: from [199.232.76.173] (port=59048 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lhr3A-0003Ci-Uj for avr-chat@nongnu.org; Thu, 12 Mar 2009 15:58:41 -0400 Received: from an-out-0708.google.com ([209.85.132.251]:63396) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lhr3A-0003H1-IN for avr-chat@nongnu.org; Thu, 12 Mar 2009 15:58:40 -0400 Received: by an-out-0708.google.com with SMTP id b6so782530ana.37 for ; Thu, 12 Mar 2009 12:58:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=DQX20RBE7OCUinAQEumdXMgQe1+PWbdb23AMDw6ktIQ=; b=X5NhI+6g52mKMeTvisTBfNYKLCMtLBYgFpRXwFZZUJTBuO886A5Km7VEk9uFl73567 SXHwbWL3C/0ED6tk3SkQiDF/a07PYe16PKAgKXcRugEOeFp9qk32SDxq8AOooW67H6Mn 6nwry68P/FKUKJvs0fKBIC8T53bcDCoHuXwgM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=oVzRE/nfctpZ7SjFBxV26/EAyPw8No0r/s/tbbNXSb4DTZQjZODNkjdbnsJOy6Yju2 KKPt6m55kGqHp1qc6cqwWBafSmHeIRVfte5VmheAlEoE1Qc5yM4mARRpnwDwj8A0yFqR e+oJYz+IYU1AFVj3QEvy/oMUOyEJjnxvcQ+s8= MIME-Version: 1.0 Received: by 10.100.131.16 with SMTP id e16mr357605and.118.1236887919561; Thu, 12 Mar 2009 12:58:39 -0700 (PDT) In-Reply-To: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron> References: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron> Date: Thu, 12 Mar 2009 15:58:39 -0400 Message-ID: Subject: Re: [avr-chat] AVR Studio under VirtualBox, anyone? From: Toan Pham To: Graham Davies Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: avr-chat@nongnu.org X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 19:58:42 -0000 Well, I've been looking into Virtual machines for development work on different platforms (Linux/Win) and targets (Micro, PLs etc); and i found that Virtualbox is very unstable. Many times, it would just lockup while accessing network share folders, periphirals or doing nothing. As the result, I found that VMWare is much more reliable, and the fact that you can take snapshots of the vmware image is very useful. Toan On Thu, Mar 12, 2009 at 11:22 AM, Graham Davies wrote: > Is anyone successfully using AVR Studio under VirtualBox? > > My interest in this is (predictably) to overcome the problem that different > versions of AVR Studio cannot co-exist on the same machine, but different > projects require different versions. To expand on the latter, updating to > the latest version without a shake-down period is asking for trouble and, in > any case, once a project has been started with one version and it is going > fine why would you change to another version? Also, clients sometimes > specify the version they want used. Picking some tried-and-true version and > sticking with that come-what-may isn't so good either. None of this will > come as a surprise to the professionals out there. > > My problem is that communication with the debugger is flakey. I use both > the AVR ICE-Cube (a JTAG ICE Mk I clone), which is serial, and the AVR > Dragon, which is USB. Things will be fine for a while, but then all of a > sudden I'll get the communication lost with target messages and the only > solution is a reboot of the virtual machine. Sometimes this doesn't even > work. > > So is anyone successfully using virtual machine technology to run different > versions of AVR Studio? Does anyone else have a smart solution to this > problem? I don't really want to buy a PC and a Windows license for each > version of AVR Studio I need to use. > > For those that find AVR Studio itself flakey, I have not found this. But > then, I only install one version, ever, per installation of Windows, > specifically to avoid the uninstall / reinstall problems that seem to plague > this application. Obviously, this means I spend a lot of time installing > Windows, which I would like to avoid. > > Graham. > > _______________________________________________ > AVR-chat mailing list > AVR-chat@nongnu.org > http://lists.nongnu.org/mailman/listinfo/avr-chat > > From MAILER-DAEMON Thu Mar 12 16:14:31 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LhrIV-00087J-DI for mharc-avr-chat@gnu.org; Thu, 12 Mar 2009 16:14:31 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhrIU-00087A-GW for avr-chat@nongnu.org; Thu, 12 Mar 2009 16:14:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhrIT-00086u-NV for avr-chat@nongnu.org; Thu, 12 Mar 2009 16:14:30 -0400 Received: from [199.232.76.173] (port=56180 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhrIT-00086r-Jb for avr-chat@nongnu.org; Thu, 12 Mar 2009 16:14:29 -0400 Received: from vms173019pub.verizon.net ([206.46.173.19]:58325) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhrIT-0005OE-By for avr-chat@nongnu.org; Thu, 12 Mar 2009 16:14:29 -0400 Received: from GrahamsInspiron ([98.118.86.11]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KGE00KIZTJ3WD5W@vms173019.mailsrvcs.net> for avr-chat@nongnu.org; Thu, 12 Mar 2009 15:14:00 -0500 (CDT) Message-id: <023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron> From: "Graham Davies" To: References: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron> Subject: Re: [avr-chat] AVR Studio under VirtualBox, anyone? Date: Thu, 12 Mar 2009 16:13:46 -0400 Organization: Ecros Technology MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 20:14:30 -0000 Toan Pham wrote: > Virtualbox is very unstable. OK, well, thanks for that input. I chose VirtualBox because it seems simple to use and works with WinXP Home (I feel bad enough using a Microsoft operating system in the first place, so at least I don't pony up the extra $$$ for Professional). You can take snapshots in VirtualBox. I have had none of the trouble you cite, but that doesn't mean that the reason I can't use AVR Studio isn't a problem in VirtualBox (four negatives in that sentence, but it does say what I mean). Thanks again. Graham. From MAILER-DAEMON Thu Mar 12 16:23:39 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LhrRL-0003Qx-2h for mharc-avr-chat@gnu.org; Thu, 12 Mar 2009 16:23:39 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhrRJ-0003QL-Nr for avr-chat@nongnu.org; Thu, 12 Mar 2009 16:23:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhrRI-0003Ph-7y for avr-chat@nongnu.org; Thu, 12 Mar 2009 16:23:37 -0400 Received: from [199.232.76.173] (port=42113 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhrRH-0003Pc-VW for avr-chat@nongnu.org; Thu, 12 Mar 2009 16:23:36 -0400 Received: from westnet.com ([216.187.52.2]:36751) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LhrRH-0006Sw-4z for avr-chat@nongnu.org; Thu, 12 Mar 2009 16:23:35 -0400 Received: from westnet.com (localhost [127.0.0.1]) by westnet.com (8.14.0/8.14.0) with ESMTP id n2CKNXFH014362 for ; Thu, 12 Mar 2009 16:23:33 -0400 (EDT) Received: from localhost (chris@localhost) by westnet.com (8.14.0/8.13.2/Submit) with ESMTP id n2CKNWCW014359 for ; Thu, 12 Mar 2009 16:23:32 -0400 (EDT) Date: Thu, 12 Mar 2009 16:23:32 -0400 (EDT) From: "Christopher X. Candreva" To: avr-chat@nongnu.org Subject: Re: [avr-chat] AVR Studio under VirtualBox, anyone? In-Reply-To: <023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron> Message-ID: References: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron> <023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron> User-Agent: Alpine 2.01 (GSO 1184 2008-12-16) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 20:23:38 -0000 On Thu, 12 Mar 2009, Graham Davies wrote: > Toan Pham wrote: > > Virtualbox is very unstable. Somehow I missed Toan's message. As a counter-point, we run QuickBooks for our business using VirtualBox, with a WinXP guest on a Linux desktop machine. I can't say it's any more unstable than Windows itself. ========================================================== Chris Candreva -- chris@westnet.com -- (914) 948-3162 WestNet Internet Services of Westchester http://www.westnet.com/ From MAILER-DAEMON Thu Mar 12 16:59:57 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lhs0T-0003pI-95 for mharc-avr-chat@gnu.org; Thu, 12 Mar 2009 16:59:57 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lhs0Q-0003oU-TO for avr-chat@nongnu.org; Thu, 12 Mar 2009 16:59:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lhs0P-0003nd-H2 for avr-chat@nongnu.org; Thu, 12 Mar 2009 16:59:54 -0400 Received: from [199.232.76.173] (port=52427 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lhs0P-0003na-C0 for avr-chat@nongnu.org; Thu, 12 Mar 2009 16:59:53 -0400 Received: from uemail.evansville.edu ([192.195.225.14]:33204) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lhs0O-0003l6-Mk for avr-chat@nongnu.org; Thu, 12 Mar 2009 16:59:53 -0400 Received: from UEEXCHANGE.evansville.edu ([10.5.0.126]) by uemail.evansville.edu with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Mar 2009 15:36:08 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [avr-chat] AVR Studio under VirtualBox, anyone? Date: Thu, 12 Mar 2009 15:36:09 -0500 Message-ID: <5C7554D82F4671478985015814A65B771212448E@UEEXCHANGE.evansville.edu> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [avr-chat] AVR Studio under VirtualBox, anyone? Thread-Index: AcmjUEYtQQpqMO8cTDeEcS/s33c+JQAARZQg References: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron><023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron> From: "Richardson, Anthony" To: X-OriginalArrivalTime: 12 Mar 2009 20:36:08.0537 (UTC) FILETIME=[2C765C90:01C9A352] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-Greylist: delayed 1322 seconds by postgrey-1.27 at monty-python; Thu, 12 Mar 2009 16:59:52 EDT X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 20:59:55 -0000 I've used VirtualBox and VMware extensively. I have also found VirtualBox to be quite stable and have had none of the issues Toan mentioned either. I was so pleased with VirtualBox that I switched to using it from VMware and now use VirtualBox exclusively. There is also a MS virtual machine product named VirtualPC. I have tested it and was not impressed. Toan, you wouldn't be confusing VirtualBox with VirtualPC would you? Tony Richardson > -----Original Message----- > From: avr-chat-bounces+ar63=3Devansville.edu@nongnu.org [mailto:avr-chat- > bounces+ar63=3Devansville.edu@nongnu.org] On Behalf Of Christopher X. > Candreva > Sent: Thursday, March 12, 2009 3:24 PM > To: avr-chat@nongnu.org > Subject: Re: [avr-chat] AVR Studio under VirtualBox, anyone? >=20 > On Thu, 12 Mar 2009, Graham Davies wrote: >=20 > > Toan Pham wrote: > > > Virtualbox is very unstable. >=20 > Somehow I missed Toan's message. As a counter-point, we run QuickBooks > for > our business using VirtualBox, with a WinXP guest on a Linux desktop > machine. I can't say it's any more unstable than Windows itself. >=20 >=20 >=20 > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > Chris Candreva -- chris@westnet.com -- (914) 948-3162 > WestNet Internet Services of Westchester > http://www.westnet.com/ >=20 >=20 > _______________________________________________ > AVR-chat mailing list > AVR-chat@nongnu.org > http://lists.nongnu.org/mailman/listinfo/avr-chat From MAILER-DAEMON Fri Mar 13 08:25:09 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Li6Rp-0000E5-2r for mharc-avr-chat@gnu.org; Fri, 13 Mar 2009 08:25:09 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Li6Rn-0000Ar-8w for avr-chat@nongnu.org; Fri, 13 Mar 2009 08:25:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Li6Ri-0008Vq-Cb for avr-chat@nongnu.org; Fri, 13 Mar 2009 08:25:06 -0400 Received: from [199.232.76.173] (port=37329 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Li6Ri-0008VY-1V for avr-chat@nongnu.org; Fri, 13 Mar 2009 08:25:02 -0400 Received: from mail-qy0-f106.google.com ([209.85.221.106]:43825) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Li6Rh-0005as-Mf for avr-chat@nongnu.org; Fri, 13 Mar 2009 08:25:01 -0400 Received: by qyk4 with SMTP id 4so131681qyk.4 for ; Fri, 13 Mar 2009 05:25:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=C7lbwTBPqwuRaao9C5wQtJ5e8hHeLRYub9aqBA08nms=; b=PYpKjrIJkJOFzmvAjgq472L+r+FntA3Z6EzK+3nWFCxKTrQS4qPOYPJDqPv0l6sylQ 5Z7aHBNkWsBJhWh7URJfK5e5ARnSG2uUF8ImJ9OvHH2JsoiqFCOryueQ16OqSr414r14 ukTzA0TA/gBoo78oS0IwP2gVJQiRFmZPYRjBw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=L0J7IKAHxKL+ncHG6nDoMCsD2A2qUdY0L8pqG02tUgXnXPNDNPd599604YY/yn+551 BYNiEveO+Fm/3Dgg/Rwq93T/8eLLh8Uy9qfguF9J9OMxEUMUs8hTgs+HZYoXAesL+SKq +MPTPnxXsFpFABU4YL8Fc2ehXh88uV3UluBp4= MIME-Version: 1.0 Received: by 10.229.96.142 with SMTP id h14mr661481qcn.99.1236947100262; Fri, 13 Mar 2009 05:25:00 -0700 (PDT) In-Reply-To: <023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron> References: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron> <023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron> Date: Fri, 13 Mar 2009 08:25:00 -0400 Message-ID: Subject: Re: [avr-chat] AVR Studio under VirtualBox, anyone? From: Bob Paddock To: Graham Davies Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: avr-chat@nongnu.org X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 12:25:07 -0000 On Thu, Mar 12, 2009 at 4:13 PM, Graham Davies wro= te: > Toan Pham wrote: >> >> Virtualbox is very unstable. > > OK, well, thanks for that input. =A0I chose VirtualBox because it seems s= imple > to use and works with WinXP Home (I feel bad enough using a Microsoft > operating system in the first place, so at least I don't pony up the extr= a > $$$ for Professional). =A0You can take snapshots in VirtualBox. =A0I have= had > none of the trouble you cite, but that doesn't mean that the reason I can= 't > use AVR Studio isn't a problem in VirtualBox (four negatives in that > sentence, but it does say what I mean). =A0Thanks again. I have run Studio in VirtualBox on my Gentoo Linux box. I found no issues = in the little I did with Studio. I use VirtualBox extensively and have found no stability problems. Only thing I find annoying, and I doubt it is specific to VirtualBox, is that when doing nightly backups you end up backing up this huge file everyday that you used VirtualBox. VirtualBox needs some type of delta change save. VirtualBox is now owned by Sun and they have been making changes. From MAILER-DAEMON Fri Mar 13 08:40:46 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Li6gw-00087d-LK for mharc-avr-chat@gnu.org; Fri, 13 Mar 2009 08:40:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Li6gv-000876-89 for avr-chat@nongnu.org; Fri, 13 Mar 2009 08:40:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Li6gq-00085C-Hi for avr-chat@nongnu.org; Fri, 13 Mar 2009 08:40:44 -0400 Received: from [199.232.76.173] (port=37378 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Li6gq-000856-Bp for avr-chat@nongnu.org; Fri, 13 Mar 2009 08:40:40 -0400 Received: from smtp3.tech.numericable.fr ([82.216.111.39]:44869) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Li6gp-0007M5-VH for avr-chat@nongnu.org; Fri, 13 Mar 2009 08:40:40 -0400 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp3.tech.numericable.fr (Postfix) with SMTP id C13D63E404 for ; Fri, 13 Mar 2009 13:40:32 +0100 (CET) Date: Fri, 13 Mar 2009 13:40:32 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] AVR Studio under VirtualBox, anyone? Message-Id: <20090313134032.bb20588b.vincent.trouilliez@modulonet.fr> In-Reply-To: References: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron> <023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 12:40:45 -0000 On Fri, 13 Mar 2009 08:25:00 -0400 Bob Paddock wrote: > Only thing I find annoying, and I doubt > it is specific to VirtualBox, is that when doing nightly backups you > end up backing up this huge file everyday that you used VirtualBox. > VirtualBox needs some type of delta change save. > > VirtualBox is now owned by Sun and they have been making changes. Hmpf yes, same here ! I got bored waiting 5 minutes for every virtual machine to be backed up, so I just excluded them from the backup... I backup the VM's one, when the OS and all major applications, have been installed initially, but I don't backup after that. All documents that may need to be saved are shared on the host file system, so they do get backed up. I guess this problem is only a temporary one... now that SSD's, internalled stripped/RAIDed, manage 1 GByte/s, backing up VM's won't be a problem. Still, we will probably have to wait 3 years for these SSD's to become affordable/wide spread... -- Vince, having a hard time enduring his trouble some HDDs... From MAILER-DAEMON Fri Mar 13 08:44:24 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Li6kS-0001v9-5o for mharc-avr-chat@gnu.org; Fri, 13 Mar 2009 08:44:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Li6kQ-0001v4-5N for avr-chat@nongnu.org; Fri, 13 Mar 2009 08:44:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Li6kK-0001us-1R for avr-chat@nongnu.org; Fri, 13 Mar 2009 08:44:20 -0400 Received: from [199.232.76.173] (port=37433 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Li6kJ-0001up-Us for avr-chat@nongnu.org; Fri, 13 Mar 2009 08:44:15 -0400 Received: from vms173001pub.verizon.net ([206.46.173.1]:24141) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Li6kJ-0007jO-HX for avr-chat@nongnu.org; Fri, 13 Mar 2009 08:44:15 -0400 Received: from GrahamsInspiron ([98.118.86.11]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KGG00LRO3DF5MZ6@vms173001.mailsrvcs.net> for avr-chat@nongnu.org; Fri, 13 Mar 2009 07:44:09 -0500 (CDT) Message-id: <02cc01c9a3d9$65046f70$6500a8c0@GrahamsInspiron> From: "Graham Davies" To: References: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron> <023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron> Subject: Re: [avr-chat] AVR Studio under VirtualBox, anyone? Date: Fri, 13 Mar 2009 08:43:58 -0400 Organization: Ecros Technology MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 12:44:22 -0000 Bob Paddock wrote:. "I have run Studio in VirtualBox on my Gentoo Linux box. I found no issues in the little I did with Studio." Do you happen to recall whether that "little" included debugging with, say, a JTAG ICE or AVR Dragon? And: "Only thing I find annoying .... when doing nightly backups you end up backing up this huge file everyday ..." Well, I just exclude this file from my backups (I use NTBackup). As I use the virtual machine for software development, everything gets checked in to my revision control system (I use QVCS) and that serves as a backup. I haven't tried this, but I suppose you could also run a backup from within the virtual machine. Graham. From MAILER-DAEMON Fri Mar 13 15:49:31 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LiDNq-0000Sd-RS for mharc-avr-chat@gnu.org; Fri, 13 Mar 2009 15:49:30 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiDNn-0000Rn-Ta for avr-chat@nongnu.org; Fri, 13 Mar 2009 15:49:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiDNj-0000NK-5Q for avr-chat@nongnu.org; Fri, 13 Mar 2009 15:49:27 -0400 Received: from [199.232.76.173] (port=43912 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiDNi-0000N8-Pw for avr-chat@nongnu.org; Fri, 13 Mar 2009 15:49:22 -0400 Received: from vms173001pub.verizon.net ([206.46.173.1]:14415) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LiDNi-0003iX-Fg for avr-chat@nongnu.org; Fri, 13 Mar 2009 15:49:22 -0400 Received: from GrahamsInspiron ([98.118.86.11]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KGG006N0N1G36Y6@vms173001.mailsrvcs.net> for avr-chat@nongnu.org; Fri, 13 Mar 2009 14:49:01 -0500 (CDT) Message-id: <02f801c9a414$be19e8c0$6500a8c0@GrahamsInspiron> From: "Graham Davies" To: References: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron> <023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron> <02cc01c9a3d9$65046f70$6500a8c0@GrahamsInspiron> Subject: Re: [avr-chat] AVR Studio under VirtualBox, anyone? Date: Fri, 13 Mar 2009 15:48:48 -0400 Organization: Ecros Technology MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=response Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 19:49:28 -0000 Haberler Michael wrote: > I'm using virtualbox 2.1.4 on Mac OS X Leopard; > running AVR Studio with no issues. Hmm. So, maybe I should try Linux as the host operating system, not Windows. With a bit of foresight, I actually left two physical partitions empty on my boot drive to contain a Linux filesystem and swap. I just need to find the time and the courage to do the installation (courage because I don't want to lose the ability to boot my Windows installations). Graham. From MAILER-DAEMON Fri Mar 13 15:51:40 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LiDPw-0001Mj-9C for mharc-avr-chat@gnu.org; Fri, 13 Mar 2009 15:51:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiDPu-0001Lm-8C for avr-chat@nongnu.org; Fri, 13 Mar 2009 15:51:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiDPs-0001LP-MG for avr-chat@nongnu.org; Fri, 13 Mar 2009 15:51:37 -0400 Received: from [199.232.76.173] (port=43970 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiDPs-0001LM-CA for avr-chat@nongnu.org; Fri, 13 Mar 2009 15:51:36 -0400 Received: from [86.59.12.252] (port=49820 helo=sil1.mah.priv.at) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LiDPr-00041x-VJ for avr-chat@nongnu.org; Fri, 13 Mar 2009 15:51:36 -0400 Received: from extern-183.stiwoll.mah.priv.at ([193.186.30.183]) by sil1.mah.priv.at with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1LiD3c-0007qz-D7; Fri, 13 Mar 2009 20:28:36 +0100 From: Haberler Michael To: Graham Davies In-Reply-To: <02cc01c9a3d9$65046f70$6500a8c0@GrahamsInspiron> Subject: Re: [avr-chat] AVR Studio under VirtualBox, anyone? X-Priority: 3 References: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron> <023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron> <02cc01c9a3d9$65046f70$6500a8c0@GrahamsInspiron> Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Fri, 13 Mar 2009 20:28:35 +0100 X-Mailer: Apple Mail (2.930.3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Greylist: delayed 1372 seconds by postgrey-1.27 at monty-python; Fri, 13 Mar 2009 15:51:34 EDT Cc: avr-chat@nongnu.org X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 19:51:38 -0000 Am 13.03.2009 um 13:43 schrieb Graham Davies: > > Do you happen to recall whether that "little" included debugging > with, say, a JTAG ICE or AVR Dragon? I'm using virtualbox 2.1.4 on Mac OS X Leopard; running AVR Studio with no issues. I've used a JTAG mkII clone from Propox and a JTAGICE MKII from AVR. No problems to report. I also use some other Windows-only apps, like the http://www.pctestinstruments.com/ logic analyzer just fine. -- Before using Virtualbox I used Parallels, but I dumped it after the upgrade from 3 to 4, which was both ridiculously priced and buggy where it mattered to me, namely USB support. To this day Linux under Parallels cannot use any USB mass storage like an USB stick. This is a known bug since almost a year, and was NOT fixed in the 3->4 upgrade for $79 (original price was around $50). But they threw in a useless moonlight animation for suspend/resume and run marketing surveys with idiotic questions - thanks and goodbye. I've also tried VMware, but Virtualbox is both free and stable - good enough for me running my few apps -Michael From MAILER-DAEMON Fri Mar 13 16:11:16 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LiDit-0004sK-Ux for mharc-avr-chat@gnu.org; Fri, 13 Mar 2009 16:11:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiDis-0004sF-Kb for avr-chat@nongnu.org; Fri, 13 Mar 2009 16:11:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiDin-0004s3-Ik for avr-chat@nongnu.org; Fri, 13 Mar 2009 16:11:13 -0400 Received: from [199.232.76.173] (port=35699 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiDin-0004s0-F4 for avr-chat@nongnu.org; Fri, 13 Mar 2009 16:11:09 -0400 Received: from mail.cs.ndsu.nodak.edu ([134.129.125.92]:34097) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LiDim-0006gW-Ra for avr-chat@nongnu.org; Fri, 13 Mar 2009 16:11:09 -0400 Received: from mail.cs.ndsu.nodak.edu (localhost [127.0.0.1]) by mail.cs.ndsu.nodak.edu (8.14.2/8.14.2/Debian-2build1) with ESMTP id n2DK6Q64022342; Fri, 13 Mar 2009 15:06:27 -0500 Received: from localhost (hennebry@localhost) by mail.cs.ndsu.nodak.edu (8.14.2/8.14.2/Submit) with ESMTP id n2DK6QWP022339; Fri, 13 Mar 2009 15:06:26 -0500 X-Authentication-Warning: mail.cs.ndsu.nodak.edu: hennebry owned process doing -bs Date: Fri, 13 Mar 2009 15:06:26 -0500 (CDT) From: Michael Hennebry X-X-Sender: hennebry@mail.cs.ndsu.nodak.edu To: Graham Davies Subject: Re: [avr-chat] AVR Studio under VirtualBox, anyone? In-Reply-To: <02f801c9a414$be19e8c0$6500a8c0@GrahamsInspiron> Message-ID: References: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron> <023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron> <02cc01c9a3d9$65046f70$6500a8c0@GrahamsInspiron> <02f801c9a414$be19e8c0$6500a8c0@GrahamsInspiron> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: avr-chat@nongnu.org X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 20:11:14 -0000 On Fri, 13 Mar 2009, Graham Davies wrote: > Hmm. So, maybe I should try Linux as the host operating system, not Windows. > With a bit of foresight, I actually left two physical partitions empty on my > boot drive to contain a Linux filesystem and swap. I just need to find the > time and the courage to do the installation (courage because I don't want to > lose the ability to boot my Windows installations). Do the backups anyway, but don't worry too much. Linux installers play well with others. I have Fedora 9 dual-booted with Windows on my box at home. It would have been F10, but I've read that the F10 installer is a horror: a horror to users. So far as I know, it won't destroy partitions you don't tell it to. -- Michael hennebry@web.cs.ndsu.NoDak.edu "Pessimist: The glass is half empty. Optimist: The glass is half full. Engineer: The glass is twice as big as it needs to be." From MAILER-DAEMON Fri Mar 13 16:12:01 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LiDjd-0005Ay-5x for mharc-avr-chat@gnu.org; Fri, 13 Mar 2009 16:12:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiDjb-0005At-W3 for avr-chat@nongnu.org; Fri, 13 Mar 2009 16:12:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiDjW-00057E-Kg for avr-chat@nongnu.org; Fri, 13 Mar 2009 16:11:58 -0400 Received: from [199.232.76.173] (port=35708 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiDjW-000577-Ax for avr-chat@nongnu.org; Fri, 13 Mar 2009 16:11:54 -0400 Received: from smtp5.tech.numericable.fr ([82.216.111.41]:52619) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LiDjW-0006ka-1A for avr-chat@nongnu.org; Fri, 13 Mar 2009 16:11:54 -0400 Received: from Lotus-Esprit (unknown [85.69.146.144]) by smtp5.tech.numericable.fr (Postfix) with SMTP id E25AA124030 for ; Fri, 13 Mar 2009 21:11:52 +0100 (CET) Date: Fri, 13 Mar 2009 21:11:52 +0100 From: Vincent Trouilliez To: avr-chat@nongnu.org Subject: Re: [avr-chat] AVR Studio under VirtualBox, anyone? Message-Id: <20090313211152.47706c43.vincent.trouilliez@modulonet.fr> In-Reply-To: <02f801c9a414$be19e8c0$6500a8c0@GrahamsInspiron> References: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron> <023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron> <02cc01c9a3d9$65046f70$6500a8c0@GrahamsInspiron> <02f801c9a414$be19e8c0$6500a8c0@GrahamsInspiron> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.14.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 20:12:00 -0000 On Fri, 13 Mar 2009 15:48:48 -0400 "Graham Davies" wrote: > Hmm. So, maybe I should try Linux as the host operating system, not > Windows. Yeah, the only way to go ! ;-) I have had Linux as the main OS and kept Win XP "just in case". After 7 years, retrospectively, I found I never really had to start XP ! So it's doable ;-) > With a bit of foresight, I actually left two physical partitions > empty on my boot drive to contain a Linux filesystem and swap. I just need > to find the time and the courage to do the installation (courage because I > don't want to lose the ability to boot my Windows installations). Installing it takes 15 minutes door to door, no drivers to install, and the AVR tool-chain will take only a few clicks in the package manager to install it. As for dual-booting, during the installation, Linux will automatically detect Windows. When you start the computer you will get a menu offering to start either WinXP or Linux. Well I am using Ubuntu and it just works, but I assume the other two mainstream distro (RedHat & Suse) are equally practical. Go for it Graham ;-) -- Vince From MAILER-DAEMON Fri Mar 13 16:57:23 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LiERW-0004Ee-TV for mharc-avr-chat@gnu.org; Fri, 13 Mar 2009 16:57:22 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiERU-0004EI-Gq for avr-chat@nongnu.org; Fri, 13 Mar 2009 16:57:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiERP-0004Dm-UU for avr-chat@nongnu.org; Fri, 13 Mar 2009 16:57:20 -0400 Received: from [199.232.76.173] (port=35829 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiERP-0004Dj-Nb for avr-chat@nongnu.org; Fri, 13 Mar 2009 16:57:15 -0400 Received: from vms173019pub.verizon.net ([206.46.173.19]:42744) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LiERP-0003Qv-Ay for avr-chat@nongnu.org; Fri, 13 Mar 2009 16:57:15 -0400 Received: from GrahamsInspiron ([98.118.86.11]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KGG00KODQ6VWDEZ@vms173019.mailsrvcs.net> for avr-chat@nongnu.org; Fri, 13 Mar 2009 15:57:02 -0500 (CDT) Message-id: <033801c9a41e$3f32d580$6500a8c0@GrahamsInspiron> From: "Graham Davies" To: References: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron><023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron><02cc01c9a3d9$65046f70$6500a8c0@GrahamsInspiron><02f801c9a414$be19e8c0$6500a8c0@GrahamsInspiron> <20090313211152.47706c43.vincent.trouilliez@modulonet.fr> Subject: Re: [avr-chat] AVR Studio under VirtualBox, anyone? Date: Fri, 13 Mar 2009 16:56:50 -0400 Organization: Ecros Technology MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2009 20:57:21 -0000 Vincent Trouilliez (and others) wrote (things like): > Yeah, the only way to go ! ;-) OK, thanks for the encouragement. I will find a time with no critical work on and do the install. My distro-of-choice is Xubuntu. I have 4 gigs of memory, a dual AMD64 2.1 GHz and two 500 GB SATA 2 drives, so my system has the power. Then I will see if AVR Studio in Windows XP in VirtualBox in Xubuntu GNU/Linux is free of the flakiness I reported when I started this thread. If it is, I may never boot back to my WinXP installations. Thanks everyone for the experience and advice. Graham. From MAILER-DAEMON Mon Mar 16 11:13:49 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LjEVh-0002dn-AR for mharc-avr-chat@gnu.org; Mon, 16 Mar 2009 11:13:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LjEVe-0002d6-LB for avr-chat@nongnu.org; Mon, 16 Mar 2009 11:13:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LjEVd-0002cp-SR for avr-chat@nongnu.org; Mon, 16 Mar 2009 11:13:46 -0400 Received: from [199.232.76.173] (port=40417 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LjEVd-0002ci-Lk for avr-chat@nongnu.org; Mon, 16 Mar 2009 11:13:45 -0400 Received: from yw-out-1718.google.com ([74.125.46.156]:46322) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LjEVd-00086p-Cy for avr-chat@nongnu.org; Mon, 16 Mar 2009 11:13:45 -0400 Received: by yw-out-1718.google.com with SMTP id 6so662065ywa.82 for ; Mon, 16 Mar 2009 08:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=r/5vT3rqwl86xN6D7bUfJazYREFWXUX6DgTqv/YrXIs=; b=rIDCfYE0X9Ih2aTLxQ7PeU0aBNcrlx1wb1aPb6azdQ/qe9a71Q1/k0Wh804i5HnKoV 81P1ko3Ve+SF5x7h4wgmDsZpi1FvMPcVa7teS0A94r13jC2O3xkCub0IYlOmfEGE1nR2 9dDmRwWlZzHAu1jMmb3BJ4DesZFf8CWueKltM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=fk+WkdthYu5s3mULR0QM0lHnUIYeFTWG6go5rkgEedcE7+6+lhIPib+J/pu41YZLFd VJKwds7uZ2pELDPJKpoOgnyiJGIjp43waIAPQYVQ4V2eqh6/WKJ+uYbDZq4GRtP5DzKQ TeSpaVR4MbNxzEGdEzPqBZBVDVWDo6kBT0VR4= MIME-Version: 1.0 Received: by 10.100.132.4 with SMTP id f4mr2736136and.16.1237216423776; Mon, 16 Mar 2009 08:13:43 -0700 (PDT) In-Reply-To: <033801c9a41e$3f32d580$6500a8c0@GrahamsInspiron> References: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron> <023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron> <02cc01c9a3d9$65046f70$6500a8c0@GrahamsInspiron> <02f801c9a414$be19e8c0$6500a8c0@GrahamsInspiron> <20090313211152.47706c43.vincent.trouilliez@modulonet.fr> <033801c9a41e$3f32d580$6500a8c0@GrahamsInspiron> Date: Mon, 16 Mar 2009 11:13:43 -0400 Message-ID: Subject: Re: [avr-chat] AVR Studio under VirtualBox, anyone? From: Toan Pham To: Graham Davies Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: avr-chat@nongnu.org X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 15:13:46 -0000 If you are interested in knowing more advantages of vmware over vbox, here is the link to 'top 5 reasons why vmware is better than vbox'. http://forums.virtualbox.org/viewtopic.php?t=4272 On Fri, Mar 13, 2009 at 4:56 PM, Graham Davies wrote: > Vincent Trouilliez (and others) wrote (things like): >> >> Yeah, the only way to go ! ;-) > > OK, thanks for the encouragement. I will find a time with no critical work > on and do the install. My distro-of-choice is Xubuntu. I have 4 gigs of > memory, a dual AMD64 2.1 GHz and two 500 GB SATA 2 drives, so my system has > the power. Then I will see if AVR Studio in Windows XP in VirtualBox in > Xubuntu GNU/Linux is free of the flakiness I reported when I started this > thread. If it is, I may never boot back to my WinXP installations. > > Thanks everyone for the experience and advice. > > Graham. > > > > > _______________________________________________ > AVR-chat mailing list > AVR-chat@nongnu.org > http://lists.nongnu.org/mailman/listinfo/avr-chat > From MAILER-DAEMON Mon Mar 16 11:28:14 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LjEje-0007tI-CR for mharc-avr-chat@gnu.org; Mon, 16 Mar 2009 11:28:14 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LjEjb-0007sp-RN for avr-chat@nongnu.org; Mon, 16 Mar 2009 11:28:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LjEjW-0007sa-Gm for avr-chat@nongnu.org; Mon, 16 Mar 2009 11:28:10 -0400 Received: from [199.232.76.173] (port=42673 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LjEjW-0007sX-BK for avr-chat@nongnu.org; Mon, 16 Mar 2009 11:28:06 -0400 Received: from vms173009pub.verizon.net ([206.46.173.9]:24366) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LjEjW-0000rD-12 for avr-chat@nongnu.org; Mon, 16 Mar 2009 11:28:06 -0400 Received: from GrahamsInspiron ([98.118.86.11]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KGL007WFUYAUXX0@vms173009.mailsrvcs.net> for avr-chat@nongnu.org; Mon, 16 Mar 2009 10:27:52 -0500 (CDT) Message-id: <03a301c9a64b$c2c0e7f0$6500a8c0@GrahamsInspiron> From: "Graham Davies" To: References: <022901c9a326$6380cd00$6500a8c0@GrahamsInspiron> <023d01c9a34f$10e7f270$6500a8c0@GrahamsInspiron> <02cc01c9a3d9$65046f70$6500a8c0@GrahamsInspiron> <02f801c9a414$be19e8c0$6500a8c0@GrahamsInspiron> <20090313211152.47706c43.vincent.trouilliez@modulonet.fr> <033801c9a41e$3f32d580$6500a8c0@GrahamsInspiron> Subject: Re: [avr-chat] AVR Studio under VirtualBox, anyone? Date: Mon, 16 Mar 2009 11:27:40 -0400 Organization: Ecros Technology MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 15:28:12 -0000 Toan Pham wrote: > If you are interested in knowing more advantages of vmware over vbox, > here is the link to 'top 5 reasons why vmware is better than vbox'. > http://forums.virtualbox.org/viewtopic.php?t=4272 Well, that was really interesting. None of the "VMWare is better ..." points matter a gnat's toot to me, but that article was written in response to a "VirtualBox is better ..." posting. One of the points made there made me sure I have made the right choice - incredibly, VMWare presently has nothing like the "seamless" mouse integration of VirtualBox. I don't think I could live without that. Graham. From MAILER-DAEMON Thu Mar 19 05:45:26 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LkEoX-0001EH-RR for mharc-avr-chat@gnu.org; Thu, 19 Mar 2009 05:45:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkEoW-0001CR-1F for avr-chat@nongnu.org; Thu, 19 Mar 2009 05:45:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkEoR-00017m-8g for avr-chat@nongnu.org; Thu, 19 Mar 2009 05:45:23 -0400 Received: from [199.232.76.173] (port=53856 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkEoQ-00017Q-Vy for avr-chat@nongnu.org; Thu, 19 Mar 2009 05:45:19 -0400 Received: from mail.wwpass.com ([213.243.79.42]:59152 helo=wwpass.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkEoQ-00040A-Ir for avr-chat@nongnu.org; Thu, 19 Mar 2009 05:45:18 -0400 Received: from [10.111.1.40] (account g.kruglov HELO Tyelpelinta.wwpass.lan) by wwpass.com (CommuniGate Pro SMTP 5.2.8) with ESMTPSA id 532695 for avr-chat@nongnu.org; Thu, 19 Mar 2009 12:45:10 +0300 Date: Thu, 19 Mar 2009 12:45:01 +0300 From: Kreyl X-Priority: 3 (Normal) Message-ID: <904417787.20090319124501@yandex.ru> To: avr-chat@nongnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [avr-chat] How can I get AT90SCR100? X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: laystoll List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 09:45:24 -0000 Hi! =20 I would like to build my own Smart Card reader with some additional functionality. So, I need AT90SCR100, that looks exactly what I need. Alas, there is nothing alike in nearest shops. Please, would you suggest anything, where can I get it? E-bay, something else? Thanks! =20 Best regards, Kreyl mailto: laystoll@yandex.ru ICQ: 171094105 From MAILER-DAEMON Thu Mar 19 07:01:50 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LkG0U-0007qB-3b for mharc-avr-chat@gnu.org; Thu, 19 Mar 2009 07:01:50 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkG0S-0007q2-N7 for avr-chat@nongnu.org; Thu, 19 Mar 2009 07:01:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkG0O-0007pX-Mr for avr-chat@nongnu.org; Thu, 19 Mar 2009 07:01:48 -0400 Received: from [199.232.76.173] (port=60686 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkG0O-0007pU-Jl for avr-chat@nongnu.org; Thu, 19 Mar 2009 07:01:44 -0400 Received: from pne-smtpout2-sn2.hy.skanova.net ([81.228.8.164]:36203) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkG0O-0004rT-2q for avr-chat@nongnu.org; Thu, 19 Mar 2009 07:01:44 -0400 Received: from maxim.lillahusetiskogen.se (90.231.80.237) by pne-smtpout2-sn2.hy.skanova.net (7.3.129) id 4873CA9503CEC299 for avr-chat@nongnu.org; Thu, 19 Mar 2009 12:01:42 +0100 Date: Thu, 19 Mar 2009 12:01:41 +0100 From: To: avr-chat@nongnu.org Message-ID: <20090319120141.305a730f@maxim.lillahusetiskogen.se> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.12.0; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) Subject: [avr-chat] Today I killed my first AT90USB162. X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 11:01:48 -0000 Hi, After having tested a demo application using Flip I enabled debugWire using SPI. Tested to set breakpoints and single-step a bit. Seemed OK. Then I disabled debugWire using the button in platform options. After that it's impossible to talk to the chip either via debugWire or SPI. Same thing has happened with a few ATtiny2313 a couple of years ago. I'm using AVRStudio 4.15 build 623 and JTAGICE MkII. I guess the only way to fix the problem is to replace the chip. Or? Anyone out there with similar experiences? /Janne -- You deserve a better life, dump Windows! From MAILER-DAEMON Thu Mar 19 08:56:54 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LkHnq-0000QA-EP for mharc-avr-chat@gnu.org; Thu, 19 Mar 2009 08:56:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkHno-0000P1-2H for avr-chat@nongnu.org; Thu, 19 Mar 2009 08:56:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkHni-0000Lv-W3 for avr-chat@nongnu.org; Thu, 19 Mar 2009 08:56:51 -0400 Received: from [199.232.76.173] (port=49627 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkHni-0000LZ-Mo for avr-chat@nongnu.org; Thu, 19 Mar 2009 08:56:46 -0400 Received: from newsmtp5.atmel.com ([204.2.163.5]:42274 helo=sjogate2.atmel.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkHni-0005OE-5p for avr-chat@nongnu.org; Thu, 19 Mar 2009 08:56:46 -0400 Received: from csomb01.corp.atmel.com ([10.95.30.150]) by sjogate2.atmel.com (8.13.6/8.13.6) with ESMTP id n2JCtR7e021036; Thu, 19 Mar 2009 05:55:27 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [avr-chat] How can I get AT90SCR100? Date: Thu, 19 Mar 2009 06:56:44 -0600 Message-ID: <258DDD1F44B6ED4AAFD4370847CF58D505D1DAE1@csomb01.corp.atmel.com> In-Reply-To: <904417787.20090319124501@yandex.ru> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [avr-chat] How can I get AT90SCR100? Thread-Index: Acmod+vMHWsB+JVcThK6M6NLfTehMQAGilxw References: <904417787.20090319124501@yandex.ru> From: "Weddington, Eric" To: "laystoll" , X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 12:56:52 -0000 Send an email to avr AT atmel DOT com.=20 > -----Original Message----- > From: avr-chat-bounces+eweddington=3Dcso.atmel.com@nongnu.org=20 > [mailto:avr-chat-bounces+eweddington=3Dcso.atmel.com@nongnu.org] > On Behalf Of Kreyl > Sent: Thursday, March 19, 2009 3:45 AM > To: avr-chat@nongnu.org > Subject: [avr-chat] How can I get AT90SCR100? >=20 >=20 > Hi! =20 >=20 > I would like to build my own Smart Card reader with some additional > functionality. So, I need AT90SCR100, that looks exactly what I > need. >=20 > Alas, there is nothing alike in nearest shops. Please, would you > suggest anything, where can I get it? E-bay, something else? >=20 > Thanks! >=20 > =20 > Best regards, > Kreyl >=20 > mailto: laystoll@yandex.ru > ICQ: 171094105 >=20 >=20 >=20 > _______________________________________________ > AVR-chat mailing list > AVR-chat@nongnu.org > http://lists.nongnu.org/mailman/listinfo/avr-chat >=20 From MAILER-DAEMON Thu Mar 19 15:40:47 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LkO6h-0003ad-0d for mharc-avr-chat@gnu.org; Thu, 19 Mar 2009 15:40:47 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkO6f-0003Yn-Mx for avr-chat@nongnu.org; Thu, 19 Mar 2009 15:40:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkO6b-0003SC-0l for avr-chat@nongnu.org; Thu, 19 Mar 2009 15:40:45 -0400 Received: from [199.232.76.173] (port=55826 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkO6a-0003Rz-Nz for avr-chat@nongnu.org; Thu, 19 Mar 2009 15:40:40 -0400 Received: from uriah.heep.sax.de ([213.240.137.9]:60818) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LkO6a-0006SV-43 for avr-chat@nongnu.org; Thu, 19 Mar 2009 15:40:40 -0400 Received: by uriah.heep.sax.de (Postfix, from userid 107) id 2CE42186; Thu, 19 Mar 2009 20:40:36 +0100 (MET) Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <20090319120141.305a730f@maxim.lillahusetiskogen.se> In-Reply-To: <20090319120141.305a730f@maxim.lillahusetiskogen.se> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: [avr-chat] Today I killed my first AT90USB162. X-Original-Newsgroups: local.avr.chat To: avr-chat@nongnu.org Content-Type: text/plain; charset=us-ascii Message-Id: <20090319194036.2CE42186@uriah.heep.sax.de> Date: Thu, 19 Mar 2009 20:40:36 +0100 (MET) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 19:40:46 -0000 jan@lillahusetiskogen.se wrote: > I guess the only way to fix the problem is to replace the chip. Or? If parallel programming is an option to you, it should also help. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From MAILER-DAEMON Sun Mar 22 20:55:03 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LlYRT-0000Yy-7B for mharc-avr-chat@gnu.org; Sun, 22 Mar 2009 20:55:03 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LlYRS-0000Ya-2z for avr-chat@nongnu.org; Sun, 22 Mar 2009 20:55:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LlYRN-0000YN-1N for avr-chat@nongnu.org; Sun, 22 Mar 2009 20:55:01 -0400 Received: from [199.232.76.173] (port=58750 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LlYRM-0000YK-Qs for avr-chat@nongnu.org; Sun, 22 Mar 2009 20:54:56 -0400 Received: from poplet2.per.eftel.com ([203.24.100.45]:33228) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LlYRM-0007Om-8D for avr-chat@nongnu.org; Sun, 22 Mar 2009 20:54:56 -0400 Received: from mail.aanet.com.au (mail.aanet.com.au [203.24.100.34]) by poplet2.per.eftel.com (Postfix) with ESMTP id 3A1B317348E for ; Mon, 23 Mar 2009 09:54:24 +0900 (WST) Received: from DEVELOPMENT (202.63.38.189.static.rev.aanet.com.au [202.63.38.189]) by mail.aanet.com.au (Postfix) with ESMTP id A3A0D4607D5 for ; Mon, 23 Mar 2009 09:53:49 +0900 (WST) From: "Ron Kreymborg" To: References: <49A97C3E.5090905@innot.de><3B60D5DB-1B6F-4C2D-B112-D7AFE5E6F741@helicron.net> <49AD51C2.40602@innot.de> <258DDD1F44B6ED4AAFD4370847CF58D505A7F943@csomb01.corp.atmel.com> In-Reply-To: <258DDD1F44B6ED4AAFD4370847CF58D505A7F943@csomb01.corp.atmel.com> Date: Mon, 23 Mar 2009 11:53:51 +1100 Message-ID: <000301c9ab51$d6ae2f10$840a8d30$@com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcmcF9g1RGXmXnVZTKW9guSXNqgmlQAB+0DwA8wUnzA= Content-Language: en-au X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [avr-chat] TWI Multi-master X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 00:55:02 -0000 Hi Folks I have an app for which a multi-master protocol will be required. Implementing with TWI looks minimum cost and adequate. However, while researching I found this article http://www.robotroom.com/Atmel-AVR-TWI-I2C-Multi-Master-Problem.html that raises a possible problem with the Atmel hardware. It is dated 27-12-07 and includes a software workaround. I can use the latter of course, but I wonder if anyone else has seen this behaviour? Ron From MAILER-DAEMON Mon Mar 23 10:35:55 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LllFq-0005Nd-T8 for mharc-avr-chat@gnu.org; Mon, 23 Mar 2009 10:35:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LllFo-0005ND-0g for avr-chat@nongnu.org; Mon, 23 Mar 2009 10:35:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LllFi-0005MA-0L for avr-chat@nongnu.org; Mon, 23 Mar 2009 10:35:50 -0400 Received: from [199.232.76.173] (port=52589 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LllFh-0005M7-SJ for avr-chat@nongnu.org; Mon, 23 Mar 2009 10:35:45 -0400 Received: from mail.wwpass.com ([213.243.79.42]:38263 helo=wwpass.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LllFh-0004zF-DI for avr-chat@nongnu.org; Mon, 23 Mar 2009 10:35:45 -0400 Received: from [10.111.1.40] (account g.kruglov HELO Tyelpelinta.wwpass.lan) by wwpass.com (CommuniGate Pro SMTP 5.2.8) with ESMTPSA id 532913; Mon, 23 Mar 2009 17:35:42 +0300 Date: Mon, 23 Mar 2009 17:35:24 +0300 From: Kreyl X-Priority: 3 (Normal) Message-ID: <05821883.20090323173524@yandex.ru> To: avr@atmel.com, avr-chat@nongnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Subject: [avr-chat] How can I get AT90SCR100? X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: laystoll List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 14:35:52 -0000 Hi! =20 Our company would like to build Smart Card reader with some additional functionality. So, we need AT90SCR100, that looks exactly what we need. Alas, there is nothing alike in nearest etc. Please, would you suggest, how can I get it? Which local distributors could we apply to? We located in Moscow, Russian Federation. Thanks! =20 Best regards, Kruglov Gennadiy mailto: laystoll@yandex.ru ICQ: 171094105 From MAILER-DAEMON Mon Mar 23 22:43:50 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LlwcI-0001fj-Nx for mharc-avr-chat@gnu.org; Mon, 23 Mar 2009 22:43:50 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LlwcH-0001fJ-GK for avr-chat@nongnu.org; Mon, 23 Mar 2009 22:43:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LlwcC-0001f6-Qd for avr-chat@nongnu.org; Mon, 23 Mar 2009 22:43:48 -0400 Received: from [199.232.76.173] (port=59347 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LlwcC-0001f3-Ih for avr-chat@nongnu.org; Mon, 23 Mar 2009 22:43:44 -0400 Received: from poplet2.per.eftel.com ([203.24.100.45]:53931) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LlwcB-0003wr-N9 for avr-chat@nongnu.org; Mon, 23 Mar 2009 22:43:44 -0400 Received: from mail.aanet.com.au (mail.aanet.com.au [203.24.100.34]) by poplet2.per.eftel.com (Postfix) with ESMTP id 0B4D0173AA8 for ; Tue, 24 Mar 2009 11:43:29 +0900 (WST) Received: from DEVELOPMENT (202.63.38.189.static.rev.aanet.com.au [202.63.38.189]) by mail.aanet.com.au (Postfix) with ESMTP id 0279B149C0CC for ; Tue, 24 Mar 2009 11:43:25 +0900 (WST) From: "Ron Kreymborg" To: Subject: FW: [avr-chat] TWI Multi-master Date: Tue, 24 Mar 2009 13:43:27 +1100 Message-ID: <000901c9ac2a$517cb120$f4761360$@com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acmr0eeqr3XnK8AbSnit7uYpm3e7LwASnsBQAAN2iGA= Content-Language: en-au X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 02:43:49 -0000 > Hi again Ron, > > I have run into this issue twice now. In one case the type of > work-around David Cook suggests got me out of trouble, but in another > case the timing meant I could not use the TWI at all in a > multi-master environment. > > This is quite possibly the reason Atmel does TWI and not I2C! They > can't comply with the I2C validation suite. > > John Day Hi John Good to hear the problem confirmed and not just something unique to David Cook. My app must be multi-master but can afford the inter-packet gaps. Are these what caused your problem? Ron From MAILER-DAEMON Tue Mar 24 10:47:52 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lm7uy-0006mL-FR for mharc-avr-chat@gnu.org; Tue, 24 Mar 2009 10:47:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lm7uw-0006lg-Og for avr-chat@nongnu.org; Tue, 24 Mar 2009 10:47:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lm7ur-0006jc-Fc for avr-chat@nongnu.org; Tue, 24 Mar 2009 10:47:50 -0400 Received: from [199.232.76.173] (port=41145 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lm7uq-0006jF-PA for avr-chat@nongnu.org; Tue, 24 Mar 2009 10:47:45 -0400 Received: from banstyle.nuxx.net ([208.83.71.138]:54467) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lm7up-0004h2-R7 for avr-chat@nongnu.org; Tue, 24 Mar 2009 10:47:44 -0400 Received: from secure.nuxx.net (localhost [127.0.0.1]) by banstyle.nuxx.net (Postfix) with ESMTP id 3ACE82846E for ; Tue, 24 Mar 2009 10:47:42 -0400 (EDT) Received: from 208.83.71.138 (SquirrelMail authenticated user c0nsumer@nuxx.net) by secure.nuxx.net with HTTP; Tue, 24 Mar 2009 10:47:42 -0400 (EDT) Message-ID: <59acc5482dfccb80350909bc251c5f53.squirrel@secure.nuxx.net> Date: Tue, 24 Mar 2009 10:47:42 -0400 (EDT) From: "Steve Vigneau" To: avr-chat@nongnu.org User-Agent: SquirrelMail/1.4.16 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 (Normal) Importance: Normal Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [avr-chat] Question about HVPP with avrdude, AVR Dragon, and ATmega8 X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 14:47:51 -0000 Hi there... I've run into an issue with using HVPP on my AVR Dragon with an ATmega8 and I was wondering if someone here may be able to validate what I'm seeing and maybe have a fix. I have an AVR Dragon fitted with a DIP40 ZIF socket holding an ATmega8, connected per the Parallel Programming part of SCKT3200A2 in the Dragon documentation. Programming works just fine using AVR Studio, but with avrdude I'm unable to write the eeprom. Eeprom reading works fine, albeit slowly, as if I put a programmed mega8 in the socket and do a verify, it succeeds. The command line I'm using is as follows: avrdude -p m8 -c dragon_pp -P usb -U eeprom:w:SDrive.eep The file used can be found here: http://nuxx.net/files/sdrive_nuxx/SDrive= .eep I've tried this with on Windows XP with avrdude v5.6 (via WinAVR) and on OS X with v5.5 (via AVR MacPack) and the problem occurs both places. Thanks very much for any help you can give... -Steve From MAILER-DAEMON Tue Mar 24 12:04:26 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lm974-0001Tr-3Q for mharc-avr-chat@gnu.org; Tue, 24 Mar 2009 12:04:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lm971-0001RB-TE for avr-chat@nongnu.org; Tue, 24 Mar 2009 12:04:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lm96x-0001NK-0j for avr-chat@nongnu.org; Tue, 24 Mar 2009 12:04:23 -0400 Received: from [199.232.76.173] (port=60076 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lm96w-0001ND-Rm for avr-chat@nongnu.org; Tue, 24 Mar 2009 12:04:18 -0400 Received: from pne-smtpout2-sn1.fre.skanova.net ([81.228.11.159]:43696) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lm96w-0006Gp-Av for avr-chat@nongnu.org; Tue, 24 Mar 2009 12:04:18 -0400 Received: from maxim.lillahusetiskogen.se (90.231.80.237) by pne-smtpout2-sn1.fre.skanova.net (7.3.129) id 4843FAEB04467BEC; Tue, 24 Mar 2009 17:04:16 +0100 Date: Tue, 24 Mar 2009 17:04:13 +0100 From: To: avr-chat@nongnu.org Subject: Re: [avr-chat] Today I killed my first AT90USB162. Message-ID: <20090324170413.5c14c18c@maxim.lillahusetiskogen.se> In-Reply-To: <20090319194036.2CE42186@uriah.heep.sax.de> References: <20090319120141.305a730f@maxim.lillahusetiskogen.se> <20090319194036.2CE42186@uriah.heep.sax.de> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.12.0; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) Cc: Joerg Wunsch X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 16:04:24 -0000 On Thu, 19 Mar 2009 20:40:36 +0100 (MET) j@uriah.heep.sax.de (Joerg Wunsch) wrote: > jan@lillahusetiskogen.se wrote: > > > I guess the only way to fix the problem is to replace the chip. Or? > > If parallel programming is an option to you, it should also help. > I have checked the help for my STK500 and for my STK600. I have also checked the data sheet for the AT90USB162. It's not exactly trivial to set the stuff up for parallel programming. Not too complicated either but a lot of room for small mistakes. Which tool do you suggest I use? Parallel programming make me slightly nervous. /Janne -- You deserve a better life, dump Windows! From MAILER-DAEMON Tue Mar 24 14:24:00 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LmBI7-0003V0-Tb for mharc-avr-chat@gnu.org; Tue, 24 Mar 2009 14:24:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmBI5-0003TZ-OY for avr-chat@nongnu.org; Tue, 24 Mar 2009 14:23:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmBI0-0003Ql-HQ for avr-chat@nongnu.org; Tue, 24 Mar 2009 14:23:56 -0400 Received: from [199.232.76.173] (port=57361 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmBI0-0003Qd-DJ for avr-chat@nongnu.org; Tue, 24 Mar 2009 14:23:52 -0400 Received: from an-out-0708.google.com ([209.85.132.247]:12106) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LmBHz-00088D-Sw for avr-chat@nongnu.org; Tue, 24 Mar 2009 14:23:52 -0400 Received: by an-out-0708.google.com with SMTP id c5so1720792anc.37 for ; Tue, 24 Mar 2009 11:23:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KhOyq5a93zWHC6J5bO6xZ/YsiZav6+c/LftwhOThgQ8=; b=ooM+uUO+CWfyUXnaOtseOdVh8a2BERmPm8Ok+ughdM1AD04iLQ3pwx7dVcutvFQmxC 25xuaHHhg2GDccYG8c5u1VPfbRVaH69ReAV2JnH4madAwEU1efzmloKLhngpzhlpEyyf lpJUEtD93GGYL92+gk46bp8SX0msnFTr3Np78= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZlQdfkwpuGcSRgJbA29x9x8ct0NABDVRjT6aNfaQ7AGUlpFVCoRMYRODgIglFMIiDJ s/POfdb/uGacVA4mUsT1jK4QCLtViN4vXD/oKkbLX9zcPbyTjSaepXErk47i5VvHEVzC oZPtXRWVHvX+t2+lwORrMKIfHXbdughixkfQQ= MIME-Version: 1.0 Received: by 10.100.240.9 with SMTP id n9mr6989521anh.36.1237919028277; Tue, 24 Mar 2009 11:23:48 -0700 (PDT) In-Reply-To: <20090324170413.5c14c18c@maxim.lillahusetiskogen.se> References: <20090319120141.305a730f@maxim.lillahusetiskogen.se> <20090319194036.2CE42186@uriah.heep.sax.de> <20090324170413.5c14c18c@maxim.lillahusetiskogen.se> Date: Tue, 24 Mar 2009 14:23:47 -0400 Message-ID: Subject: Re: [avr-chat] Today I killed my first AT90USB162. From: Toan Pham To: jan@lillahusetiskogen.se Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: avr-chat@nongnu.org, Joerg Wunsch X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 18:23:58 -0000 Jan, I dont think that you need to parallel program your AT90. There is nothing wrong with it. Check all your cables from the MKII to the micro; and set the right fuse to go back to SPI. I've done this over 500 times. What procedure do you follow to do this, i'd like to read it and see if you miss anything. thanks Toan On Tue, Mar 24, 2009 at 12:04 PM, wrote: > On Thu, 19 Mar 2009 20:40:36 +0100 (MET) > j@uriah.heep.sax.de (Joerg Wunsch) wrote: > >> jan@lillahusetiskogen.se wrote: >> >> > I guess the only way to fix the problem is to replace the chip. Or? >> >> If parallel programming is an option to you, it should also help. >> > > I have checked the help for my STK500 and for my STK600. I have also > checked the data sheet for the AT90USB162. It's not exactly trivial to > set the stuff up for parallel programming. Not too complicated either > but a lot of room for small mistakes. > > Which tool do you suggest I use? > > Parallel programming make me slightly nervous. > /Janne > > -- > You deserve a better life, dump Windows! > > > _______________________________________________ > AVR-chat mailing list > AVR-chat@nongnu.org > http://lists.nongnu.org/mailman/listinfo/avr-chat > From MAILER-DAEMON Tue Mar 24 15:59:19 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LmCmN-0002Z9-6V for mharc-avr-chat@gnu.org; Tue, 24 Mar 2009 15:59:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmCmK-0002XN-Mt for avr-chat@nongnu.org; Tue, 24 Mar 2009 15:59:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmCmF-0002SP-AS for avr-chat@nongnu.org; Tue, 24 Mar 2009 15:59:15 -0400 Received: from [199.232.76.173] (port=38983 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmCmE-0002S6-Uq for avr-chat@nongnu.org; Tue, 24 Mar 2009 15:59:11 -0400 Received: from uriah.heep.sax.de ([213.240.137.9]:53112) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LmCmE-0003Fw-Ba for avr-chat@nongnu.org; Tue, 24 Mar 2009 15:59:10 -0400 Received: by uriah.heep.sax.de (Postfix, from userid 107) id 589821FF; Tue, 24 Mar 2009 20:59:04 +0100 (MET) Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <59acc5482dfccb80350909bc251c5f53.squirrel@secure.nuxx.net> In-Reply-To: <59acc5482dfccb80350909bc251c5f53.squirrel@secure.nuxx.net> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: [avr-chat] Question about HVPP with avrdude, AVR Dragon, and ATmega8 X-Original-Newsgroups: local.avr.chat To: avr-chat@nongnu.org Content-Type: text/plain; charset=us-ascii Message-Id: <20090324195904.589821FF@uriah.heep.sax.de> Date: Tue, 24 Mar 2009 20:59:04 +0100 (MET) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 19:59:17 -0000 Steve Vigneau wrote: > Programming works just fine using AVR Studio, but with > avrdude I'm unable to write the eeprom. The only thing that comes to mind is the following part of the avrdude man page: Page-mode programming the EEPROM through JTAG (i.e. through an -U option) requires a prior chip erase. This is an inherent feature of the way JTAG EEPROM programming works. This also applies to the STK500 and STK600 in parallel programming mode. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From MAILER-DAEMON Wed Mar 25 14:22:18 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LmXk2-0002I3-Bu for mharc-avr-chat@gnu.org; Wed, 25 Mar 2009 14:22:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmXk0-0002Ec-4S for avr-chat@nongnu.org; Wed, 25 Mar 2009 14:22:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmXjv-000290-35 for avr-chat@nongnu.org; Wed, 25 Mar 2009 14:22:15 -0400 Received: from [199.232.76.173] (port=44437 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmXju-00028Z-MA for avr-chat@nongnu.org; Wed, 25 Mar 2009 14:22:10 -0400 Received: from server205.webhostingpad.com ([69.65.0.221]:49208) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LmXju-0003pE-DZ for avr-chat@nongnu.org; Wed, 25 Mar 2009 14:22:10 -0400 Received: from open-15.cs.mcgill.ca ([132.206.54.85]) by server205.webhostingpad.com with esmtpa (Exim 4.69) (envelope-from ) id 1LmXjV-0000ZJ-NA for avr-chat@nongnu.org; Wed, 25 Mar 2009 13:21:46 -0500 Message-ID: <49CA764B.6040804@basementcode.com> Date: Wed, 25 Mar 2009 14:22:03 -0400 From: Christopher Harvey User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: avr-chat@nongnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server205.webhostingpad.com X-AntiAbuse: Original Domain - nongnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - basementcode.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [avr-chat] atmega664 with avrdude X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2009 18:22:16 -0000 Hi, Just wanted to ask if anybody has the config file for using an atmega664 or atmega664p with avrdude 5.5 or later. I'm using a usbasp if it matters. I don't have the chip yet, but I've wondered if I could just use the m164 config file because that chip has the same datasheet as the 664, except the 664 has more memory. Thanks, Chris. From MAILER-DAEMON Wed Mar 25 14:32:06 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LmXtW-0003Sk-8l for mharc-avr-chat@gnu.org; Wed, 25 Mar 2009 14:32:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmXtU-0003Rb-Mv for avr-chat@nongnu.org; Wed, 25 Mar 2009 14:32:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmXtQ-0003Nj-0q for avr-chat@nongnu.org; Wed, 25 Mar 2009 14:32:04 -0400 Received: from [199.232.76.173] (port=47116 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmXtP-0003Na-Pf for avr-chat@nongnu.org; Wed, 25 Mar 2009 14:31:59 -0400 Received: from server205.webhostingpad.com ([69.65.0.221]:54281) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LmXtP-0006Fd-8P for avr-chat@nongnu.org; Wed, 25 Mar 2009 14:31:59 -0400 Received: from open-15.cs.mcgill.ca ([132.206.54.85]) by server205.webhostingpad.com with esmtpa (Exim 4.69) (envelope-from ) id 1LmXt5-0002hs-8x; Wed, 25 Mar 2009 13:31:39 -0500 Message-ID: <49CA789D.2010705@basementcode.com> Date: Wed, 25 Mar 2009 14:31:57 -0400 From: Christopher Harvey User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: Chris Kuethe , avr-chat@nongnu.org Subject: Re: [avr-chat] atmega664 with avrdude References: <49CA764B.6040804@basementcode.com> <91981b3e0903251126p51f470acgcaaa05678dfa3a09@mail.gmail.com> In-Reply-To: <91981b3e0903251126p51f470acgcaaa05678dfa3a09@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server205.webhostingpad.com X-AntiAbuse: Original Domain - nongnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - basementcode.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2009 18:32:05 -0000 I clearly have too many part numbers floating around in my head. 664 doesn't exist. I meant 644, and 644 is recognized by avrdude 5.5. Sorry for the noise. Chris Kuethe wrote: > '664 or '644? > > i can program my 644p (sanguino) with avrdude using a usbtiny. > > On Wed, Mar 25, 2009 at 12:22 PM, Christopher Harvey > wrote: > >> Hi, >> Just wanted to ask if anybody has the config file for using an atmega664 or >> atmega664p with avrdude 5.5 or later. I'm using a usbasp if it matters. >> I don't have the chip yet, but I've wondered if I could just use the m164 >> config file because that chip has the same datasheet as the 664, except the >> 664 has more memory. >> >> Thanks, >> Chris. >> >> >> _______________________________________________ >> AVR-chat mailing list >> AVR-chat@nongnu.org >> http://lists.nongnu.org/mailman/listinfo/avr-chat >> >> > > > > From MAILER-DAEMON Thu Mar 26 03:24:11 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lmjwg-0000xK-V4 for mharc-avr-chat@gnu.org; Thu, 26 Mar 2009 03:24:10 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lmjwf-0000xD-JN for avr-chat@nongnu.org; Thu, 26 Mar 2009 03:24:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lmjwa-0000x1-Sg for avr-chat@nongnu.org; Thu, 26 Mar 2009 03:24:09 -0400 Received: from [199.232.76.173] (port=44214 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lmjwa-0000wy-NH for avr-chat@nongnu.org; Thu, 26 Mar 2009 03:24:04 -0400 Received: from mx20.gnu.org ([199.232.41.8]:13828) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lmjwa-0003ed-5o for avr-chat@nongnu.org; Thu, 26 Mar 2009 03:24:04 -0400 Received: from mail-39.dri-services.net ([195.114.26.39] helo=mail-39.produhost.net) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LmjwZ-0003IF-7T for avr-chat@nongnu.org; Thu, 26 Mar 2009 03:24:03 -0400 Received: from [192.168.10.143] ([217.108.200.193]) (authenticated bits=0) by mail-39.produhost.net (8.13.8/8.13.8) with ESMTP id n2Q7NrxN010228 for ; Thu, 26 Mar 2009 08:23:53 +0100 Message-ID: <49CB2D75.9050800@estar-system.com> Date: Thu, 26 Mar 2009 08:23:33 +0100 From: Erwan MARC User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: avr-chat@nongnu.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Virus-Scanned: ClamAV 0.94.2/9169/Thu Mar 26 05:13:48 2009 on mail-39.produhost.net X-Virus-Status: Clean X-PRODUHOST-Scanner-Information: Please contact the ISP for more information X-PRODUHOST-MailScanner-ID: n2Q7NrxN010228 X-PRODUHOST-Scanner: Found to be clean X-PRODUHOST-Scanner-SpamCheck: n'est pas un polluriel, SpamAssassin (not cached, score=-4.399, requis 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-PRODUHOST-Scanner-From: emarc@estar-system.com Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by mail-39.produhost.net id n2Q7NrxN010228 X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: [avr-chat] ATTiny167 on avrdude X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 07:24:09 -0000 Hello, I have to use an ATTiny167 for an application and foud out that avr-gcc=20 tool chain was ready for this part. On an other side, I'd like to use=20 eclipse for may developments on several targets (Atmel or not) so I was=20 pleased to find the avr-plugin for eclipse. The compilation step is perfect, easy to implement but after that for=20 programming (and debugging) I face a problem: avrdude is not able to manage this part, nor through avrISP or JTAGICE. I'm not a specialist of ISP protocol but why is is necessary to make=20 specific work for such a new part? Then is it possible to program the chip with .elf file on an other tool=20 (such as avr studio :-( ) and come back to eclispe with gdb for=20 debugging purpose? Do you have tips to remain all time on eclipse environment and avoid, if=20 possible, to switch to avr studio? Regards --=20 MARC Erwan - ESTAR System Engineer Project Manager tel: +33 (0)2 99 88 69 09 mob: +33 (0)6 45 92 28 56 emarc@estar-system.com Parc Activit=E9s Les Villes Billy - B.P. 9 F-35780 La Richardais www.estar-system.com From MAILER-DAEMON Thu Mar 26 15:29:33 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LmvGf-0005mR-QY for mharc-avr-chat@gnu.org; Thu, 26 Mar 2009 15:29:33 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmvGe-0005jw-In for avr-chat@nongnu.org; Thu, 26 Mar 2009 15:29:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmvGa-0005cF-NH for avr-chat@nongnu.org; Thu, 26 Mar 2009 15:29:32 -0400 Received: from [199.232.76.173] (port=35051 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmvGa-0005bz-K6 for avr-chat@nongnu.org; Thu, 26 Mar 2009 15:29:28 -0400 Received: from uriah.heep.sax.de ([213.240.137.9]:49468) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LmvGa-0003Dx-5U for avr-chat@nongnu.org; Thu, 26 Mar 2009 15:29:28 -0400 Received: by uriah.heep.sax.de (Postfix, from userid 107) id EB9DB3B; Thu, 26 Mar 2009 20:29:24 +0100 (MET) Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <49CB2D75.9050800@estar-system.com> In-Reply-To: <49CB2D75.9050800@estar-system.com> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: [avr-chat] ATTiny167 on avrdude X-Original-Newsgroups: local.avr.chat To: avr-chat@nongnu.org Content-Type: text/plain; charset=us-ascii Message-Id: <20090326192924.EB9DB3B@uriah.heep.sax.de> Date: Thu, 26 Mar 2009 20:29:24 +0100 (MET) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 19:29:32 -0000 Erwan MARC wrote: > avrdude is not able to manage this part, nor through avrISP or > JTAGICE. As you've already sent an email to the avrdude-dev list, let's discuss it there. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From MAILER-DAEMON Thu Mar 26 17:36:59 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LmxFz-0007Q5-93 for mharc-avr-chat@gnu.org; Thu, 26 Mar 2009 17:36:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmxFy-0007Pw-IH for avr-chat@nongnu.org; Thu, 26 Mar 2009 17:36:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmxFt-0007PL-OG for avr-chat@nongnu.org; Thu, 26 Mar 2009 17:36:57 -0400 Received: from [199.232.76.173] (port=37046 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmxFt-0007PI-Jn for avr-chat@nongnu.org; Thu, 26 Mar 2009 17:36:53 -0400 Received: from mo-p05-ob.rzone.de ([81.169.146.182]:51038) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LmxFt-0006qX-79 for avr-chat@nongnu.org; Thu, 26 Mar 2009 17:36:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1238103411; l=1642; s=domk; d=innot.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=hEa488HTJvJL/1E/MAnD8g/ttzrq9Tu+TUypdBY7rU0=; b=dTP+JgYuaf21CjalpUi6Aqg8q6Yh30KNaKDfZ3t0Rw/VRbZH3gCesyEhrsbv8BCUPxf Z1j7UFoTcVkj2DPYsKyEIpVW0a8joElRZIwHhEFCd98h3OCBqev8MhN1phrpcl9Ht7eHC mu0Qm/zJYAKxYS59qZQw+3CzAtLHViMhxKE= X-RZG-AUTH: :OGQLeEG7PvaF0ahmuAlkw8LEenZL1ATM9pX5MSCriFfler0eiN9oW9MBi4c= X-RZG-CLASS-ID: mo05 Received: from [192.168.2.22] ([94.79.175.114]) by post.strato.de (mrclete mo54) (RZmta 18.28) with ESMTP id N01268l2QLYj3L for ; Thu, 26 Mar 2009 22:36:51 +0100 (MET) Message-ID: <49CBF573.1000403@innot.de> Date: Thu, 26 Mar 2009 22:36:51 +0100 From: Thomas Holland User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: avr-chat@nongnu.org Subject: Re: [avr-chat] ATTiny167 on avrdude References: <49CB2D75.9050800@estar-system.com> In-Reply-To: <49CB2D75.9050800@estar-system.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 21:36:58 -0000 Hi Marc, AVaRICE (v2.8) seems to support the ATtiny167, so you should be able to debug it from Eclipse. Take a look at the AVR Eclipse Plugin debugging tutorial ( http://avr-eclipse.sourceforge.net/wiki/index.php/Debugging ) on how to set everything up. With the right setup the debugger will transfer your application to your ATtiny167 Flash mem. It won't burn fuses and lockbits and it probably won't program the EEPROM, but maybe you can live without this. AVaRICE could also be used to program this MCU (incl. fuses etc.), but this is not supported by the plugin (yet -- I am working on it :-). In the meantime you could set up avarice as an 'External Tool' in Eclipse to use it as a programmer. brgds, Thomas Erwan MARC wrote: > Hello, > I have to use an ATTiny167 for an application and foud out that > avr-gcc tool chain was ready for this part. On an other side, I'd like > to use eclipse for may developments on several targets (Atmel or not) > so I was pleased to find the avr-plugin for eclipse. > The compilation step is perfect, easy to implement but after that for > programming (and debugging) I face a problem: > avrdude is not able to manage this part, nor through avrISP or JTAGICE. > I'm not a specialist of ISP protocol but why is is necessary to make > specific work for such a new part? > > Then is it possible to program the chip with .elf file on an other > tool (such as avr studio :-( ) and come back to eclispe with gdb for > debugging purpose? > > Do you have tips to remain all time on eclipse environment and avoid, > if possible, to switch to avr studio? > > Regards From MAILER-DAEMON Thu Mar 26 18:07:42 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Lmxjh-0006Dq-TO for mharc-avr-chat@gnu.org; Thu, 26 Mar 2009 18:07:41 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lmxjh-0006Cu-0C for avr-chat@nongnu.org; Thu, 26 Mar 2009 18:07:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lmxjc-0006BP-GS for avr-chat@nongnu.org; Thu, 26 Mar 2009 18:07:40 -0400 Received: from [199.232.76.173] (port=48538 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lmxjc-0006BM-Db for avr-chat@nongnu.org; Thu, 26 Mar 2009 18:07:36 -0400 Received: from uriah.heep.sax.de ([213.240.137.9]:52387) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lmxjb-0001vk-Ng for avr-chat@nongnu.org; Thu, 26 Mar 2009 18:07:36 -0400 Received: by uriah.heep.sax.de (Postfix, from userid 107) id 209C33B; Thu, 26 Mar 2009 23:07:34 +0100 (MET) Mime-Version: 1.0 X-Newsreader: knews 1.0b.1 Organization: Private BSD site, Dresden X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E References: <49CB2D75.9050800@estar-system.com> <49CBF573.1000403@innot.de> In-Reply-To: <49CBF573.1000403@innot.de> From: j@uriah.heep.sax.de (Joerg Wunsch) Subject: Re: [avr-chat] ATTiny167 on avrdude X-Original-Newsgroups: local.avr.chat To: avr-chat@nongnu.org Content-Type: text/plain; charset=us-ascii Message-Id: <20090326220734.209C33B@uriah.heep.sax.de> Date: Thu, 26 Mar 2009 23:07:34 +0100 (MET) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joerg Wunsch List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 22:07:41 -0000 Thomas Holland wrote: > AVaRICE could also be used to program this MCU (incl. fuses etc.) I wouldn't want to advertise that. If at all, it could only work using debugWIRE (rather than ISP), but even that, I never really verified it actually works. The way out is to add it to the avrdude.conf file. See avrdude bug #26007. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) From MAILER-DAEMON Tue Mar 31 12:16:15 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LogdL-0008E3-4D for mharc-avr-chat@gnu.org; Tue, 31 Mar 2009 12:16:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LogdI-0008Cc-HH for avr-chat@nongnu.org; Tue, 31 Mar 2009 12:16:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LogdH-0008Bm-49 for avr-chat@nongnu.org; Tue, 31 Mar 2009 12:16:11 -0400 Received: from [199.232.76.173] (port=37940 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LogdG-0008Bd-Oc for avr-chat@nongnu.org; Tue, 31 Mar 2009 12:16:10 -0400 Received: from qw-out-1920.google.com ([74.125.92.150]:5788) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LogdG-0004xl-Fj for avr-chat@nongnu.org; Tue, 31 Mar 2009 12:16:10 -0400 Received: by qw-out-1920.google.com with SMTP id 5so1689616qwf.4 for ; Tue, 31 Mar 2009 09:16:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=g346VlcbFu6Vl5g5jufmhABnklGZx0oZyZ7dZDqB0j8=; b=eBMHmBcvlGrEcVfooMKoVQJiACa7Bg6oXMfJa3j+5GGTiKOb2rQvWCowyouSPQDZgd B2kkkFU0X99ltnVWxS36AxQ/dTBk9Q92gFoDp+BfSCUAdtdSZ26oWR9/oDJYnPZYZvye Uaof18Rs1BCN66uzoEF/9Za0HN92ScqoajFQI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=QihDhyW1wjS7hnZoNG1K9ezW7wBYmY/IVJLaGFj0LShUIBVxWRliViQOTHxsgf+l8j TPZEHiXZ1Oqb/Jd5hXOCASOuNjg54SkTKPIDKnc4fRAGdvMlow0Fkh4loj58sC1GgkvM NH99rrQGpWJ62hBos14rne3g3iuCQELI886wU= MIME-Version: 1.0 Received: by 10.229.100.7 with SMTP id w7mr2555192qcn.5.1238516167626; Tue, 31 Mar 2009 09:16:07 -0700 (PDT) Date: Tue, 31 Mar 2009 12:16:07 -0400 Message-ID: From: Bob Paddock To: avr-chat@nongnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [avr-chat] XMega PDI_DATA and PDI_CLK must be balanced? X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 16:16:13 -0000 I'm doing a my first design with a XMega, there are sections about the PDI interface I'm not clear on. In AVR1005 we can read: "5.1 Hardware design requirements to make PDI work The PDI interface is a synchronous half-duplex UART interface. The two lines, PDI_DATA and PDI_CLK, must therefore be balanced. If you place a strong pull-up and decoupling cap on the PDI_CLK, which is also the Reset line, the clock and data will no longer be synchronized correctly. Therefore, during development you should remove any pull-up and decoupling capacitors. This also applies if using the PDI interface for in-system programming the XMEGA in production." I can consider removing my external pull-up resistor (can not do much about the internal pull up resistor) on my development board. However that last line is non-sense. I'm supposed remove the resistor and put it back on thousands of production units? My first thought was to put a pull up and small cap on the PDI_DATA line to balance out the fact that PDI_CLOCK/Reset# goes several places. Alas this won't work, or at least has side effects I don't want. PDI_DATA has an internal pull down when PDI is enabled, see section 29.3.1 of XMega A manual. Does this mean the input pin is floating at all other times? That can't be good. Pull up on PDI_DATA also slows down start up time by 100us, that I do not want. A pull down on PDI_DATA seems wise to me in a electrically noisy environment like mine. This defeats the pull-up/cap balance idea. Are PDI_CLK/PDI_DATA really to the point they have to be treated as LVDS like matched length signals? This seems unlikely given the programmers they are likely to be hooked up to, like the JTAG-MKII, or other programmers supported by AVRDUDE. From MAILER-DAEMON Tue Mar 31 12:39:54 2009 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Loh0E-0006uw-7K for mharc-avr-chat@gnu.org; Tue, 31 Mar 2009 12:39:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Loh0B-0006sE-PO for avr-chat@nongnu.org; Tue, 31 Mar 2009 12:39:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Loh08-0006nW-4G for avr-chat@nongnu.org; Tue, 31 Mar 2009 12:39:51 -0400 Received: from [199.232.76.173] (port=47102 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Loh07-0006nD-Kj for avr-chat@nongnu.org; Tue, 31 Mar 2009 12:39:47 -0400 Received: from newsmtp5.atmel.com ([204.2.163.5]:28448 helo=sjogate2.atmel.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Loh05-0001PL-Qm for avr-chat@nongnu.org; Tue, 31 Mar 2009 12:39:46 -0400 Received: from csomb01.corp.atmel.com ([10.95.30.150]) by sjogate2.atmel.com (8.13.6/8.13.6) with ESMTP id n2VGcRfr005833; Tue, 31 Mar 2009 09:38:28 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [avr-chat] XMega PDI_DATA and PDI_CLK must be balanced? Date: Tue, 31 Mar 2009 10:39:41 -0600 Message-ID: <258DDD1F44B6ED4AAFD4370847CF58D505F256DE@csomb01.corp.atmel.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [avr-chat] XMega PDI_DATA and PDI_CLK must be balanced? Thread-Index: AcmyHjF9PF7JJr7eRGS4edgGkEvptAAAM+4Q References: From: "Weddington, Eric" To: "Bob Paddock" , X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: X-BeenThere: avr-chat@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Non-technical discussions around AVR-GCC and the AVR List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 16:39:52 -0000 =20 > -----Original Message----- > From: avr-chat-bounces+eric.weddington=3Datmel.com@nongnu.org=20 > [mailto:avr-chat-bounces+eric.weddington=3Datmel.com@nongnu.org] > On Behalf Of Bob Paddock > Sent: Tuesday, March 31, 2009 10:16 AM > To: avr-chat@nongnu.org > Subject: [avr-chat] XMega PDI_DATA and PDI_CLK must be balanced? >=20 > I'm doing a my first design with a XMega, there are sections about > the PDI interface I'm not clear on. In AVR1005 we can read: >=20 > "5.1 Hardware design requirements to make PDI work >=20 > The PDI interface is a synchronous half-duplex UART=20 > interface. The two lines, > PDI_DATA and PDI_CLK, must therefore be balanced. If you=20 > place a strong pull-up > and decoupling cap on the PDI_CLK, which is also the Reset line, the > clock and data > will no longer be synchronized correctly. Therefore, during > development you should > remove any pull-up and decoupling capacitors. This also=20 > applies if using the PDI > interface for in-system programming the XMEGA in production." Sorry, but to be fair, I'm not a EE. My background is in software = engineering. I can't answer these types of questions for you. :-( Your best bet would be to ask avr@atmel.com for clarification, or your = local FAE. Eric Weddington