picoboot beta 2

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

I've just released beta 2 of picoboot. There are no changes to the bootloader code - just to picoboot-avrdude.
Instead of erasing as pages were written, it now implements chip erase, erasing the page before the bootloader down to page 0.
With the previous programming algorithm, if power was lost between erasing and writing page 0, the bootloader function could be corrupted. Now when page 0 is erased, the rest of the pages up to the bootloader will be erased too. Erased pages are set to 0xFF, which acts like a nop, so the avr will run through the empty pages until it reaches the bootloader code.

Source and link to Windows & Linux binaries:
http://code.google.com/p/picoboo...

avrdude -p t84 -c picoboot -P com16 -U flash:w:../avr/t84tTx.hex
drain>

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

 

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

I noticed this was moved from the avr-gcc forum. I posted it there since the avrdude 6.1 release post was in that forum, and picoboot-avrdude is based on avrdude 6.1.
I notice the avrdude thread remains in the avr-gcc forum.

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

 

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

The GCC forum is for questions about the use of the GCC compiler/linker and related tools. avrdude isn't actually one of those. In fact because of things like USBAsp and Arduino avrdude is so widely used that very often its use is in no way related to GCC.

That's why I moved the thread. If there are other threads in the GCC forum that are not about the use of GCC then feel free to point them out in this thread:

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

And one of the other moderators or I will arrange to move the thread.

Moderator

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

Oooh, semantics...

"The GCC forum ..."

Passe now, but there is (was) a popular package called WinAVR. Discussions for that package seemed to happily live on the GCC forum. How is that package described?

Quote:
WinAVRTM contains all the tools for developing on the AVR. This includes avr-gcc (compiler), avrdude (programmer), avr-gdb (debugger), and more! WinAVR is used all over the world from hobbyists sitting in their damp basements, to schools, to commercial projects.

So confusing. What forum does binutils-avr belong in?

In the past (IIRC) I was educated that "GCC" stood for "GNU Compiler Collection". But Debian sez

Quote:
Package: gcc-avr (1:4.8-2 and others)

The GNU C compiler (cross compiler for avr)

This is the GNU C compiler, a fairly portable optimizing compiler which supports multiple languages. This package includes support for C.

(a thankless job to determine what is proper. LOL -- the moderators need a Sorting Hat)

Attachment(s): 

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

clawson wrote:
If there are other threads in the GCC forum that are not about the use of GCC then feel free to point them out in this thread:

You were obviously aware of Jeorg's thread since you posted in it:
https://www.avrfreaks.net/index.p...

I have no problem with you moving my thread. The fact that you didn't move Jeorg's thread leads me to question how objectively you use your moderator powers.

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

 

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

Quote:

- the moderators need a Sorting Hat)

Indeed. It's a tricky call. If anyone feels something is in the wrong place (even after a move) then report it to a moderator and it can be moved back. I can move this thread back (and delete the "noise") if required but be warned that GCC forum gets less "eyeballs" than the main AVR Forum

(actually for a time, while a "moved: ..." entry exists in a source forum after a movement it actually gets the thing listed in two places - so it's not always a disadvantage ;-))

Anyway, as the original Picoboot announcement was in this forum (AVR) there's a pleasant symmetry about it being in the same place. (actually one might question why the cross post and why not just announce "V2" on the back end of that same thread?

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

clawson wrote:

Anyway, as the original Picoboot announcement was in this forum (AVR) there's a pleasant symmetry about it being in the same place. (actually one might question why the cross post and why not just announce "V2" on the back end of that same thread?

That presumes I actually considered adding to the older thread (which I didn't).

It's a reasonable suggestion, so if there is an easy way to find my old threads on a specific topic, I'll probably do it that way in the future.

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

 

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

ralphd wrote:
if there is an easy way to find my old threads on a specific topic, I'll probably do it that way in the future.
You can browse all of the threads to which you have posted by clicking on the 'speech bubble' icon next to 'My forumposts' in the left margin. The icon has the hover text 'Show all of my posts'. Here's a direct link:
https://www.avrfreaks.net/index.p...
This shows all the posts for the logged in user.

You can also do a forum search. While the search engine is weak at best, you can still find what you're looking for pretty quickly:
https://www.avrfreaks.net/index.p...

Searching for the keyword 'picoboot' and the author ralphd yields all of your relevant posts. You can further constrain the results by selecting the 'Search message title only' radio button.

"Experience is what enables you to recognise a mistake the second time you make it."

"Good judgement comes from experience.  Experience comes from bad judgement."

"Wisdom is always wont to arrive late, and to be a little approximate on first possession."

"When you hear hoofbeats, think horses, not unicorns."

"Fast.  Cheap.  Good.  Pick two."

"We see a lot of arses on handlebars around here." - [J Ekdahl]

 

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

@ralphd - does it matter where the thread is placed....

regards
Greg

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

joeymorin wrote:
You can further constrain the results by selecting the 'Search message title only' radio button.

I hadn't noticed the message title only option before. Thanks.

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