2004-03-17 by Larry Barello
Yes, you use Atmel Studio for simulation and JTAG debugging. -----Original Message----- From: Jim Shelton I just downloaded the Codevision compiler, and I cannot find anywhere the size restriction for the evaluation version. I hoping to use the ATMega128, I dont need 128K, But I
Thread view
Attachments: 0
2004-03-17 by David VanHorn
At 06:55 PM 3/16/2004 -0800, Dave Hylands wrote: >Yeah, but can you take your modular ASM code and use it on an ARM >processor, or an Intel, etc? Sure. You just write the new routine in the native language to follow the same algorithm. I just did this for a CRC routine, with sour
Thread view
Attachments: 0
2004-03-17 by Jim Shelton
I just downloaded the Codevision compiler, and I cannot find anywhere the size restriction for the evaluation version. I hoping to use the ATMega128, I dont need 128K, But I might be up in the 10-16K range. I dont see any support for the JTAG debugging in the IDE, Can I bring the
Thread view
Attachments: 0
2004-03-17 by Dave Hylands
Yeah, but can you take your modular ASM code and use it on an ARM processor, or an Intel, etc? This is one of the reasons why I like C, because I don't have to care which processor I'm running on. This is certainly not to say that all C code is portable, because it isn't, but I c
Thread view
Attachments: 0
2004-03-17 by Kathy Quinlan
OK I think we need to split this discussion into 2 sections, those who are using an language for hobby and those who are using a language for work. The reason I say this is like a PCB layout program, hobbyists go for the package with all the included symbols and foot prints, wher
Thread view
Attachments: 0
2004-03-16 by David VanHorn
At 03:34 PM 3/16/2004 -0700, Cobb, Quentin wrote: >I think we're stretching the analogy a bit far here! Programming is all >about generating reusable code, reliably and quickly. To achieve this one >is always working at some level of abstraction, for some applications you >need t
Thread view
Attachments: 0
2004-03-16 by Cobb, Quentin
I think we're stretching the analogy a bit far here! Programming is all about generating reusable code, reliably and quickly. To achieve this one is always working at some level of abstraction, for some applications you need to work at a lower level, for others you can work at a
Thread view
Attachments: 0
2004-03-16 by Wagner Lipnharski
Mike Bronosky wrote: > It depends on your situation. [snip] > Back in my younger days I use to change my own oil. Several reasons, > one - I knew how to do it, two - save money. Now days I just take the > car to a XX minute oil change and pay $25 to have it done. One - I > have m
Thread view
Attachments: 0
2004-03-16 by upand_at_them
> Now days I just take the car to a XX > minute oil change and pay $25 to have it done. One - I have more > disposable income then in my younger years, Two - Time, I would > rather be working at my profession, electronics tech, than mechanic > work. Oh, I don't mind working on ca
Thread view
Attachments: 0
2004-03-16 by Cobb, Quentin
>>large body of freely available existing code for the particular compiler-language so I can drop in an I2C class, LCD routines etc and not waste my time writing and debugging such code. This is part of the index from the Codevision Docs: ---------------------- Character Type Fun
Thread view
Attachments: 0
2004-03-16 by erikc
----- Original Message ----- From: "Cobb, Quentin" To: Sent: Tuesday, March 16, 2004 15:55 Subject: RE: [AVR-Chat] Re: AVR Compiler: which is the best > >>large body of freely available existing code for the particular > compiler-language so I can drop in > an I2C class, LCD rout
Thread view
Attachments: 0
2004-03-16 by erikc
----- Original Message ----- From: "markevans_1" To: Sent: Tuesday, March 16, 2004 07:31 Subject: [AVR-Chat] Re: AVR Compiler: which is the best > Thanks for all the replys. > > I have written a handful of programs for AVR and PIC in assembly. I > find once you start to include L
Thread view
Attachments: 0
2004-03-16 by markevans_1
Thanks for all the replys. I have written a handful of programs for AVR and PIC in assembly. I find once you start to include LCDs (especially graphical ones) to the project the code gets quite large quite quickly. So my main reason in looking for a higher level compiler is for m
Thread view
Attachments: 0
2004-03-16 by jay marante
i designed one. try to see if this is alright. i used a 220 ohm resistor. the input at the right most is from the main power. i used a zener diode to regulate the voltage (at about 8.2V ) supply from the main. when there is a power failure, the back-up battery-- 9V alkaline batte
Thread view
Attachments: 0
2004-03-16 by LightYearCS
If anyone is on Internet Relay Chat and happens to find themselves on EFNet, please feel free to join #nop. This is our embedded systems and RTOS channel. Also, please mention you are from this group, I’m sure some people from the channel would like to join here too. Barry
Thread view
Attachments: 0
2004-03-16 by jay marante
i designed one. try to see if this is alright. i used a 220 ohm resistor. the input at the right most is from the main power. i used a zener diode to regulate the voltage (at about 8.2V ) supply from the main. when there is a power failure, the back-up battery-- 9V alkaline batte
Thread view
Attachments: 0
2004-03-16 by David VanHorn
At 07:59 PM 3/15/2004 -0800, LightYearCS wrote: >I work with a lot of different types of rechargeable Li-Ion batteries in my work. My current project uses an internal 2200mA/Hour rechargeable cell. I would just like to clear up a few misconceptions. If this is re my discussions e
Thread view
Attachments: 0
2004-03-16 by LightYearCS
I work with a lot of different types of rechargeable Li-Ion batteries in my work. My current project uses an internal 2200mA/Hour rechargeable cell. I would just like to clear up a few misconceptions. First of call, all rechargeable Li-Ion batteries are manufactured with a protec
Thread view
Attachments: 0
2004-03-16 by stevech
my opinion, and nothing more... These non-standard BASIC dialects like BASCOM and FASTAVR and the like are - fine for hobby activities, so long as the compiler's author remains comitted; - a really imprudent idea for students - what company wants to see a resume' for an "engineer
Thread view
Attachments: 0
2004-03-15 by Cobb, Quentin
This is bound to be a huge thread, ranging from "Real men program in assembler" to "BASIC is almost like a real programming language these days" Your mainstream choices are Assembler (AVR Studio) BASCOM GCC Codevision C Imagecraft C If you want to learn how the chip works then us
Thread view
Attachments: 0
2004-03-15 by samperi@ampertronics.com.au
At 03:09 AM 15/03/04 -0800, you wrote: >How can I use JTAG interface for "on chip " debugging ? Make sure first that the chip you are using does have JTAG. Not all devices have it as it starts with devices with 16K or more RAM. Regards John Samperi *******************************
Thread view
Attachments: 0
2004-03-15 by samperi@ampertronics.com.au
At 09:38 PM 14/03/04 -0800, you wrote: >Can this group please direct me to >application notes, datasheets, tutorials, online resources, etc., regarding >the SPI interface? Well the very first thing would be to download the datasheets from Atmel's website or you can also find them
Thread view
Attachments: 0
2004-03-15 by jshadow_1
Umm...I think you should delete this and repost as a NEW topic. :) --- In AVR-Chat@yahoogroups.com, David VanHorn wrote: > > I'm seeing this on an M128, but it may pertain to others as well. > > I have the part in sleep, with the CKDIV set to 128, and everything I can, shut down.
Thread view
Attachments: 0
2004-03-15 by Mike Bronosky
It depends on your situation. If one of your major criteria is spending less time learning the language, less time writing the progam code, and your programs won't be too big, then BASCOM is probably your best choice. If you want to get a little more into it, C, using CodeVision
Thread view
Attachments: 0
2004-03-15 by Wagner Lipnharski
LightYearCS wrote: > Assembly is great but in this day and age I would suggest learning > C/C++. Some C/C++ compilers are very efficient at optimizing code. > So much so, that in some cases, the compiler can optimize code better > than even the most seasoned assembly programmer.
Thread view
Attachments: 0
2004-03-15 by David VanHorn
At 08:37 AM 3/15/2004 -0800, LightYearCS wrote: >Assembly is great but in this day and age I would suggest learning >C/C++. Some C/C++ compilers are very efficient at optimizing code. So >much so, that in some cases, the compiler can optimize code better than >even the most seaso
Thread view
Attachments: 0
2004-03-15 by David VanHorn
At 08:34 AM 3/15/2004 -0800, you wrote: >For production use I still would recommend using an auto-switching power >MUX. They rock. They will auto-sense the voltage differential and >automatically switch between sources. Good for a hobby project, if you don't want to take the time
Thread view
Attachments: 0
2004-03-15 by David VanHorn
At 11:35 AM 3/15/2004 -0500, AVR-Chat@yahoogroups.com wrote: >Your email message was temporarily blocked by my spam >filter. If you feel this is an error, please follow >these instructions. > >The attached image contains a password. >Reply to this email and enter the password >in
Thread view
Attachments: 0
2004-03-15 by LightYearCS
Assembly is great but in this day and age I would suggest learning C/C++. Some C/C++ compilers are very efficient at optimizing code. So much so, that in some cases, the compiler can optimize code better than even the most seasoned assembly programmer. This is primarily true with
Thread view
Attachments: 0
2004-03-15 by LightYearCS
For production use I still would recommend using an auto-switching power MUX. They rock. They will auto-sense the voltage differential and automatically switch between sources. Their cheap too. TI makes a few of them. Again, I'm using the tps2115. Here's the datasheet: http://foc
Thread view
Attachments: 0
2004-03-15 by David VanHorn
> >Oh yes, a failed diode could cause a mess in the system, but a mess would >also caused by a bad contact at the backup battery leads by corrosion, then >no backup will be available. That's a survivable failure. What I'm thinking of here, is a failed diode charging a lithium bac
Thread view
Attachments: 0
2004-03-15 by David VanHorn
I'm seeing this on an M128, but it may pertain to others as well. I have the part in sleep, with the CKDIV set to 128, and everything I can, shut down. When I see a wakeup condition, I would like to jump to reset, but so far, that seems not to work.. However, if I jump to a jmp h
Thread view
Attachments: 0
2004-03-15 by Wagner Lipnharski
David VanHorn wrote: > I think we're talking at cross purposes. I'm thinking of the failed > diode case, where the normal supply starts trying to charge the > battery. [snip] >> That's the Alkaline advantage, but a 20 megaohm resistor in parallel >> will be something to think and
Thread view
Attachments: 0
2004-03-15 by David VanHorn
At 08:52 AM 3/15/2004 -0700, Cobb, Quentin wrote: >0.001%! > >Where do you buy your capacitors - Planet Ultron? Given their very nature >and the limitations on measurement you'd find it difficult to match better >than about 1%. I was stretching the point to make a point. Theoreti
Thread view
Attachments: 0
2004-03-15 by Cobb, Quentin
0.001%! Where do you buy your capacitors - Planet Ultron? Given their very nature and the limitations on measurement you'd find it difficult to match better than about 1%. -----Original Message----- From: David VanHorn [mailto:dvanhorn@cedar.net] Sent: March 14, 2004 6:46 AM To:
Thread view
Attachments: 0
2004-03-15 by David VanHorn
At 10:10 AM 3/15/2004 -0500, Wagner Lipnharski wrote: >David VanHorn wrote: >>> That's another point. >>> If backup usage current is below 500mA, then use plain and cheap >>> Alkaline ones. >>> They are safe, shelf life is much longer than anything else. >>> Of course, lithium cu
Thread view
Attachments: 0
2004-03-15 by Wagner Lipnharski
David VanHorn wrote: >> That's another point. >> If backup usage current is below 500mA, then use plain and cheap >> Alkaline ones. >> They are safe, shelf life is much longer than anything else. >> Of course, lithium current limit is a good idea, perhaps a small >> fuse? :) > >
Thread view
Attachments: 0
2004-03-15 by David VanHorn
> >That's another point. >If backup usage current is below 500mA, then use plain and cheap Alkaline >ones. >They are safe, shelf life is much longer than anything else. >Of course, lithium current limit is a good idea, perhaps a small fuse? :) Fuses that small are WAY expensive,
Thread view
Attachments: 0
2004-03-15 by chrisatwan2000
I am trying to write code for scanning a 4x4 keypad and display result on lcd with imagecraft compiler. Does anyone have any experience or sample code for doing this with imagecraft? I am using the avr version of this compiler. Chris Atwan
Thread view
Attachments: 0
2004-03-15 by flavius
Hello How can I use JTAG interface for "on chip " debugging ? My question is what hardware I need for debuging , and if I must buy an expensive tool from Atmel or I can find something on the net to replace it . I know that , the software is AVR Studio . Many Thanks Flavius P.S. I
Thread view
Attachments: 0
2004-03-15 by flavius
Hello How can I use JTAG interface for "on chip " debugging ? My question is what hardware I need for debuging , and if I must buy an expensive tool from Atmel or I can find something on the net to replace it . I know that , the software is AVR Studio . Many Thanks Flavius AVR-Ch
Thread view
Attachments: 0
2004-03-15 by Paul Curtis
Try the AVR-JTAG replacement from www.olimex.com . It works, we have two, and an Atmel JTAG ICE. -- Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk CrossWorks for MSP430, ARM, and (soon) Atmel AVR processors -----Original Message----- From: flavius [mailto:flavius@rock
Thread view
Attachments: 0
2004-03-15 by LightYearCS
I have several devices in our product which incorporates the SPI interface. I need to learn everything I NEVER wanted to know about the SPI interface and the ATmega64 MCU. Can this group please direct me to application notes, datasheets, tutorials, online resources, etc., regardi
Thread view
Attachments: 0
2004-03-15 by Wagner Lipnharski
David VanHorn wrote: > At 05:09 PM 3/14/2004 -0800, jay marante wrote: > >> isn't the back-up battery always conducting on that state even if >> the main power is on? > > No, the diode in series with the battery is reverse-biased. > > If the backup is a lithium, you need dual dio
Thread view
Attachments: 0
2004-03-15 by David VanHorn
At 05:09 PM 3/14/2004 -0800, jay marante wrote: >isn't the back-up battery always conducting on that state even if the main power is on? No, the diode in series with the battery is reverse-biased. If the backup is a lithium, you need dual diodes, or a current limiting scheme to s
Thread view
Attachments: 0
2004-03-15 by samperi@ampertronics.com.au
At 08:38 AM 14/03/04 -0500, you wrote: >Not to split hairs here, but the two caps will never be equal. Precisely! And then there will be some caps that will be" more equal than others"...just like humans :-)) Regards John Samperi **************************************************
Thread view
Attachments: 0
2004-03-15 by jay marante
isn't the back-up battery always conducting on that state even if the main power is on? thanks. Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam
Thread view
Attachments: 0
2004-03-15 by David VanHorn
At 06:30 PM 3/14/2004 -0500, John Johnson wrote: >Thanks for the reply! > >No, we aren't all EEs. Some of us do this for fun :-) > >So, I have about 4 m of 24 awg wire going to a Genie garage door opener >with unknown circuitry inside. How would I determine the inductance? >What
Thread view
Attachments: 0
2004-03-14 by John Johnson
Thanks for the reply! No, we aren't all EEs. Some of us do this for fun :-) So, I have about 4 m of 24 awg wire going to a Genie garage door opener with unknown circuitry inside. How would I determine the inductance? What if I sold one of these, and the customer had 1 m or 10 m o
Thread view
Attachments: 0
2004-03-14 by Wagner Lipnharski
> BASCOM is great for getting results in a hurry. [snip] That's the thing. In a hurry you can also get a BigMac at the street corner, but it is good for you? One should pay very much attention if the word "hurry" is not substituting "lazy" and "scary" in learning assembly. I woul
Thread view
Attachments: 0