Flora will not upload

General project help for Adafruit customers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
True3
 
Posts: 5
Joined: Thu Jun 19, 2014 12:18 pm

Flora will not upload

Post by True3 »

Hello,
I am not the brightest bulb in the room, far from it. I have just been bit by a Adafruit fly! I got my flora yesterday and now I can't get it to up load. This is what I get. I cut and pasted the sketch from getting started.The sketch_jun24a(?) found programmer: Id= 'sl ': typed = p Software Version = V. ; Hardware Version = v. avrdude: error: buffered memory access not supported. Maybe it isn't a butterfly/AVR109 but a AVR910 device. Like I said I'm in the dark. I hope some can shed some light my way.
Thanks
True

User avatar
Franklin97355
 
Posts: 23940
Joined: Mon Apr 21, 2008 2:33 pm

Re: Flora will not upload

Post by Franklin97355 »

Here is the getting started guide. https://learn.adafruit.com/getting-started-with-flora It sounds like you have the wrong chip selected in the IDE. This should help.

User avatar
gware
 
Posts: 3
Joined: Fri Sep 26, 2014 12:29 am

Re: Flora will not upload

Post by gware »

Hi,

I too have recently received a flora and I am running into the same issue.
I searched a bit on the internet and the forums and it seems there's a general issue with some USB ports.
I have confirmed the board is working on another machine using the same arduino IDE and settings, but on my main computer it simply does not work.
Description of the issue :
- After installing the adafruit arduino ide and connecting the flora to any of my USB 2.0 ports
- The board is powered up : red led is blinking, green led is on
- When I try to compile & upload a sketch to the board
- it compiles fine
- "Binary sketch size: 4,788 bytes (of a 28,672 byte maximum)" is being printed on the console
- the RX led is blinking for a few seconds then stops
- The arduino IDE stays still for a few seconds
- Then print
Found programmer: Id = "Säf"; type = p
Software Version = V.; Hardware Version = v.
avrdude: error: buffered memory access not supported. Maybe it isn't a butterfly/AVR109 but a AVR910 device?

- Off course the led does not change behavior and does not follow the compiled instructions.

I tried with the arduino IDE 1.0.6 after "florification of the ide" as described on the website. Same results but the messages are a bit different :
This report would have more information with

"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows 7), Board: "Adafruit Flora"
Binary sketch size: 4,788 bytes (of a 28,672 byte maximum)

Found programmer: Id = "SÝ'"; type = p
Software Version = V.; Hardware Version = v.
avrdude: error: buffered memory access not supported. Maybe it isn't a butterfly/AVR109 but a AVR910 device?


Verbose output for compilation didn't print out anything surprising. A few compilation warnings coming from the arduino code.

with verbose output during upload I get this information :

Binary sketch size: 4,788 bytes (of a 28,672 byte maximum)
Forcing reset using 1200bps open/close on port COM3
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
PORTS {COM3, COM12, } / {COM3, COM12, } => {}
Uploading using selected port: COM3
C:\Program Files (x86)\Arduino\hardware/tools/avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega32u4 -cavr109 -P\\.\COM3 -b57600 -D -Uflash:w:C:\Users\gab\AppData\Local\Temp\build3993190238043511346.tmp\FloraBlinkLed.cpp.hex:i

avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "C:\Program Files (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf"

Using Port : \\.\COM3
Using Programmer : avr109
Overriding Baud Rate : 57600
AVR Part : ATmega32U4
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 1024 8 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
flash 65 6 128 0 yes 32768 128 256 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : butterfly
Description : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: .avrdude: Send: . [1b]
avrdude: Send: S [53]
avrdude: Recv: S [53]

avrdude: Recv:
avrdude: Send: V [56]
avrdude: Recv: V [56]
avrdude: Send: v [76]
avrdude: Recv: v [76]
avrdude: Recv:
avrdude: Send: p [70]
avrdude: Recv: p [70]
Found programmer: Id = "Sÿ("; type = p
Software Version = V.; Hardware Version = v.
avrdude: Send: a [61]
avrdude: Recv: a [61]
avrdude: Send: b [62]
avrdude: Recv: b [62]
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?



Does anyone have a clue of what's going wrong here ?
Any help appreciated !

Thanks,
Gab'

User avatar
gware
 
Posts: 3
Joined: Fri Sep 26, 2014 12:29 am

Re: Flora will not upload

Post by gware »

While I'm at it :
in fact it seems that the sketch that was preloaded onto the board in factory is a "echo" test.
If I open serial monitor and type, I get everything echoed to me.

And it seems that's also what is happening when we upload the sketch : the arduino ide is trying to send commands to receive the id of the bootloader or something along those lines, but only gets its commands echoed to him. (send s, recv s, etc.)

I'm not knowledgeable enough to know what's going on with the bootloader / sketch there.
Clearly, as it does not happen with the other machine it might be related to timing issues ....

Anyone has an idea?

Thanks,
Gab

User avatar
gware
 
Posts: 3
Joined: Fri Sep 26, 2014 12:29 am

Re: Flora will not upload

Post by gware »

Ok figured it out : as per these instructions : http://arduino.cc/en/Guide/Troubleshooting2#toc8 :

basically I have to reset the board while it's printing those lines :
PORTS {COM3, COM13, } / {COM3, COM13, } => {}
PORTS {COM3, COM13, } / {COM3, COM13, } => {}

(visual clue : when the tx led is blinking).
If I press the reset button, everything is correctly uploaded and works.

It's a bit annoying, but I'll probably survive.
Hope this will help anyone searching for this issu with the flora board (avrdude: error: buffered memory access not supported. Maybe it isn't a butterfly/AVR109 but a AVR910 device?)

Have fun,
Gab'

User avatar
zdenek_hurak
 
Posts: 1
Joined: Sat Dec 20, 2014 4:50 pm

Re: Flora will not upload

Post by zdenek_hurak »

I confirm that the problem with uploading appears and that it could be solved by pressing the reset button on Flora while uploading.

Locked
Please be positive and constructive with your questions and comments.

Return to “General Project help”