picoboot v3 beta release

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

256 bytes of assembler, Arduino bootloader compatible (avrdude -c arduino), with autobaud (minimum 19,200bps @ 16Mhz).  At 500kbps, it will read 32kB of flash on the m328 in 1.95 seconds.

http://nerdralph.blogspot.com/20...

https://github.com/nerdralph/pic...

 

As the smallest, and I believe only Arduino-compatible bootloader with autobaud support, what else is there to add?

Maybe next I'll make a version for the ATtiny series using my bit-bang uart.

 

I have no special talents.  I am only passionately curious. - Albert Einstein

 

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

Thank you! ... and welcome back!

ralphd wrote:
As the smallest, and I believe only Arduino-compatible bootloader with autobaud support, what else is there to add?
Bootloader exception to GPLv3?

Reason : AVR have one program space.

One advantage of GPL is dual-license (copyleft, non-copyleft) such that you can have some revenue for commercial instances of picoboot.

ralphd wrote:
Maybe next I'll make a version for the ATtiny series using my bit-bang uart.
or, unified-memory AVR (an alternative to Microchip's bootloader, mega3208 is a follow-on to mega328PB, tiny202 is a follow-on to tiny102)

 


#MereAggregation | Frequently Asked Questions about the GNU Licenses - GNU Project - Free Software Foundation

...

Where's the line between two separate programs, and one program with two parts? This is a legal question, which ultimately judges will decide. 

...

If modules are designed to run linked together in a shared address space, that almost surely means combining them into one program.

...

Recommend easing the license decision so one avoids interactions with attorneys, magistrates, and judges.

 

License Exceptions | Software Package Data Exchange (SPDX)

...

Bootloader-exception

...

u-boot-exception-2.0

...

 

AN2634 - Bootloader for tinyAVR 0- and 1-series, and megaAVR 0-series

ATMEGA3208 - 8-bit Microcontrollers

ATTINY202 - 8-bit AVR Microcontrollers

ATtiny102 - 8-bit AVR Microcontrollers

 

"Dare to be naïve." - Buckminster Fuller

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

gchapman wrote:

Thank you! ... and welcome back!

ralphd wrote:
As the smallest, and I believe only Arduino-compatible bootloader with autobaud support, what else is there to add?
Bootloader exception to GPLv3?

[...]

 

ralphd wrote:
Maybe next I'll make a version for the ATtiny series using my bit-bang uart.
or, unified-memory AVR (an alternative to Microchip's bootloader, mega3208 is a follow-on to mega328PB, tiny202 is a follow-on to tiny102)

[...]

 

I forgot that I went with GPLv3 when I started picoboot.  For a few years now I've been using MIT, so I'll probably switch picoboot to MIT as well.

 

As for the tiny-0 chips, I don't have any of them, and don't have any plans to pick them up.

 

 

I have no special talents.  I am only passionately curious. - Albert Einstein

 

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

As for the tiny-0 chips, I don't have any of them, and don't have any plans to pick them up.

They're fun.  Even starting with the optiboot code, the version for tiny0/etc was smaller, more capable, and more portable (same binary on many different chips._

 

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

westfw wrote:

As for the tiny-0 chips, I don't have any of them, and don't have any plans to pick them up.

They're fun.  Even starting with the optiboot code, the version for tiny0/etc was smaller, more capable, and more portable (same binary on many different chips._

 

I don't doubt they are fun.  It's that I have many other fun MCUs I want to play with too.  I've got a few STM32F030's that I have yet to do anything more than test that they are recognized by stm32flash, and an STM32F103 "blue pill" board sitting in an anti-static bag for 2 years now.  Plus the 500+ page datasheet for something like the tiny1604 puts it in the same category of learning curve as many of the ARM MCUs.

 

As for bootloaders for the new chips, to me it would make more sense to just program them directly with UPDI, since it is just a half-duplex TTL UART protocol.

https://github.com/mraardvark/py...

 

 

I have no special talents.  I am only passionately curious. - Albert Einstein