Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Messages

Browse messages

Page 74 of 307 · 15341 messages matched

Any interest in an interactive disaasembler for the AVR?

2008-07-10 by Raymond Hurst

I've written an interactive disassembler for the AVR. It allows you to open a hex file, disassemble it, add comments and labels on the fly, save intermediate work, and then produces a listing which can be edited and re-assembled. Is there an market for this? Ray

Thread view Attachments: 0

Re: [AVR-Chat] Re: user code power up or programming mode power up

2008-07-03 by John Samperi

At 11:11 AM 3/07/2008, you wrote: >If you're planning to use JTAG for your In System Programming, you'll >find that those four I/O lines can't be used for anything else. I use them for leds IF I need them. Your code simply needs to disable JTAG as it starts. Make sure that the re

Thread view Attachments: 0

Re: user code power up or programming mode power up

2008-07-02 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, "Frank" wrote: > How does the AVR (say atmega16) know the difference if it is going to > get programmed or if it is going to run the user program? It doesn't, it always begins running the code to which the reset vector points upon any reset. For S

Thread view Attachments: 0

user code power up or programming mode power up

2008-07-02 by Frank

How does the AVR (say atmega16) know the difference if it is going to get programmed or if it is going to run the user program? Are there any tricks so that avoid stimulating the pins with chips I attach to the AVT thus confusing the AVR into what it is supposed to do at power up

Thread view Attachments: 0

Re: [AVR-Chat] Re: homebrew debug hardware + best software

2008-07-02 by John Samperi

At 12:52 AM 3/07/2008, you wrote: > Now, FLIP works on >the principle that there is a HWB pin on AT90USBxxx chips. Doesn't >that mean that there's a bootloader? That will teach me to talk about chips I don't use. :-[ As a self inflicted punishment I had look up the data sheet: Op

Thread view Attachments: 0

Re: [AVR-Chat] Re: homebrew debug hardware + best software

2008-07-02 by Zack Widup

Back when I used a PDP-11/20, the hardware bootloader was a series of toggle switches on the front of the unit. I'm glad those days are gone! :-) Zack On Wed, 2 Jul 2008, Graham Davies wrote: > --- In AVR-Chat@yahoogroups.com, "Frank" wrote: > >> For the hardware bootloader, >> I

Thread view Attachments: 0

OT: Bootloader (was Re: homebrew debug ...)

2008-07-02 by Graham Davies

--- In AVR-Chat@yahoogroups.com, Zack Widup wrote: > ... PDP-11/20, ... bootloader was ... > toggle switches on the front ... Well, since you bring it up, that's pretty much what I meant by the "traditional" use of the term "bootloader", formerly "bootstrap loader". On power-up,

Thread view Attachments: 0

Re: homebrew debug hardware + best software

2008-07-02 by Graham Davies

--- In AVR-Chat@yahoogroups.com, "Frank" wrote: > For the hardware bootloader, > I'm a bit confused. Maybe you could clarify what you mean by a "hardware bootloader". Many AVRs have the ability to sort-of cordon off part of the Flash for a program that can accept a new applicatio

Thread view Attachments: 0

Re: homebrew debug hardware + best software

2008-07-02 by Frank

John, Thanks for the heads up on the limited support list for that build your own jtag clone. It's looking that I should just go DRAGON for being the most complete solution. For the hardware bootloader, I'm a bit confused. Now, FLIP works on the principle that there is a HWB pin

Thread view Attachments: 0

Re: [AVR-Chat] Eclipse,Avarice and debugging? No one?

2008-07-01 by John Samperi

At 09:16 AM 1/07/2008, you wrote: >Well, preferences don't help when AVR Studio doesn't run on your >platform :-) It doesn't do too well on Linux either. I know what you mean. :-) But the "much better" BETA tape format didn't get anywhere compared to VHS. That's life, we choose a

Thread view Attachments: 0

Re: [AVR-Chat] Eclipse,Avarice and debugging? No one?

2008-07-01 by Dennis Clark

> Well, preferences don't help when AVR Studio doesn't run on your > platform :-) It doesn't do too well on Linux either. > > So far I haven't done any debugging on AVRs but I'm using CodeBlocks for > my IDE (it runs in Mac, Win, and Linux). You might check it out for > debugging

Thread view Attachments: 0

Re: [AVR-Chat] Eclipse,Avarice and debugging? No one?

2008-07-01 by John Samperi

At 01:43 PM 1/07/2008, you wrote: >Except for the editor. > >I wish you could plug Emacs into AVR Studio. Well, get yourself a Studio plugin kit from Atmel and then you can do it and let other like minded people have that facility. Then you'll be famous if not rich :-) . Regards

Thread view Attachments: 0

Re: [AVR-Chat] Eclipse,Avarice and debugging? No one?

2008-07-01 by dlc

So I see. I guess I just follow the path less traveled. I'll check "over there" to see if someone has experience with it. I have a JTAG-ICE Mk II, that works fine with my Mac OS X/avr-gcc/Eclipse/etc. but now I'm curious about debugging beyond "printf". Thanks, DLC John Samperi w

Thread view Attachments: 0

Re: [AVR-Chat] Eclipse,Avarice and debugging? No one?

2008-07-01 by John Johnson

Except for the editor. I wish you could plug Emacs into AVR Studio. Regards, JJ On Mon, Jun 30, 2008 at 6:15 PM, John Samperi wrote: > At 11:17 PM 30/06/2008, you wrote: >>Would the AVR-gcc-list be a better query, > > Maybe. Most of us prefer the ease and luxury of using > AVR St

Thread view Attachments: 0

Re: [AVR-Chat] Eclipse,Avarice and debugging? No one?

2008-06-30 by Moses O McKnight

Well, preferences don't help when AVR Studio doesn't run on your platform :-) It doesn't do too well on Linux either. So far I haven't done any debugging on AVRs but I'm using CodeBlocks for my IDE (it runs in Mac, Win, and Linux). You might check it out for debugging. There is a

Thread view Attachments: 0

Re: [AVR-Chat] Eclipse,Avarice and debugging? No one?

2008-06-30 by John Samperi

At 11:17 PM 30/06/2008, you wrote: >Would the AVR-gcc-list be a better query, Maybe. Most of us prefer the ease and luxury of using AVR Studio and a Dragon or JTAG ice. :-) Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Bro

Thread view Attachments: 0

Eclipse,Avarice and debugging? No one?

2008-06-30 by dlc

Wow, Does no one debug using the debugger on the AVR using avarice? I may be on the wrong list - Would the AVR-gcc-list be a better query, or is there an avarice list? thanks, DLC -- ------------------------------------------------- Dennis Clark TTT Enterprises www.techtoystoday.

Thread view Attachments: 0

Re: [AVR-Chat] Re: homebrew debug hardware + best software

2008-06-30 by John Samperi

At 02:59 AM 30/06/2008, you wrote: >Are the folllowing generilzations true? >All AVRs have ICSP True >Some AVRs have HWD Most of the new ones have, either DW or JTAG >Some AVRs have JTAG Chips with 40 pins or more and at least 16K flash >Not all AVRs have built in harware bootloa

Thread view Attachments: 0

Re: [AVR-Chat] Re: homebrew debug hardware + best software

2008-06-30 by John Samperi

At 02:47 PM 30/06/2008, you wrote: >I was shown this JTAG emulator clone >http://www.scienceprog.com/build-your-own-avr-jtagice-clone/ But have you looked at the supported device list? An NO there will NOT be any more added as it is obsolete now. Regards John Samperi ************

Thread view Attachments: 0

How does AVR know if JTAG or ICSP?

2008-06-30 by Frank

Hello, I saw that for devices, there are a few ways to program it. Exactly how would a device know that at the power up (or the pulse of a reset) it is supposed to go for programming? (I presume only for HWB low, would that imply I have to pull that up high with a resistor in eve

Thread view Attachments: 0

Re: homebrew debug hardware + best software

2008-06-30 by Frank

John, I was shown this JTAG emulator clone http://www.scienceprog.com/build-your-own-avr-jtagice-clone/ Frank --- In AVR-Chat@yahoogroups.com, John Samperi wrote: > > At 02:34 AM 29/06/2008, you wrote: > >Would a dragon be my only hardware choice? > > No, you also have the JTAG M

Thread view Attachments: 0

Re: homebrew debug hardware + best software

2008-06-29 by Frank

Thanks for your response. Is it right to say that to program and to debug on the same group of pins, the only choice is the JTAG port? Are the folllowing generilzations true? All AVRs have ICSP Some AVRs have HWD Some AVRs have JTAG Not all AVRs have built in harware bootloaders

Thread view Attachments: 0

Re: [AVR-Chat] homebrew debug hardware + best software

2008-06-28 by John Samperi

At 02:34 AM 29/06/2008, you wrote: >Would a dragon be my only hardware choice? No, you also have the JTAG Mk2. Nothing else for In Circuit Debugging that I know of for that chip. Regards John Samperi ******************************************************** Ampertronics Pty. Ltd.

Thread view Attachments: 0

Re: [AVR-Chat] Debugging the ATMEGA168 on Eclipse with AVaRice?]

2008-06-28 by Moses O McKnight

And I run linux, where AVR studio is not supported. It would be quite nice to have debugging available for platforms other than windows. AVR32Studio is based on Eclipse and runs on linux and I guess Mac, but it doesn't support the 8 bit chips. On Sat, 2008-06-28 at 09:09 -0600, d

Thread view Attachments: 0

Re: [AVR-Chat] Debugging the ATMEGA168 on Eclipse with AVaRice?]

2008-06-28 by dlc

I run on a Mac, AVR studio is not supported there. DLC John Samperi wrote: > At 05:57 AM 28/06/2008, you wrote: >> How do you implement debugging using the Eclipse IDE, avrdude, avarice, >> adb, eieio with your ATMEGA part? I have a AVR JTAGICE Mark II, > > So don't you want to u

Thread view Attachments: 0

homebrew debug hardware + best software

2008-06-28 by Frank

Hello, I'm a n00b with an at90usb162. What is the easiest/cheapest hardware I can use for emulation debugging? Currently, I use FLIP to program the Atmel chip via the USB port. I saw some projects like avarice, avrdude, ice-gdb and company. Does any of them work with anything I c

Thread view Attachments: 0

Re: [AVR-Chat] Debugging the ATMEGA168 on Eclipse with AVaRice?]

2008-06-27 by John Samperi

At 05:57 AM 28/06/2008, you wrote: > How do you implement debugging using the Eclipse IDE, avrdude, avarice, >adb, eieio with your ATMEGA part? I have a AVR JTAGICE Mark II, So don't you want to use the easy-to-use AVR Studio? Regards John Samperi ********************************

Thread view Attachments: 0

Debugging the ATMEGA168 on Eclipse with AVaRice?]

2008-06-27 by Dennis Clark

Hi all, How do you implement debugging using the Eclipse IDE, avrdude, avarice, adb, eieio with your ATMEGA part? I have a AVR JTAGICE Mark II, and would get a Dragon if that would help. How do you connect up the various bits to make this work? Thanks for any help, I'm not sure j

Thread view Attachments: 0

Re: [AVR-Chat] Audio power amp and vibration sensor

2008-06-22 by Cat Hotmail

Have you heard of GOOGLE? Searching for: car audio amplifier IC I found this: http://www.hobby-hour.com/electronics/power-audio-amplifier-ic.php You can make a vibration sensor with 2 wires, check www.instructables.com

Thread view Attachments: 0

Re: [AVR-Chat] Audio power amp and vibration sensor

2008-06-22 by Ned Konz

On Jun 21, 2008, at 10:33 PM, xolang1 wrote: > hello, > > I have 2 requirements that i hope someone could help me on: > > 1) I have a certain circuit that is able to drive an 8Ohm speaker > with a maximum output of 1watt. the voltage output is measured from > 0 to 5V. The sound h

Thread view Attachments: 0

Re: [AVR-Chat] Audio power amp and vibration sensor

2008-06-22 by xolang1

the amp has to be something that can be placed on a pcb and controlable on/off with an mcu. its a plus if gain is also controllable. --- On Sun, 6/22/08, BobGardner@aol.com wrote: From: BobGardner@aol.com Subject: Re: [AVR-Chat] Audio power amp and vibration sensor To: AVR-Chat@y

Thread view Attachments: 0

Re: [AVR-Chat] Audio power amp and vibration sensor

2008-06-22 by BobGardner@aol.com

You need a regular old car stereo amp and an accelerometer. In a message dated 6/22/2008 1:34:02 A.M. Eastern Daylight Time, xolang1@yahoo.com writes: hello, I have 2 requirements that i hope someone could help me on: 1) I have a certain circuit that is able to drive an 8Ohm spea

Thread view Attachments: 0

Audio power amp and vibration sensor

2008-06-22 by xolang1

hello, I have 2 requirements that i hope someone could help me on: 1) I have a certain circuit that is able to drive an 8Ohm speaker with a maximum output of 1watt. the voltage output is measured from 0 to 5V. The sound however , is quite soft and I need to install this inside a

Thread view Attachments: 0

Re: [AVR-Chat] Use Verilog/VHDL to code for the AVR?

2008-06-20 by John Johnson

Hi Julian, Thanks for the info! I hadn't thought about the HDL code running "all at once", that is a good point. Maybe I'll look into their CPLDs or the combined AVR/CPLD I saw mentioned somewhere. Thanks again. Regards, JJ On Wed, Jun 18, 2008 at 8:58 PM, Julian Higginson wrote:

Thread view Attachments: 0

RE: [AVR-Chat] Use Verilog/VHDL to code for the AVR?

2008-06-19 by Julian Higginson

HDL is a very different thing to C. HDL code running in a PLD or an FPGA runs "all at once", while a microcontroller runs a sequence of steps, one after the other... I imagine HDL to microcontroller conversion (short of running a logic simulator on the micro!!) is pretty near imp

Thread view Attachments: 0

Use Verilog/VHDL to code for the AVR?

2008-06-19 by John Johnson

Hello All, I skimmed over some VHDL code the other day, and it looks pretty interesting. Is there a way to write in VHDL, then have it translated to C/Assembly/Hex to program an AVR? The whole PORTB |= _BV(MY_OUT) gets tedious after a while. (just an example.) Always looking for

Thread view Attachments: 0

Re: [AVR-Chat] Re: avr & power semiconductors

2008-06-19 by John Johnson

If you are building a push-pull, H-bridge style driver, look up "shoot through." That is when you turn the high side off, and the low side on, or vice-versa. The drivers don't turn off instantly, so you need a little delay. Without it, you effectively short out the power supply e

Thread view Attachments: 0

RE: [AVR-Chat] AVR & Automation

2008-06-18 by Philippe Habib

I can't argue with anything you're saying. If I were making a rational choice of processors purely on the merits, I'd go AVR. I work mostly with PICs because my clients mostly have used them in the past and want to stick with what they know and for the most part, people like to m

Thread view Attachments: 0

[AVR-Chat] Re: avr & power semiconductors

2008-06-18 by wagnerj@proaxis.com

> Steve - thank you for your info on these two. What are some > applications you've used these in? I'm a newbie, just starting to > learn, and I appreciate these hardware insights and experiences. > Would you ever drive the 2804 directly from a uC output pin? If you > can discuss

Thread view Attachments: 0

RE: [AVR-Chat] Re: avr & power semiconductors

2008-06-18 by Steven Hodge

The Micrel 5014 costs all of $2.05 (smt) or $2.48 (dip), qty 1, at Digi-Key. It can be used high-side or low-side. I have only used low-side to date, figure 2 of the data sheet. The only other component needed is the usual bypass capacitor. It doesn't get much cheaper or easier.

Thread view Attachments: 0

Re: [AVR-Chat] Re:AVR & Automation

2008-06-18 by Roy E. Burrage

The external WDT can easily be used to set off an external alarm if the controller gets too pooped to participate. It can also be used to turn on another controller whose job it would be to set off an alarm and shut down the system in a reasonable manner to a safe state. David Ke

Thread view Attachments: 0

Re: [AVR-Chat] Re:AVR & Automation

2008-06-18 by David Kelly

On Jun 17, 2008, at 5:45 PM, Philippe Habib wrote: > In my case, it is required. The fear is that if the micro dies in > such a way that the watchdog doesn't work either you'd be in trouble, > so you have an external watchdog which does the reset. You also have > some other way o

Thread view Attachments: 0

Re: [AVR-Chat] avr & power semiconductors

2008-06-17 by Robert Adsett

At 01:23 PM 6/17/2008 -0400, David VanHorn wrote: >IRF1324S-7PPBF-ND on Digikey. > >1 mOhms @ 160A, 10V >Id 429A >Pulsed rating > 1600A > >And this is in a relatively small SMD package! But, but it's only 24V VDS max! :) Nice chip, getting the current in and out would be a seriou

Thread view Attachments: 0

Re: [AVR-Chat] Re:AVR & Automation

2008-06-17 by Philippe Habib

In my case, it is required. The fear is that if the micro dies in such a way that the watchdog doesn't work either you'd be in trouble, so you have an external watchdog which does the reset. You also have some other way of detecting a dead micro and then arrange to fail in a "goo

Thread view Attachments: 0

Re: [AVR-Chat] Re:AVR & Automation

2008-06-17 by Enki

What is the advantage of using an external WDT instead of the internal one? Mark Jordan On 17 Jun 2008 at 11:57, Zack Widup wrote: > > Me too. I usually turn the internal WDT off. > > Zack >

Thread view Attachments: 0

Re: [AVR-Chat] Re:AVR & Automation

2008-06-17 by Philippe Habib

A lot of the stuff that I work on, the internal WDT is not allowed for regulatory reasons. I must use an external part. On Jun 17, 2008, at 9:57 AM, Zack Widup wrote: > > Me too. I usually turn the internal WDT off. > > Zack > > On Tue, 17 Jun 2008, Dennis Clark wrote: > >> >>> D

Thread view Attachments: 0

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.