Spirit_BaseSketch_PiControl upload fails

The more technical aspects of Spirit, and carry-over discussion from Kickstarter updates.
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
sm7tix
Posts: 31
Joined: Sat Oct 28, 2017 4:21 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Spirit_BaseSketch_PiControl upload fails

Postby sm7tix » Sat Feb 10, 2018 12:28 pm

I am trying to upload the Spirit_BaseSketch_PiControl to my Spirit.
I am using Linux Mint on my desktop computer and followed the instruktion to install the Arduino IDE.
When i try to upload i get this
Arduino:1.8.5 (Linux), Kort:"Arduino/Genuino Uno"

Archiving built core (caching) in: /tmp/arduino_cache_892855/core/core_arduino_avr_uno_5f9a73f13a7d070d145562d10ff37cc1.a
Sketch uses 6826 bytes (21%) of program storage space. Maximum is 32256 bytes.
Global variables use 642 bytes (31%) of dynamic memory, leaving 1406 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x78
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x86
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x80
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x66
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x06
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x7e
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x60
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x86
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x7e
Ett fel inträffade under uppladdning av sketchen

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Looks like the FTDI load ok
[22679.992249] usb 2-1.7.1: new full-speed USB device number 18 using ehci-pci
[22680.092038] usb 2-1.7.1: New USB device found, idVendor=0403, idProduct=6015
[22680.092044] usb 2-1.7.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[22680.092047] usb 2-1.7.1: Product: FT231X USB UART
[22680.092050] usb 2-1.7.1: Manufacturer: FTDI
[22680.092052] usb 2-1.7.1: SerialNumber: DN028321
[22680.095345] ftdi_sio 2-1.7.1:1.0: FTDI USB Serial Device converter detected
[22680.095414] usb 2-1.7.1: Detected FT-X
[22680.095742] usb 2-1.7.1: FTDI USB Serial Device converter now attached to ttyUSB0

Anyone has some idea how to solve this?
Kind regards
Stefan
Kind regards

Stefan / SM7TIX

gpvillamil
Posts: 75
Joined: Fri Jan 26, 2018 5:03 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Spirit_BaseSketch_PiControl upload fails

Postby gpvillamil » Sat Feb 10, 2018 3:18 pm

Set the board type to “Arduino Pro or Pro Mini” and the processor type to “ATMega328p 3.3v 8mhz”

sm7tix
Posts: 31
Joined: Sat Oct 28, 2017 4:21 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Spirit_BaseSketch_PiControl upload fails

Postby sm7tix » Sat Feb 10, 2018 6:58 pm

Success!!!!!!
Thanks!
Best regards
Stefan
Kind regards

Stefan / SM7TIX

Bastian
Posts: 21
Joined: Sun Oct 22, 2017 5:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Spirit_BaseSketch_PiControl upload fails

Postby Bastian » Sat Feb 10, 2018 9:55 pm

I'm facing exact the same problem. Other posts and the Ringo-get-started site mention the board should be a po or pro-mini with atmega 328 and 8 Mhz clock. I tried all the other arduino settings one at a time, but none works. The programmer surely doesn't work as a uno.

Bastian
Posts: 21
Joined: Sun Oct 22, 2017 5:30 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Spirit_BaseSketch_PiControl upload fails

Postby Bastian » Mon Feb 12, 2018 3:49 pm

I finally dealt with this stubborn problem: viewtopic.php?f=18&t=8031&start=10#p9800
Hopefully that works for you too


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 29 guests