2013-09-13 by Chuck Hackett
> From: M.mashaghi > Sent: Tuesday, September 10, 2013 1:24 PM > To: AVR-Chat@yahoogroups.com > > hi everyone, > check out my new balance robot with outstanding abilities (carrying unbalanced load, moving over steep slope,...) and my ball balance robot: > https://www.youtube.com/
Thread view
Attachments: 0
2013-09-11 by Zack Widup
Cool! Do you use an AVR for the controller? Zack On Tue, Sep 10, 2013 at 1:24 PM, M.mashaghi olala_1364@yahoo.com > wrote: hi everyone, check out my new balance robot with outstanding abilities (carrying unbalanced load, moving over steep slope,...) and my ball balance robot: htt
Thread view
Attachments: 0
2013-09-10 by M.mashaghi
hi everyone, check out my new balance robot with outstanding abilities (carrying unbalanced load, moving over steep slope,...) and my ball balance robot: https://www.youtube.com/watch?v=q149eizTO0g https://www.youtube.com/watch?v=y1Tp9yICOnY Mohammad,
Thread view
Attachments: 0
2013-09-02 by Chuck Hackett
I have 10 ATMEGA32A-AU processors (TQFP-44 package) that were removed from boards that were never used on which I upgraded the processors. These were initially installed and removed professionally and are heat sealed in static free packaging (helps to have a friend who does rewor
Thread view
Attachments: 0
2013-08-09 by John Samperi
At 02:47 AM 10/08/2013, you wrote: >Yes ... when optimization is off and the EEPROM is not present the code >recovers normally (after 200 NACKS) and records the EEPROM as not present >without difficulty. Interesting but out of my expertise unfortunately. It seems strange that thi
Thread view
Attachments: 0
2013-08-09 by Chuck Hackett
> From: John Samperi > > At 11:50 AM 8/08/2013, you wrote: > >Have you ever tried your "-Os" optimized code to communicate with a TWI > >device that was not present and recover? > > If your TWI code doesn't have any time out and locks waiting for a response > then it won't matter
Thread view
Attachments: 0
2013-08-08 by John Samperi
At 11:50 AM 8/08/2013, you wrote: >Have you ever tried your "-Os" optimized code to communicate with a TWI >device that was not present and recover? If your TWI code doesn't have any time out and locks waiting for a response then it won't matter if the code is optimised or not I
Thread view
Attachments: 0
2013-08-08 by Chuck Hackett
> From: John Samperi > > At 11:29 AM 8/08/2013, you wrote: > >The failure occurs when "-O" is used AND the EEPROM is not present ... > > As a matter of interest how did you manage to get just the -O option to be > generated? Are you using a manual makefile? I use the "Code::Block
Thread view
Attachments: 0
2013-08-08 by John Samperi
At 11:29 AM 8/08/2013, you wrote: >The failure occurs when "-O" is used AND the EEPROM is not present ... As a matter of interest how did you manage to get just the -O option to be generated? Are you using a manual makefile? There is no way of selecting just -O in Studio's Projec
Thread view
Attachments: 0
2013-08-08 by Chuck Hackett
I just realized that I left out an important bit of information: When the TWI "Start Failure" happens using the optimized (-O) code the program is accessing an EEPROM that does not exist. I would have expected the failure of the slave address send (repeated NACKs received). The r
Thread view
Attachments: 0
2013-08-07 by John Samperi
At 09:42 AM 8/08/2013, you wrote: >I could be wrong, but, on page 86 of the GCC manual it says that "-O" (or >"-O1"): I use C under duress...but.. -O needs to be followed by another number AFAIK like -O1, -O2, -O3 and -Os. Maybe -O without anything else is equal to -O0. I always
Thread view
Attachments: 0
2013-08-07 by Chuck Hackett
> From: John Samperi > > At 09:47 PM 7/08/2013, you wrote: > >All works fine until I turn on optimization (-O). > > You are turning it OFF!! The code will be HUGE and will not keep some necessary > tight timings. Very bad boy, use -Os at least which is good for most jobs. Hi John
Thread view
Attachments: 0
2013-08-07 by John Samperi
At 09:47 PM 7/08/2013, you wrote: >All works fine until I turn on optimization (-O). You are turning it OFF!! The code will be HUGE and will not keep some necessary tight timings. Very bad boy, use -Os at least which is good for most jobs. Regards John Samperi *******************
Thread view
Attachments: 0
2013-08-07 by Chuck Hackett
I have a large program that uses TWI to interface to an LED controller and a 24xx64 EEPROM. All works fine until I turn on optimization (-O). With optimization on I get "Start Failures". I am not using interrupts with the TWI interface (wait loops). I have code that waits for the
Thread view
Attachments: 0
2013-07-28 by Cagri Tanriover
I think it's always worth working with the most up to date tools, libraries etc. It may be a bit of a pain to get it done but in the long run that is a better strategy. Regards... [Non-text portions of this message have been removed]
Thread view
Attachments: 0
2013-07-28 by John Samperi
At 12:36 PM 28/07/2013, you wrote: >I installed a new version of WinAVR. Didn't you say that you were using AS4.18? Or did you also install AS4.19 with the new Atmel Tool-chain? AFAIK there is NO new version of winAvr as it got frozen in January 2010, the only new version is the
Thread view
Attachments: 0
2013-07-28 by englsprogeny1
John, You are correct, I am using AS4.18 I do not have 4.19 installed. I do however have MS Visual C# 2010 installed on my machine and I heard on here (AVR-Chat) that this could cause issues with my AVR projects. My TWI issue came with the newer install of WinAVR. The original Wi
Thread view
Attachments: 0
2013-07-28 by englsprogeny1
I figured this out! If anyone upgrades their machine, be careful to do it correctly. When I built my Windows 7 machine I installed a new version of WinAVR. I copied over the original WinAVR (and AVRLib) directory, as well. All of my projects (the makefile) points to this original
Thread view
Attachments: 0
2013-07-27 by Cagri Tanriover
Have you tried comparing the archived version and the version that does not work using a tool such as Beyond Compare? This will clearly show any differences between the two versions if any exists. Since the two hex files are different, there must be a difference somewhere in the
Thread view
Attachments: 0
2013-07-27 by englsprogeny1
Yes, I've used a compare utility to compare the entire directory between my new build and the archived build. All 4 *.lst files change and of course the *.elf file and *.hex files are different. Of course, the source files *.C, *.h, makefile remain unchanged. The *.aps file remai
Thread view
Attachments: 0
2013-07-27 by Tim Mitchell
If your archived project contains a list file, compare the list file with the newly generated version, this may help identify the problem. Winmerge is a good application to do this. -- Tim Mitchell
Thread view
Attachments: 0
2013-07-27 by Cagri Tanriover
I would check the project's optimisation settings. If your project is highly optimised, timings and similar type of problems may occur depending on the types of optimisations. I would try to remove all optimisations to start with to see if it all works as expected first. I had a
Thread view
Attachments: 0
2013-07-27 by englsprogeny1
I have 4 *.lst files: Menu, UART, TWI and 24c64. They are all different from their respective archived equivalents. --- In AVR-Chat@yahoogroups.com, Tim Mitchell wrote: > > If your archived project contains a list file, compare the list file with the newly generated version, this
Thread view
Attachments: 0
2013-07-27 by englsprogeny1
When I rebuild the hex file I use and exact copy of the 'archived project same project (same makefile). It seems that the optimization would be the same. I did try what you said and updated my makefile to set optimizations to zero. I still have the same issue (twi does not work c
Thread view
Attachments: 0
2013-07-27 by englsprogeny1
ATmega16 GCC AVR Studio 4.18 I wrote a program that accesses External EEPROM and DS1307 (by way of TWI) (my software also uses the UART) I've made updates and have been unable to get it to work again (the TWI interface is not working). I read the DS1307 in 'boot' then periodicall
Thread view
Attachments: 0
2013-07-13 by Dave McLaughlin
As a follow up. I checked the disassembly and the vector at $004A is correct and points to the interrupt handler. It's almost as if the interrupt is masked but when I debug into the code that sets the CONTROL register, I can see that UDRIE is being set so the interrupt should fir
Thread view
Attachments: 0
2013-07-13 by Dave McLaughlin
Hi all, I have an Arduino Mega2560 board and programming it with Studio 6.1 and AVR GCC. I am debugging with a JTAG ICE3 The issue is that there is no transmit register empty interrupts for USARTS 1 to 3. USART0 is ok. This code is used to set the control register for USART1 but
Thread view
Attachments: 0
2013-07-02 by Jim Wagner
A hex file for 8K will be more than twice as large. 2 characters per byte plus some address and checksum characters each line. If you are using Atmel Studio, it will tell you if the code fits the specified MCU. Jim On Jun 20, 2013, at 7:24 AM, SHAFEEQUL ISLAM wrote: > Can any one
Thread view
Attachments: 0
2013-06-27 by Wade
Anyone know where I can get a couple of [cheap] bare-bones ATXMega A3U boards? Prefer 64A3U (that's what the others are using), but I'll take bigger chips on the boards. I have a few BostonAndroid.com boards with 128A3 and 64A3, so I could get samples and try hand soldering them
Thread view
Attachments: 0
2013-06-20 by SHAFEEQUL ISLAM
Can any one please help me regarding Atmega8 Flash size.I dont know that the size of flash 8Kb is the amount we can burn the *.hex file or it is memory size of variables that we have used in our code?For e.g if i burned a hex file of size 1 Kb,then it will occupy space of 1 Kb in
Thread view
Attachments: 0
2013-06-19 by Ori Y
link: http://insoftcom.org/kvw.html Ori Y [Non-text portions of this message have been removed]
Thread view
Attachments: 0
2013-06-14 by John Samperi
At 02:35 AM 14/06/2013, you wrote: >Hi John, Studio 6 works fine in Win8 if you know how to use it. [:p] I will NEVER know :-) I simply HATE the Win8 look and Win8.1 seems to be pretty much the same format, no Win8 with the current look and feel will ever be installed in any of m
Thread view
Attachments: 0
2013-06-13 by Larry Viesse
Hi John, Studio 6 works fine in Win8 if you know how to use it. [:p] Ciao, Larry Viesse --- In AVR-Chat@yahoogroups.com, John Samperi wrote: > > At 12:08 PM 13/06/2013, you wrote: > >I'd use studio 6 but they broke stimulus files, > > whilst M$ broke Window with win8!! > > Works
Thread view
Attachments: 0
2013-06-13 by John Samperi
At 12:08 PM 13/06/2013, you wrote: >I'd use studio 6 but they broke stimulus files, whilst M$ broke Window with win8!! Works ok under Win7. Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW
Thread view
Attachments: 0
2013-06-13 by David VanHorn
Anyone here know if this works? Issues? I'd use studio 6 but they broke stimulus files, and the ability to do Osccal. [Non-text portions of this message have been removed]
Thread view
Attachments: 0
2013-06-11 by Cat C
Does it look like he can or would bother to do that? > To: AVR-Chat@yahoogroups.com > From: dkelly@hiwaay.net > Date: Tue, 11 Jun 2013 14:02:40 -0500 > Subject: Re: [AVR-Chat] hajimahdy2006 > > > On Jun 11, 2013, at 1:27 PM, Cat C wrote: > > > It looks to me like he got in the gr
Thread view
Attachments: 0
2013-06-11 by David Kelly
On Jun 11, 2013, at 1:27 PM, Cat C wrote: > It looks to me like he got in the group by mistake; just off him. All he has to do is read the footers at the bottom and click. Or send an email to AVR-Chat-unsubscribe@yahoogroups.com -- David Kelly N4HHE, dkelly@HiWAAY.net ===========
Thread view
Attachments: 0
2013-06-11 by Cat C
It looks to me like he got in the group by mistake; just off him. > To: AVR-Chat@yahoogroups.com > From: spudarnia@yahoo.com > Date: Tue, 11 Jun 2013 16:26:21 +0000 > Subject: [AVR-Chat] Re: hajimahdy2006 > > > i don't want any email please off me in group > > I manage a differen
Thread view
Attachments: 0
2013-06-11 by Gregory N
> i don't want any email please off me in group I manage a different Yahoo! group (http://tech.groups.yahoo.com/group/nuttx/) and it is a common occurrence for hackers to get member's email accounts. You don't have to leave the group. You can ask the group administrator to simply
Thread view
Attachments: 0
2013-06-11 by mostafa hajimahdy
i don't want any email please off me in group [Non-text portions of this message have been removed]
Thread view
Attachments: 0
2013-06-10 by englsprogeny1
IGNORE THIS link guys! I have no idea how this got here! My Yahoo account was hacked a couple months ago, perhaps this is it. --- In AVR-Chat@yahoogroups.com, David Appleton wrote: > > > > http://scratchfoto.com/whaxzqfj.php > > > > > > > > [Non-text portions of this message have
Thread view
Attachments: 0
2013-06-09 by David Appleton
http://scratchfoto.com/whaxzqfj.php [Non-text portions of this message have been removed]
Thread view
Attachments: 0
2013-06-05 by Jim Wagner
You will be hard pressed to get under that cost. Seems to be about what the market will bear. That said, you might focus a little on "automotive grade". While the temperature range may be wider than you need, they are built to handle input up to 35V or more. And, the are priced a
Thread view
Attachments: 0
2013-06-05 by David VanHorn
I'm looking for recommendations for a low cost buck regulator, input could be as high as 20VDC, output 3.3V at
Thread view
Attachments: 0
2013-06-04 by Ricardo Callejo
Check this link http://www.techtoys.com.hk/Displays/LVC75Z779%20Eval/LVC75Z779%20Eval%20Boar d.htm Perfect for you. Ricardo Callejo SURbyte Electrónica San Martin 952 (9000) Comodoro Rivadavia Chubut Argentina Cel: 0297 155090159 Tel: 0297-4470292 De: AVR-Chat@yahoogroups.com [
Thread view
Attachments: 0
2013-05-28 by Jim Wagner
I dont see anything about an SSD1928 protocol. There is an SSD1928 chip that appears to have an I2C interface. So, if that is how an AVR might connect, then it ought to talk to the chip. On the other hand, that is a graphics controller. The question with graphics is almost always
Thread view
Attachments: 0
2013-05-27 by David VanHorn
Mod note: Sorry for the delay, I should have put this one through long ago. I plead imperfection. On Mon, May 13, 2013 at 8:21 AM, M.Sadegh Azarkaman wrote: > > > Hi guys > > Does SSD1928 interfacing protocols are supported in AVR ? is it > possible to run it with AVR (at-mega se
Thread view
Attachments: 0
2013-05-19 by Dave McLaughlin
OK. I have it working now. I was calling i2c_start_wait and this for some reason was generating a clock because it was looping around. Changing to i2c_start it now works. :) Cheers Dave. From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf Of englsprogeny1 S
Thread view
Attachments: 0
2013-05-19 by Dave McLaughlin
Pullups are on the SDA and SCL and are 10K, which has worked well before on other designs. This is my first attempt at using I2C with AVR GCC. I can see the SCL bus initially go low then high and then this clock appears immediately after. My init sets the TWBR to 152 with a presc
Thread view
Attachments: 0
2013-05-19 by Jim Wagner
Do you have external pullup resistors? Internal pull-ups are around 25K (IIRC) but desired value is under 1.5K. Jim Wagner On May 19, 2013, at 2:35 AM, Dave McLaughlin wrote: > Hi all, > > I have an ATMega328P and trying to use the I2C Master interface but when I > send the start
Thread view
Attachments: 0