Yahoo Groups archive

AVR-Chat

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

Thread

ATMega Bootloader

ATMega Bootloader

2009-08-31 by Chuck Hackett

I was searching the internet for suggested serial port boot loaders for
ATMegas (ATMega16 at the moment) and I can across this one that is USB
connected:

http://www.fischl.de/avrusbboot/

Anyone have experience with this or a similar USB boot loader to recommend?
I’d like to keep board cost and real estate requirements to a minimum.

In the short term is this a good boot loader to use for my boards that have
a serial port but no USB?

http://projects.gbdt.com.au/boot162/

(I use WinAVR & AVR Studio)
 
Cheers,

Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844
http://www.whitetrout.net/Chuck

Re: [AVR-Chat] ATMega Bootloader

2009-08-31 by John Samperi

At 03:51 AM 1/09/2009, you wrote:
>across this one that is USB connected:

I would suspect that would be rather large because of the USB
firmware, but if you have the room why not.

Most boot-loaders have been designed to squeeze into the least
amount of flash. Also not that the boot-loader fuse must be
checked or programmed unlike what Darren Hutchinson says in his
webpage.

All of my boards just have a 4 or 6 pin header with the USART pin
and power, I can then plug in anything, USB or RS323 or even ethernet
dongles to communicate with the chip. No real estate taken.

Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

Re: ATMega Bootloader

2009-09-01 by stevech11

popular one - free. Includes Windows graphical user interface.
http://www.avrfreaks.net/index.php?module=Freaks%20Academy&func=viewItem&item_type=project&item_id=625

Have you looked at the others in the projects section of AVRfreaks' forum?

--- In AVR-Chat@yahoogroups.com, John Samperi <samperi@...> wrote:
Show quoted textHide quoted text
>
> At 03:51 AM 1/09/2009, you wrote:
> >across this one that is USB connected:
> 
> I would suspect that would be rather large because of the USB
> firmware, but if you have the room why not.
> 
> Most boot-loaders have been designed to squeeze into the least
> amount of flash. Also not that the boot-loader fuse must be
> checked or programmed unlike what Darren Hutchinson says in his
> webpage.
> 
> All of my boards just have a 4 or 6 pin header with the USART pin
> and power, I can then plug in anything, USB or RS323 or even ethernet
> dongles to communicate with the chip. No real estate taken.
> 
> Regards
> 
> John Samperi
> 
> ********************************************************
> Ampertronics Pty. Ltd.
> 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
> Tel. (02) 9674-6495       Fax (02) 9674-8745
> Website  http://www.ampertronics.com.au
> *Electronic Design * Custom Products * Contract Assembly
> ********************************************************
>

Re: [AVR-Chat] Re: ATMega Bootloader

2009-09-01 by dlc

Or...

   Check out an Arduino install and look at the bootloader source in 
there.  There are options for creating the bootloader on a MEGA128 using 
one of the USARTs.  The Arduino bootloader is based upon the Atmel app 
note that makes it look like an AVR ISP (STK500).  Then you can just use 
AVRdude or your favorite programmer software and have no need for custom 
GUI code to download to your part.  In my case I'm using it in a MEGA168 
with a Sparkfun Bluetooth module for totally wireless code downloading 
through the virtual COM port on the PC.

have fun,
DLC

stevech11 wrote:
> popular one - free. Includes Windows graphical user interface.
> http://www.avrfreaks.net/index.php?module=Freaks%20Academy&func=viewItem&item_type=project&item_id=625
> 
> Have you looked at the others in the projects section of AVRfreaks' forum?
> 
> --- In AVR-Chat@yahoogroups.com, John Samperi <samperi@...> wrote:
>> At 03:51 AM 1/09/2009, you wrote:
>>> across this one that is USB connected:
>> I would suspect that would be rather large because of the USB
>> firmware, but if you have the room why not.
>>
>> Most boot-loaders have been designed to squeeze into the least
>> amount of flash. Also not that the boot-loader fuse must be
>> checked or programmed unlike what Darren Hutchinson says in his
>> webpage.
>>
>> All of my boards just have a 4 or 6 pin header with the USART pin
>> and power, I can then plug in anything, USB or RS323 or even ethernet
>> dongles to communicate with the chip. No real estate taken.
>>
>> Regards
>>
>> John Samperi
>>
>> ********************************************************
>> Ampertronics Pty. Ltd.
>> 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
>> Tel. (02) 9674-6495       Fax (02) 9674-8745
>> Website  http://www.ampertronics.com.au
>> *Electronic Design * Custom Products * Contract Assembly
>> ********************************************************
>>
> 
> 
> 
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 
> 

-- 
-------------------------------------------------
Dennis Clark          TTT Enterprises
www.techtoystoday.com
-------------------------------------------------

RE: [AVR-Chat] ATMega Bootloader

2009-09-01 by Chuck Hackett

> From: John Samperi
> 
> .... (USB Bootloader) ....
>
> I would suspect that would be rather large because of the USB
> firmware, but if you have the room why not.
> 
> Most boot-loaders have been designed to squeeze into the least
> amount of flash. ....
> 
> All of my boards just have a 4 or 6 pin header with the USART pin
> and power, I can then plug in anything, USB or RS323 or even ethernet
> dongles to communicate with the chip. No real estate taken.

Hi John,

I agree that your approach does, indeed, minimize board and code footprint.

The boards I am making are installed in the field and maintained by
inexperienced volunteers.  I want to be able to email new firmware (fairly
frequent at the moment due to rolling out new features, etc.) to them and
make it as foolproof as possible for them to load it.  

Since serial ports are scarce on modern laptops and I have had issues with
USB-Serial adapters in the past I was intrigued by the USB bootloader I
mentioned because my 'user' would not have to keep track of extra hardware,
just a USB cable which is more common than serial cables these days.  The
only external hardware required by the bootloader appeared to be 5-6 passive
components (no level shifter required) and the code size of the minimal
configuration seemed fairly small.

In doing some more reading I discovered that one needs to check to see if
the USB bootloader needs a custom driver on the PC side - more complication
when dealing with volunteers.

Considering all this, I think I'll stick with a header and make an external
adapter for them to use.  I guess if they could keep track of a USB cable,
they should be able to keep track of a USB-Serial adapter :-)

stevech11, DLC:  Thanks for the pointers to the bootloaders, I'll check them
out.
 
Cheers,

Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844
http://www.whitetrout.net/Chuck

Re: ATMega Bootloader

2009-09-02 by stevech11

I'm playing with this low cost plug and play - good for the inexperienced. Simple USB bootloader, used with Atmel Studio + WinAVR or any other compiler that produces .hex.

http://www.pjrc.com/teensy/

loader is super simple to use.


--- In AVR-Chat@yahoogroups.com, John Samperi <samperi@...> wrote:
Show quoted textHide quoted text
>
> At 03:51 AM 1/09/2009, you wrote:
> >across this one that is USB connected:
> 
> I would suspect that would be rather large because of the USB
> firmware, but if you have the room why not.
> 
> Most boot-loaders have been designed to squeeze into the least
> amount of flash. Also not that the boot-loader fuse must be
> checked or programmed unlike what Darren Hutchinson says in his
> webpage.
> 
> All of my boards just have a 4 or 6 pin header with the USART pin
> and power, I can then plug in anything, USB or RS323 or even ethernet
> dongles to communicate with the chip. No real estate taken.
> 
> Regards
> 
> John Samperi
> 
> ********************************************************
> Ampertronics Pty. Ltd.
> 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
> Tel. (02) 9674-6495       Fax (02) 9674-8745
> Website  http://www.ampertronics.com.au
> *Electronic Design * Custom Products * Contract Assembly
> ********************************************************
>

OT. ON Resistance

2009-09-03 by mago Umandam

Out of topic. Anyone can give the difference between ON resistance and ON resistance flatness? Im reading a datasheet of a multiplexer that says 2.5 ohm ON resistance, 0.5 Ohm resistance flatness. Is it average ON resistance?
 
regards,
mago


      

[Non-text portions of this message have been removed]

Re: [AVR-Chat] OT. ON Resistance

2009-09-03 by Jim Wagner

Flatness tells you how much the on-resistance varies with voltage over  
the range of allowable voltages. Thus, I would expect 0.5ohm flatness  
to indicate that the resistance will be within a 0.5ohm "window",  
maybe with an average of 2.5 ohms or maybe 2.5ohms at some nominal  
voltage (probably given in the spec sheet).

Jim Wagner
Oregon Research Electronics

On Sep 2, 2009, at 8:31 PM, mago Umandam wrote:

> Out of topic. Anyone can give the difference between ON resistance  
> and ON resistance flatness? Im reading a datasheet of a multiplexer  
> that says 2.5 ohm ON resistance, 0.5 Ohm resistance flatness. Is it  
> average ON resistance?
>
> regards,
> mago
>
> [Non-text portions of this message have been removed]
>
>
> 



[Non-text portions of this message have been removed]

Re: [AVR-Chat] OT. ON Resistance

2009-09-03 by mago Umandam

Thanks Jim for clear answer. I spent about an hour searching the net with no clear answer. Posting a question here on avr-chat would give me an answer faster:) 
 
cheers,
mago

--- On Thu, 9/3/09, Jim Wagner <wagnerj@proaxis.com> wrote:
Show quoted textHide quoted text
From: Jim Wagner <wagnerj@proaxis.com>
Subject: Re: [AVR-Chat] OT. ON Resistance
To: AVR-Chat@yahoogroups.com
Date: Thursday, September 3, 2009, 12:48 PM


  



Flatness tells you how much the on-resistance varies with voltage over 
the range of allowable voltages. Thus, I would expect 0.5ohm flatness 
to indicate that the resistance will be within a 0.5ohm "window", 
maybe with an average of 2.5 ohms or maybe 2.5ohms at some nominal 
voltage (probably given in the spec sheet).

Jim Wagner
Oregon Research Electronics

On Sep 2, 2009, at 8:31 PM, mago Umandam wrote:

> Out of topic. Anyone can give the difference between ON resistance 
> and ON resistance flatness? Im reading a datasheet of a multiplexer 
> that says 2.5 ohm ON resistance, 0.5 Ohm resistance flatness. Is it 
> average ON resistance?
>
> regards,
> mago
>
> [Non-text portions of this message have been removed]
>
>
> 

[Non-text portions of this message have been removed]

















      

[Non-text portions of this message have been removed]

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.