Colin O'Flynn Bootloader Article in Circuit Cellar

Go To Last Post
24 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There is a very nice article by Colin O'Flynn describing a bootloader system in the February 2006 issue of Circuit Cellar. A must read!

--
"Why am I so soft in the middle when the rest of my life is so hard?"
-Paul Simon

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

How do it ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

1) Step into local newsagent
2) Walk to magazine rack
3) Locate Circuit Cellar magazine
4) Take magazine
5) Purchase magazine
6) Locate pertinant article
7) Read article

Easy! Or, failing that, I think you can also purchase e-editions from the CC website.

Congrats, Collin! If my dad can get ahold of it, i'll be sure to read it...

- Dean :twisted:

Make Atmel Studio better with my free extensions. Open source and feedback welcome!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

A case of tits on a bull

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

abcminiuser wrote:

3) Locate Circuit Cellar magazine

This step must fail on most countries

abcminiuser wrote:

Easy! Or, failing that, I think you can also purchase e-editions from the CC website.

This step must also fail for most people, because not every person was an owner of a credit card.

Please point on a free forum only to such articles, which are readable for most people of all countries.

Peter

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey,

Glad you found it useful ;-)

Actually it WILL be available for free, you have to wait until February though. It will be at http://www.circuitcellar.com for that month only I was told.

The bootloader itself is open source at http://www.newae.com/loonboard/l...

Regards,

-Colin

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

Please point on a free forum only to such articles, which are readable for most people of all countries.

Excuse me, but... This must be one of the most stupid demands I have ever read here.

How is this different than pointing out a book that You think is good and can be bought over the net, eg. from Amazon?

Should we expand that principle and not talk about where to obtain non-free software. No-one here is allowed to tell where You can get eg. the CodeVision compiler?

And what about all people who have helped out with where to buy parts. Should we point only to suppliers who deliver without charging?

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

How is this different than pointing out a book that You think is good and can be bought over the net, eg. from Amazon?

OT note: One of my children is having an article published in a scholarly journal, which makes this old-farm-boy parent quite proud. To get a copy of the journal for a keepsake will cost us several hundred US$.

Lee

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

farang wrote:
... very nice article ... A must read!

Please stop immodest advertisement !

Why it is nice ?

Why "A must read !" ?

Whats the main difference to the many other free available bootloaders ?

Since it is not easy to get, I need a reason to get it or not.

Peter

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey, Peter, lighten up. One of our very own Freaks got an article published in a mainstream popular-press magazine--IMO enough justification to make a post on the general AVR Forum. farang gave his positive recommendation; your "review" may be different. Colin already responded that there will be a "free" window soon--farang was good enough to let me (not a Circuit Cellar subscriber) know to keep an eye out for it.

Lee

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Congratulations Colin, I look forward to reading it this weekend.

One of my professors used a Xilinx part to swap a monitor image from landscape to portrait at the press of a button. Quite impressive.

Smiley

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

danni wrote:

Whats the main difference to the many other free available bootloaders ?

It is 207 bytes long, loads from external memory and works on both an AVR and an FPGA. The code is GNU GPL and you can get it at:

http://www.newae.com/loonboard/l...

Smiley

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Side note: If you subcribe to the electronic edition you can DL it now.....but you already knew that. ;)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Colin, thanks. This is great. I'm finishing up getting my MMC file system running. Getting closer! I'll learn from you and maybe get a MMC bootloader under 1k. If you have some time, please comment on the MMC bootloader thread and if your bootloader could work there too.

https://www.avrfreaks.net/index.p...

bootloading from SPI MMC

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey again,

For those who were waiting for the free version, it's up at http://www.circuitcellar.com/lib...

-Colin

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Great news. I'm looking forward to danni's review to see if agrees or disagrees with farang's opinion.

Lee

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

For you Circuit Cellar readers, there will be another article using AVR's coming soon. I wrote an article about a low cost spectrum analyzer I designed and they're preparing it for publication now. The spectrum analyzer covers the 2.4 GHz ISM band and it connects to a PC via a USB port. The article will be published in the April issue.

Scott Armitage

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well done. Another true freak, spreading the gospel.

Lee

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi colin :)
It's VERY cool to have a magazine like CC publish
your technical article!

Will this bootloader work on an Atmega168?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Gwen:
You're used to sw that's a bit "rough around the edges" right ? I've managed to create a simple bootloader for the M168, and Svofski ported the PC SW to Windows !
Interested ?

Colin:
Great article !! Impressive stuff ! got me really curious about FPGA:s ...
One silly question:
Why did You choose to use the internal RC oscillator of the AVR ?

Have a nice weekend, and so on ...

/J

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

sarmitage wrote:
For you Circuit Cellar readers, there will be another article using AVR's coming soon. I wrote an article about a low cost spectrum analyzer I designed and they're preparing it for publication now. The spectrum analyzer covers the 2.4 GHz ISM band and it connects to a PC via a USB port. The article will be published in the April issue.

Scott Armitage

I'll be looking forward to this one as well.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

Will this bootloader work on an Atmega168?

Yup - in fact that is what it is working on right now. Digikey ran out of Mega88's, so I substituted Mega168's in my boards. So the bootloader actually gets tested on 168's more...

Quote:
Why did You choose to use the internal RC oscillator of the AVR ?

Having access to as many pins as possible, and hardware costs. I already had a RTC in my system so why not use it? ;-)

Also - the code is being tested on Mega128 right now, and I have someone working on a GTK front-end to it. So it is slowly growing..

Regards,

-Colin

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"The spectrum analyzer covers the 2.4 GHz ISM band and it connects to a PC via a USB port."

I am anxiously awaitng the April issue!

--
"Why am I so soft in the middle when the rest of my life is so hard?"
-Paul Simon

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

A few years ago, I wrote a fpga loader on a mega128 that allowed me to load the FPGA via the serial port so I could debug the FPGA design. The fpga's back then could easily fit into part of the mega128's flash and still have space to spare. Not quite a fancy as Colin's though.

Colin's articles are always well written and a good read. Cheers to Colin and keep them coming!