alpha testers wanted for picoboot

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

picoboot is a bootloader that takes only 66 bytes of flash and works on ATtiny AVRs without hardware bootloader support by using a virtual reset vector.
Builds for attiny84/85 and attiny88 as well as a win32 build of avrdude with picoboot support are available here:
http://162.248.164.251/files/

ATtiny2313, and attiny44/84 builds to follow.

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

 

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

66 bytes?! I.e. 33 instructions. Impressive!

Are you planning to push your AVRDUDE changes upstream?

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

JohanEkdahl wrote:
66 bytes?! I.e. 33 instructions. Impressive!

Yes. There's actually only 31 instructions + 2 bytes for a virtual reset vector that has to go on a separate page. It only supports writes, but it does an EOR-based data validity check every 3 bytes. I might even be able to support read and stay within 32 instructions if I use USI instead of my bitbang UART. You can look at the code here:
http://code.google.com/p/picoboo...
JohanEkdahl wrote:

Are you planning to push your AVRDUDE changes upstream?

If there's someone other than Jeorg to send it to, yes. In the mean time I plan to auto update my avrdude fork from the official svn respository so it stays up-to-date with the official trunk.

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

 

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

Sweet code! Gotta luv tight assem code.

Might have to rethink one of our local maker projects; at ~$70 for 100 of the 88s in tubes.... we looking at doing some give-aways (a 'smart' variant of BristleBot/vibrobot; no pcb, just wire-wrapping components onto the chip itself, including a 'straw' bristle per IC leg (leds used as sensors, a nano-vib-motor for motion, ...)...

Do you have the avrdude fork/svn available publicly? Would need to cook up Linux/OS-X builds to match your Windows binary.

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

SushiHangover wrote:

Do you have the avrdude fork/svn available publicly? Would need to cook up Linux/OS-X builds to match your Windows binary.

Yesterday I just did a quick copy of the new/modified files to the avrdude subdir in the picoboot google code repository.
On the weekend I'll put it all up there, and merge in anything new on the avrdude trunk since 6.0.1.

I was planning on doing a linux build too, but if you could do it that'd save me a little bit of work.

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

 

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

SushiHangover wrote:

Might have to rethink one of our local maker projects; at ~$70 for 100 of the 88s in tubes....

Where can you get them for that price? Mouser & Digi are $109 for 100 of the ATtiny88-PUs. I only bought one DIP, but bought a bunch of the 88-AUs since they're dirt cheap (56c/qty25). I think I messed up one of the -au parts trying to hand solder it with individual wires to an nrf24l01 module, so I ordered a bunch of QFP-32 breakout boards. If I can get the DIPs for $70/qty100, I'd go with more of them and less of the QFPs.
The QFNs are even cheaper, but I'm fine with paying a bit extra for 0.8mm pitch pins instead of 0.5mm.

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

 

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

ralphd wrote:
SushiHangover wrote:

On the weekend I'll put it all up there, and merge in anything new on the avrdude trunk since 6.0.1.
I was planning on doing a linux build too, but if you could do it that'd save me a little bit of work.

Sounds great, let me know...

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

ralphd wrote:
SushiHangover wrote:

Might have to rethink one of our local maker projects; at ~$70 for 100 of the 88s in tubes....

Where can you get them for that price? Mouser & Digi are $109 for 100 of the ATtiny88-PUs. I only bought one DIP, but bought a bunch of the 88-AUs since they're dirt cheap (56c/qty25). I think I messed up one of the -au parts trying to hand solder it with individual wires to an nrf24l01 module, so I ordered a bunch of QFP-32 breakout boards. If I can get the DIPs for $70/qty100, I'd go with more of them and less of the QFPs.
The QFNs are even cheaper, but I'm fine with paying a bit extra for 0.8mm pitch pins instead of 0.5mm.

Someone at our maker works for a company that has ~5k of them sitting on a shelf from a canceled project... their inventory write-off cost on them is 0.705... I did not even realize you could get QFNs of them that cheap. I prefer toasting SMDs as my hand soldering skills "suck!" :shock:, hard to believe that I was Mil-S/Mil-P certified at one time in my life when you see how many cold-solder joints that I can crank out in an hour...

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

SushiHangover wrote:
ralphd wrote:
SushiHangover wrote:

On the weekend I'll put it all up there, and merge in anything new on the avrdude trunk since 6.0.1.
I was planning on doing a linux build too, but if you could do it that'd save me a little bit of work.

Sounds great, let me know...

It's done. You can find it here:
https://code.google.com/p/picobo...
The latest avrdude trunk is broken (there were a bunch of fresh commits Feb 21), so I went back to 20140114 to get a clean build. I did an x86-64 Linux build, so if you do i386 and MacOS builds I'll add them too.

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

 

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

I'm compressed!

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut.