Maybe ... a AVR910 device? Win7 upload error

the third iteration with the c prefix managed to install the drivers
during normal installations (SparkiDuino-1.0.5.4c-Setup)
and opening up the IDE (1.0.5-r2 says the title bar),
then plugging in Sparki gave new COM ports as per the guide and the forum

(after having removed and uninstalled the earlier iterations and doing a couple of reboots)

but getting compiled code up to the sparki? no luck

connecting to the front hub gave com5, then the sparki flashing red led and beeping. error ID="BJ"
connecting to the motherboard in the back gave com6, and the following error on upload;

Binary sketch size: 14 884 bytes (of a 28 672 byte maximum)
Found programmer: Id = “BH”; type =

Maybe it isn’t a butterfly/AVR109 but a AVR910 device?

the status light pulses red for maybe 10 seconds initially, with the screen blanking on the sparky
then a single green from the led. and the logo is back on the screen.

then nothing for ~30 seconds, with the progress bar at app. 90%,
before the error message in the ide

when having device mgr open along side I see the “sparki programmed” appear as COM6 when connecting.
then as the upload starts it disappears for a few seconds, then returns

tried several different samples, including the empty basic code, light follow, rgb, char variables.

so basically the same errors as i got with the arduino driver installed directly.

Can you try doing a manual upload?
arcbotics.com/lessons/manual-upload/

[quote=“roboalchemist”]Can you try doing a manual upload?
arcbotics.com/lessons/manual-upload/[/quote]

thanks for the reply,

saw that pages as i caved and put in java on my dev mac for now.
removing it later tonight after junior is safe asleep :confused:
the sparki works pretty well from the mac, so it is clearly not a device issue (thankfully)

when i hold reset, COM5 goes away from the device mgr, same as during an upload from the IDE
thinking that and the time it takes to get back is part of the problem…?

this is what i got from adding in verbose upload output;

Found Leonardo upload port: COM5
C:\Program Files (x86)\SparkiDuino\hardware/tools/avr/bin/avrdude -CC:\Program Files (x86)\SparkiDuino\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega32u4 -cavr109 -P\\.\COM5 -b57600 -D -Uflash:w: XXX Temp\build5997598235429492575.tmp\Restore_Default.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)\SparkiDuino\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM5
         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: avrdude: Recv: 
avrdude: Send: V [56] avrdude: Recv: 
avrdude: Send: v [76] avrdude: Recv: avrdude: Recv: 
avrdude: Send: p [70] avrdude: Recv: 
Found programmer: Id = "ÿ("; type =     Software Version = E. Hardware Version = ð.
avrdude: Send: a [61] avrdude: Recv: 
avrdude: Send: b [62] avrdude: Recv: 

avrdude: error: buffered memory access not supported. 
Maybe it isn't a butterfly/AVR109 but a AVR910 device?

Does your Win 7 machine happen to have USB 3.0 ports? I was getting more or less the same, “…AVR910 device?” error on my Asus ZenBook running Ubuntu 13.10. After a lot of troubleshooting, I discovered that the Atmega 32u4 doesn’t work well on USB 3.0 ports. I discovered that this is true whether you run Windows or GNU/Linux, and there’s plenty of forum posts around the net with the same issue if you google the error with “arduino leonardo”.

Similar to your experience of trying the Sparki on a Mac, once I tried using my Sparki on my older netbook running Linux Mint 12, I was able to upload code just fine.

Perhaps this is why code won’t upload from my Win8.1 Surface Pro (which only has a USB 3 port), but will upload from an older Win7 machine (which has a USB 2 port).

Is there a fix?

Perhaps this is why code won’t upload from my Win8.1 Surface Pro (which only has a USB 3 port), but will upload from an older Win7 machine (which has a USB 2 port).

Is there a fix?[/quote]

I’ve not found a fix, but I’m not looking for Windows 8.1 fixes either :wink:

This thread has some good troubleshooting suggestions: forums.adafruit.com/viewtopic.php?f=25&t=35947

Try updating the USB drivers from your manufacturer, try a new USB cable, try putting a USB 2.0 hub between the board (Sparki) and the computer, etc. None of those fixes worked for me, but I’m working with Linux, so you might have better luck!

i was getting the same impression based on the assorted posts in the forum.
if it is a consistent error / problem, it should probably be spelled out in the intro text

might have to test using a old hub in front of the regular ports or the front facing ones.