Butterfly bootloader broken?

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

Hey,

I just got my first program uploaded to my bfly thru atmels avrpgog.

Now when i try to load second program, it just says

"Adress: 0x0000 Expected: 0xc000 Received: 0x0100"

So is bootloader broken?

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

How large was the program?

Smiley

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

The program that i uploaded was taken from
here http://www.dwelch.com/avr/ (the first example) and the .HEX file was 67bytes in size, and it was compiled in AVR studio 4.

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

Ah, assembler, not my forte, so I will bow out and let an assembler guru respond. You might change the title to 'Butterfly Assembler program problem'.

Good Luck
Smiley

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

Is there anymore hope to upload program to the butterfly with UART, or is ISP device needed? I have found some ppl having same problem in here, but no one havent post any resolution to this.

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

Ok, i downloaded the atmels software for butterfly and uploaded it. It now shows "Expected: 0x940c" and i guess thats the calssic bootloader bug. So there is nothing i can do, except find ISP device somewhere and try to write bootloader with it. :(

Btw, is there anything i can do to make butterfly last longer than 1 programming in the future. If i even find a way to fix it in first place.

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

I got it working by loading new bootloader from Martin Thomas's site with AVRISP MKII. Thanks all for help.

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

Which kind of raises the question: if you have an ISP why waste code space in the 169 for a bootloader anyway?

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

clawson wrote:
Which kind of raises the question: if you have an ISP why waste code space in the 169 for a bootloader anyway?

I had it only for repair and now i need to return it.