2012-11-26 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "bayramdavies" wrote: >[...] I don't have the space for the 10-pin JTAG header. JTAG only uses 6 pins (Vcc, Gnd, TCK, TMS, TDI, TDO). An alternative would be to use a 6-pin header and/or a finer pitch header and then make an adapter cable from tha
Thread view
Attachments: 0
2012-11-26 by bayramdavies
--- In AVR-Chat@yahoogroups.com, David Kelly wrote: > Am pretty sure the ATmega64 I was > using in 2006 did not come with > JTAG enabled. First, let me say I'm only continuing this side-thread so that people listening in know the truth, not because I'm in the mood for an argument
Thread view
Attachments: 0
2012-11-26 by David Kelly
On Nov 26, 2012, at 3:28 PM, bayramdavies wrote: > --- In AVR-Chat@yahoogroups.com, David Kelly wrote: >> >> ... if your virgin parts do >> not come with JTAG enabled ... > > They do. I am a big, big fan of JTAG and I've never had to enable it before using it. Am pretty sure the
Thread view
Attachments: 0
2012-11-26 by bayramdavies
--- In AVR-Chat@yahoogroups.com, David Kelly wrote: > > ... if your virgin parts do > not come with JTAG enabled ... They do. I am a big, big fan of JTAG and I've never had to enable it before using it. Graham.
Thread view
Attachments: 0
2012-11-26 by Philippe Habib
He had a dragon, and had some boards that a previous person had put into debug mode so he couldn't program them. He couldn't turn off the DWEN fuse with his Dragon so I loaned him my mk2, which he used for a while. Then he told me he could set fuses with the MK2, but not program
Thread view
Attachments: 0
2012-11-26 by David Kelly
On Nov 26, 2012, at 1:07 PM, Philippe Habib wrote: > I had to Mk2s and loaned one to a client and he says its partially fried now. Until I get it back I won't know what that means. I'm not sure what he did to cook it, but he says he can set fuses with it but needs to use his Drag
Thread view
Attachments: 0
2012-11-26 by Philippe Habib
I had to Mk2s and loaned one to a client and he says its partially fried now. Until I get it back I won't know what that means. I'm not sure what he did to cook it, but he says he can set fuses with it but needs to use his Dragon to program parts. ----- Original Message ----- Fro
Thread view
Attachments: 0
2012-11-26 by Chuck Hackett
> From: Chuck Hackett > .... > I knew that resurrecting my (minimal) YAK/LEX skills might be overkill for this > :-) Ooops, I meant Yacc/Lex ... Chuck
Thread view
Attachments: 0
2012-11-26 by Chuck Hackett
> From: Don Kinzer > > --- In AVR-Chat@yahoogroups.com, "Chuck Hackett" > wrote: > > I am looking for a simple expression evaluation routine [...] > An operator precedence parser is a pretty simple mechanism and easy to > implement. With a web search you may be able to find sourc
Thread view
Attachments: 0
2012-11-26 by Chuck Hackett
> From: Jim Wagner > > So, are the variables internally determined (for example, from sensors) while > the expression is entered by the user such that the symbols (T1, and so > forth) are just references to the internal variables? Exactly Jim, currently the configuration allows s
Thread view
Attachments: 0
2012-11-26 by Mauro Zanin
Our sql server engine has this native capability ambedded. It can evaluate stored or realtime using stored or realtime parameters. It runs on a windows server. Ciao Mauro Zanin Logic Data ----- Original Message ----- From: Chuck Hackett To: AVR-Chat Sent: Sunday, November 25, 201
Thread view
Attachments: 0
2012-11-26 by Jim Wagner
Chuck So, are the variables internally determined (for example, from sensors) while the expression is entered by the user such that the symbols (T1, and so forth) are just references to the internal variables? Jim Wagner Oregon Research Electronics On Nov 25, 2012, at 4:23 PM, Ch
Thread view
Attachments: 0
2012-11-26 by Chuck Hackett
> From: Jim Wagner > > Is this an ASCII input or are the variables just pin states? Is the expression > variable from one time to the next (that is, does the machine have to parse > the expression) or is the expression set at compile time? Expression is in ASCII and is evaluated
Thread view
Attachments: 0
2012-11-25 by Don Kinzer
--- In AVR-Chat@yahoogroups.com, "Chuck Hackett" wrote: > I am looking for a simple expression evaluation routine [...] An operator precedence parser is a pretty simple mechanism and easy to implement. With a web search you may be able to find source code (in C) for such a parser
Thread view
Attachments: 0
2012-11-25 by Jim Wagner
Is this an ASCII input or are the variables just pin states? Is the expression variable from one time to the next (that is, does the machine have to parse the expression) or is the expression set at compile time? Jim Wagner On Nov 25, 2012, at 2:08 PM, Chuck Hackett wrote: > I am
Thread view
Attachments: 0
2012-11-25 by Chuck Hackett
I am looking for a simple expression evaluation routine for use in an AVR embedded system. My needs are simple: - Binary logical operators: logical AND (&) and OR(|) - Unary operator NOT(!) - Parentheses - Known (system) variables (T1, S1, etc.) Expressions such as: (T1 | S1) & (
Thread view
Attachments: 0
2012-11-25 by John Samperi
At 03:10 AM 26/11/2012, you wrote: >I managed to fry my Mk2. It's been a while but IIRC it was something to do >with the reset line, some voltage got on it that should have known better. I did the same but just replaced the transorb chip behind the ribbon cable header and it came
Thread view
Attachments: 0
2012-11-25 by Steven Hodge
I managed to fry my Mk2. It's been a while but IIRC it was something to do with the reset line, some voltage got on it that should have known better. Steve From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Dave McLaughlin Sent: Saturday, November 24, 2
Thread view
Attachments: 0
2012-11-25 by Dave McLaughlin
Good choice Chuck, I have had my JTAG ICE Mk2 for about 8+ years now and it is bullet proof. I have done silly things with wrong wiring and still it works. Far more sturdy interface than the Dragon so a good choice for the serious developer. Dave. From: AVR-Chat@yahoogroups.com [
Thread view
Attachments: 0
2012-11-25 by Jim Wagner
I suspect that most MkIIs will have to have a software upgrade if you run it from Studio6. This happens pretty transparently, after you give permission, but it may catch you by surprise if you are not aware of it. Jim Wagner Oregon Research Electronics On Nov 24, 2012, at 7:06 PM
Thread view
Attachments: 0
2012-11-25 by Chuck Hackett
I ordered a JTAG MKII today to replace the Dragon I killed. Hopefully I won't kill it like I did the dragon. Any issues I should be aware of in terms of potentially killing a MKII? Cheers, Chuck Hackett "Good judgment comes from experience, experience comes from bad judgment" 7.5
Thread view
Attachments: 0
2012-11-22 by Dave McLaughlin
Just ordered replacements. Lack of board space dictates the 8 pin device is the only solution. I may just leave it at the default speed and enable the debug-wire only. With luck, that should work. Dave. From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of
Thread view
Attachments: 0
2012-11-21 by Dave McLaughlin
Hi Tim, Yes I could but I would also like a way to recover these devices should I do it again. I have 2 boards just now with bricked IC's. I have ordered 2 replacements already so will use these if the recovery is not successful. At least then I have a method to recover in the fu
Thread view
Attachments: 0
2012-11-21 by Tim Mitchell
Hi Dave, Can't you just replace the Tiny? Seems like a lot of work otherwise. We designed a product which used the HV programming mode and had repeated trouble with programming, it seems to be very flaky compared to the normal ISP mode. So much so that we avoid the HV mode now an
Thread view
Attachments: 0
2012-11-21 by Dave McLaughlin
Thanks for the idea Bob. I have ordered a clip for this today and will build up the rest of the circuit to do the high voltage programming. Cheers Dave. From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of bobg12546 Sent: 21 November 2012 01:34 To: AVR-Ch
Thread view
Attachments: 0
2012-11-20 by bobg12546
Dave, I make a board that uses an ATTINY2313 in a SOIC package. I program it using a Pomona Clip that clips onto the leads that are soldered to the board. You can see it in action on my web page: http://gardnerswebsite.com/ninjamods/index.html There's also a link on that page to
Thread view
Attachments: 0
2012-11-20 by Dave McLaughlin
Thanks Alex, I tried slowing the SPI clock. No reply. I didn't enable the external clock. I enabled the internal RC 4Mhz and 64ms reset option with CLKDIV8 enabled. Dave. From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of Alex Shepherd Sent: 20 November
Thread view
Attachments: 0
2012-11-20 by Alex Shepherd
> I have inadvertently bricked an ATTINY13 after trying to set the fuses. Well you may have: 1) Set the AVRs clock to be too slow for the SPI clock speed in your ICSP. Try slowing your ICSP programmer speed right down. 2) you've enabled the external xtal/clock so it will now need
Thread view
Attachments: 0
2012-11-20 by Dave McLaughlin
Hi all, I have inadvertently bricked an ATTINY13 after trying to set the fuses. I was trying to set the 4MHz speed with 64ms start up and also enabling the Debug Wire interface. Now I can't talk to the device at all. I have searched around and found some stuff on the high voltage
Thread view
Attachments: 0
2012-11-14 by David Kelly
On Nov 13, 2012, at 6:04 PM, John Samperi wrote: > The new JTAG Mk3 is only $99.00 but ONLY works with the horrendous AS6. Perhaps that is why the mkII price seems to be peaking. IIRC I paid $150 a few years ago from Arrow for my mkII. -- David Kelly N4HHE, dkelly@HiWAAY.net ====
Thread view
Attachments: 0
2012-11-14 by Steven Hodge
AS6? Bloated, yes, but horrendous, no. I've had no problems programming and debugging Xmega128A1's with my JTAG Mk3 with AS6. Using AS6 and the Mk3 was initiated by the fact that I fried my JTAG Mk2 and I decided to give AS6/Mk3 a chance, particularly because at the time replacin
Thread view
Attachments: 0
2012-11-14 by John Samperi
At 10:36 AM 14/11/2012, you wrote: >I'm getting nervous seeing things that appear JTAGICE Mk2 "like" . Be nervous, be VERY nervous. Atmel store http://store.atmel.com/SearchResult.aspx?q=gsd:c-100112_k-jtag has it also for $399.00, at times they have specials. The new JTAG Mk3 is
Thread view
Attachments: 0
2012-11-13 by Philippe Habib
You might just be seeing a price drop on the Mk2 because the current model is mk3. ----- Original Message ----- From: "Chuck Hackett" To: "AVR-Chat" Sent: Tuesday, November 13, 2012 3:36:07 PM Subject: [AVR-Chat] JTAGICE Mk2 prices I'm seeing prices like $130 on ebay. Is this the
Thread view
Attachments: 0
2012-11-13 by Chuck Hackett
I'm seeing prices like $130 on ebay. Is this the going price or should I look elsewhere? Just noticed that on one of the auction pages (for example # 261021017145) they also use the term "USB AVR JTAGICE XPII" . XPII??? Digikey and Mouser price $399 ???? something wrong here ?? A
Thread view
Attachments: 0
2012-11-13 by Chuck Hackett
Multiple Msg replies below: -------------------------------------------------------------------- > From: dr_cagri_tanriover > > Hi Chuck, > > Sorry to hear that your Dragon had a fault. > > I think getting such a cheap board repaired may cost more to you in labour > and parts tha
Thread view
Attachments: 0
2012-11-13 by David Kelly
On Nov 12, 2012, at 8:02 AM, dr_cagri_tanriover wrote: > I think getting such a cheap board repaired may cost more to you in labour and parts than simply buying a brand new one. Dragon costs about $45 so I think you are better off buying a new one rather than getting it repaired.
Thread view
Attachments: 0
2012-11-12 by Emerson Santos
See it ... http://www.8051projects.net/lofiversion/t45042/repairing-dead-avr-dragon-board-bugg-fixing-tips.html 2012/11/12 Chuck Hackett > ** > > > My AVR Dragon seems to have died. > > I programmed one board, swapped boards to program the next one and noticed > that Studio repor
Thread view
Attachments: 0
2012-11-12 by Chuck Hackett
My AVR Dragon seems to have died. I programmed one board, swapped boards to program the next one and noticed that Studio reported an error and the LMxxx regulator on the board was getting hot. Both boards have been programmed many times in the past. Now when I connect the Dragon
Thread view
Attachments: 0
2012-11-12 by dr_cagri_tanriover
Hi Chuck, Sorry to hear that your Dragon had a fault. I think getting such a cheap board repaired may cost more to you in labour and parts than simply buying a brand new one. Dragon costs about $45 so I think you are better off buying a new one rather than getting it repaired. Ge
Thread view
Attachments: 0
2012-11-06 by David VanHorn
Ah! :) Glad you found it. Sleep mode can be entertaining. On Mon, Nov 5, 2012 at 7:06 PM, Chuck Hackett wrote: >> From: David VanHorn >> .... >> Most likely, something is writing that bit. >> I've never seen the ADC in any AVR just take off on it's own. >> Check your source for w
Thread view
Attachments: 0
2012-11-06 by Chuck Hackett
> From: David VanHorn > .... > Most likely, something is writing that bit. > I've never seen the ADC in any AVR just take off on it's own. > Check your source for writes to that address, both in I/O and SRAM space. > .... Problem was caused by going into sleep mode (sleep mode =
Thread view
Attachments: 0
2012-11-06 by David VanHorn
On Mon, Nov 5, 2012 at 10:20 AM, Chuck Hackett wrote: > In debugging some ADC code I discovered that I had never set the ADSC bit in > ADCSRA but I was still getting conversions. Most likely, something is writing that bit. I've never seen the ADC in any AVR just take off on it's
Thread view
Attachments: 0
2012-11-05 by Chuck Hackett
> From: Chuck Hackett > .... > If the ADSC bit starts the conversion (I'm in 'Single Conversion' mode) I don't > understand why any conversion started and I got an interrupt (I accidently > never set the ADSC bit). I would have expected that I never would have > gotten an interru
Thread view
Attachments: 0
2012-11-05 by Chuck Hackett
In debugging some ADC code I discovered that I had never set the ADSC bit in ADCSRA but I was still getting conversions. I was turning ADEN on (when I intended the conversion to start after setting ADCMUX) and off (in the interrupt handler) but (accidently) I had never set ADSC.
Thread view
Attachments: 0
2012-11-02 by AVR-Chat@yahoogroups.com
The following AVR-Chat poll is now closed. Here are the final results: POLL QUESTION: What version of Studio do you feel is most reliable? CHOICES AND RESULTS - 4.19 or earlier, 7 votes, 58.33% - 5.X, 1 votes, 8.33% - 6, 4 votes, 33.33% For more information about this group, plea
Thread view
Attachments: 0
2012-10-27 by David VanHorn
Glad to help! :)
Thread view
Attachments: 0
2012-10-27 by Dave McLaughlin
Thanks to all for your help. Based on the information below from David about the source impedance, I changed the resistors for a 1K and 5K6 to lower the input impedance seen by the ADC and now I get accurate readings from the system. I do quite well with a lot of my projects but
Thread view
Attachments: 0
2012-10-27 by Mauro Zanin
i use M32 to control a professional Epilator. It doesn't need a very linear Voltage control. But the project works fine at least since 4 years ago and was ported from a M16 pjt 5 years older. Mauro Zanin To: AVR-Chat@yahoogroups.com From: microbrix@gmail.com Date: Fri, 26 Oct 201
Thread view
Attachments: 0
2012-10-26 by David VanHorn
I don't remember offhand if the M32 has the option to turn off the digital functions on analog pins, but that may be another source of error.
Thread view
Attachments: 0
2012-10-26 by John Samperi
At 02:03 AM 27/10/2012, you wrote: >When I measure and do a calibration of the ADC at +24V I get a good reading. >I now set the supply to +12 and I get a reading of +1V above this. One of the things that can trip you can be the internal pull up resistor being inadvertently enable
Thread view
Attachments: 0