Ovdje pročitajte kako se registrirati na forum.

Problem sa uploadovanjem SGP 30 koda na Croduino Basic 3

Tehnička podrška za Croduino 8-bitne pločice: Basic, Basic2, NOVA, miniNOVA, Damba, ETA
Odgovorite
advancedgwt#5616
Ozbiljni hardveraš
Ozbiljni hardveraš
Postovi: 96
Pridružen/a: pon lip 11, 2018 12:42 pm

Problem sa uploadovanjem SGP 30 koda na Croduino Basic 3

Post Postao/la advancedgwt#5616 » pon tra 01, 2019 7:26 pm

Moram prvo reci da sam pre Croduino BASIC 3 imao podesen Arduino IDE za Croduino NOVA 2 i sve je radilo OK. Uputstvo za Croduino BASIC 3 je jednostavno, prvo se instalira drajver CH i pokaze se da je na COM 5 (sto je najveci com), podesen je Arudino Nano i dobijam ovo kada zelim uploadovati kod

Arduino: 1.8.5 (Windows 10), Board: "Arduino Nano, ATmega328P"

Sketch uses 4776 bytes (15%) of program storage space. Maximum is 30720 bytes.
Global variables use 409 bytes (19%) of dynamic memory, leaving 1639 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch
Invalid library found in C:\Program Files (x86)\Arduino\libraries\sketch_jul06a: C:\Program Files (x86)\Arduino\libraries\sketch_jul06a
Invalid library found in C:\Program Files (x86)\Arduino\libraries\sketch_jul06a: C:\Program Files (x86)\Arduino\libraries\sketch_jul06a

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Avatar
david.zovko#8187
e-radionica.com team
e-radionica.com team
Postovi: 204
Pridružen/a: ned tra 15, 2018 2:59 pm
Lokacija: Osijek, Croatia
Kontakt:

Re: Problem sa uploadovanjem SGP 30 koda na Croduino Basic 3

Post Postao/la david.zovko#8187 » pon tra 01, 2019 8:30 pm

Pozdrav

ovo je nekakava greška s kodom, ne brini, nema veze s pločicom.

Molim te obriši folder C:\Program Files (x86)\Arduino\libraries\sketch_jul06a i pokušaj ponovno
advancedgwt#5616
Ozbiljni hardveraš
Ozbiljni hardveraš
Postovi: 96
Pridružen/a: pon lip 11, 2018 12:42 pm

Re: Problem sa uploadovanjem SGP 30 koda na Croduino Basic 3

Post Postao/la advancedgwt#5616 » uto tra 02, 2019 1:24 pm

Ok, hvala :)
advancedgwt#5616
Ozbiljni hardveraš
Ozbiljni hardveraš
Postovi: 96
Pridružen/a: pon lip 11, 2018 12:42 pm

Re: Problem sa uploadovanjem SGP 30 koda na Croduino Basic 3

Post Postao/la advancedgwt#5616 » uto tra 02, 2019 10:16 pm

Obrisao i dobio ovo

Arduino: 1.8.5 (Windows 10), Board: "Arduino Nano, ATmega328P"

Sketch uses 4776 bytes (15%) of program storage space. Maximum is 30720 bytes.
Global variables use 409 bytes (19%) of dynamic memory, leaving 1639 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Avatar
david.zovko#8187
e-radionica.com team
e-radionica.com team
Postovi: 204
Pridružen/a: ned tra 15, 2018 2:59 pm
Lokacija: Osijek, Croatia
Kontakt:

Re: Problem sa uploadovanjem SGP 30 koda na Croduino Basic 3

Post Postao/la david.zovko#8187 » sri tra 03, 2019 10:26 pm

Fali mi malo detalja. Daj molim te enableaj taj Show verbose output during compilation u postavkama pa kopiraj cijeli error
advancedgwt#5616
Ozbiljni hardveraš
Ozbiljni hardveraš
Postovi: 96
Pridružen/a: pon lip 11, 2018 12:42 pm

Re: Problem sa uploadovanjem SGP 30 koda na Croduino Basic 3

Post Postao/la advancedgwt#5616 » pet tra 05, 2019 9:06 pm

Ok
Avatar
hrvoje.penavin#8851
Novak
Novak
Postovi: 11
Pridružen/a: ned tra 15, 2018 2:59 pm
Lokacija: Sisak
Kontakt:

Re: Problem sa uploadovanjem SGP 30 koda na Croduino Basic 3

Post Postao/la hrvoje.penavin#8851 » ned tra 07, 2019 1:08 pm

Imam također, pločicu Croduino 3 Basic. S postavkama kao na priloženoj slici radi kako treba.
Probaj s programom "Blink" radi li. Ako radi moguće je da u tvom programu imaš nešto neusklađeno.

slika
Lijepi pozdrav!
advancedgwt#5616
Ozbiljni hardveraš
Ozbiljni hardveraš
Postovi: 96
Pridružen/a: pon lip 11, 2018 12:42 pm

Re: Problem sa uploadovanjem SGP 30 koda na Croduino Basic 3

Post Postao/la advancedgwt#5616 » ned svi 12, 2019 3:29 pm

Sa malim zakasnjenjem, sve isto kao kod tebe.
hrvoje.penavin#7698 je napisao/la:
ned tra 07, 2019 1:08 pm
Imam također, pločicu Croduino 3 Basic. S postavkama kao na priloženoj slici radi kako treba.
Probaj s programom "Blink" radi li. Ako radi moguće je da u tvom programu imaš nešto neusklađeno.

slika
advancedgwt#5616
Ozbiljni hardveraš
Ozbiljni hardveraš
Postovi: 96
Pridružen/a: pon lip 11, 2018 12:42 pm

Re: Problem sa uploadovanjem SGP 30 koda na Croduino Basic 3

Post Postao/la advancedgwt#5616 » ned svi 12, 2019 3:32 pm

Davide, sa zakasnjenjem, ukljucio sam verbose i evo teksta

Kod: Označite sve


Arduino: 1.8.5 (Windows 10), Board: "Arduino Nano, ATmega328P"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\dkaludjerovic\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10805 -build-path C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511 -warnings=none -build-cache C:\Users\DKALUD~1\AppData\Local\Temp\arduino_cache_985908 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.0 -prefs=runtime.tools.avrdude.path=C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14 -prefs=runtime.tools.avr-gcc.path=C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2 -verbose C:\Users\dkaludjerovic\Documents\Arduino\SGP_30\SGP_30.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\dkaludjerovic\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10805 -build-path C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511 -warnings=none -build-cache C:\Users\DKALUD~1\AppData\Local\Temp\arduino_cache_985908 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.0 -prefs=runtime.tools.avrdude.path=C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14 -prefs=runtime.tools.avr-gcc.path=C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2 -verbose C:\Users\dkaludjerovic\Documents\Arduino\SGP_30\SGP_30.ino
Using board 'nano' from platform in folder: C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207
Using core 'arduino' from platform in folder: C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207
Detecting libraries used...
"C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\cores\arduino" "-IC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\variants\eightanaloginputs" "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\sketch\SGP_30.ino.cpp" -o "nul"
"C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\cores\arduino" "-IC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\variants\eightanaloginputs" "-IC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\libraries\Wire\src" "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\sketch\SGP_30.ino.cpp" -o "nul"
"C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\cores\arduino" "-IC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\variants\eightanaloginputs" "-IC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\libraries\Wire\src" "-IC:\Users\dkaludjerovic\Documents\Arduino\libraries\Adafruit_SGP30-master" "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\sketch\SGP_30.ino.cpp" -o "nul"
Using cached library dependencies for file: C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\libraries\Wire\src\Wire.cpp
Using cached library dependencies for file: C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\libraries\Wire\src\utility\twi.c
Using cached library dependencies for file: C:\Users\dkaludjerovic\Documents\Arduino\libraries\Adafruit_SGP30-master\Adafruit_SGP30.cpp
Generating function prototypes...
"C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\cores\arduino" "-IC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\variants\eightanaloginputs" "-IC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\libraries\Wire\src" "-IC:\Users\dkaludjerovic\Documents\Arduino\libraries\Adafruit_SGP30-master" "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\sketch\SGP_30.ino.cpp" -o "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR   "-IC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\cores\arduino" "-IC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\variants\eightanaloginputs" "-IC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\libraries\Wire\src" "-IC:\Users\dkaludjerovic\Documents\Arduino\libraries\Adafruit_SGP30-master" "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\sketch\SGP_30.ino.cpp" -o "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\sketch\SGP_30.ino.cpp.o"
Compiling libraries...
Compiling library "Wire"
Using previously compiled file: C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\libraries\Wire\Wire.cpp.o
Using previously compiled file: C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\libraries\Wire\utility\twi.c.o
Compiling library "Adafruit_SGP30-master"
Using previously compiled file: C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\libraries\Adafruit_SGP30-master\Adafruit_SGP30.cpp.o
Compiling core...
Using precompiled core
Linking everything together...
"C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p  -o "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511/SGP_30.ino.elf" "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\sketch\SGP_30.ino.cpp.o" "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\libraries\Wire\Wire.cpp.o" "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\libraries\Wire\utility\twi.c.o" "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511\libraries\Adafruit_SGP30-master\Adafruit_SGP30.cpp.o" "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511/..\arduino_cache_985908\core\core_arduino_avr_nano_cpu_atmega328_71389980eafe11a1aa816f101e06896c.a" "-LC:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511" -lm
"C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0  "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511/SGP_30.ino.elf" "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511/SGP_30.ino.eep"
"C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-objcopy" -O ihex -R .eeprom  "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511/SGP_30.ino.elf" "C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511/SGP_30.ino.hex"
Using library Wire at version 1.0 in folder: C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.207\libraries\Wire 
Using library Adafruit_SGP30-master at version 1.0.3 in folder: C:\Users\dkaludjerovic\Documents\Arduino\libraries\Adafruit_SGP30-master 
Sketch uses 4776 bytes (15%) of program storage space. Maximum is 30720 bytes.
Global variables use 409 bytes (19%) of dynamic memory, leaving 1639 bytes for local variables. Maximum is 2048 bytes.
C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14/bin/avrdude -CC:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14/etc/avrdude.conf -v -patmega328p -carduino -PCOM5 -b115200 -D -Uflash:w:C:\Users\DKALUD~1\AppData\Local\Temp\arduino_build_144511/SGP_30.ino.hex:i 

avrdude: Version 6.3-20171130
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\dkaludjerovic\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino14/etc/avrdude.conf"

         Using Port                    : COM5
         Using Programmer              : arduino
         Overriding Baud Rate          : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x3a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x3a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x3a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x3a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x3a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x3a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x3a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x3a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x3a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x3a

avrdude done.  Thank you.

Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
Avatar
david.zovko#8187
e-radionica.com team
e-radionica.com team
Postovi: 204
Pridružen/a: ned tra 15, 2018 2:59 pm
Lokacija: Osijek, Croatia
Kontakt:

Re: Problem sa uploadovanjem SGP 30 koda na Croduino Basic 3

Post Postao/la david.zovko#8187 » ned svi 12, 2019 11:12 pm

Sve izgleda u redu s postavakama Arduino IDE i compile-om.

Daj molim te da provjerimo taj port, jel ti se u Device Manager prikazuje port kao na ovoj slici: https://e-radionica.com/hr/blog/2018/11 ... /#“windows
advancedgwt#5616
Ozbiljni hardveraš
Ozbiljni hardveraš
Postovi: 96
Pridružen/a: pon lip 11, 2018 12:42 pm

Re: Problem sa uploadovanjem SGP 30 koda na Croduino Basic 3

Post Postao/la advancedgwt#5616 » uto lip 04, 2019 10:26 pm

Davide, ispirka za late reply, da ovo je bio problem, CH nema u device driveru.

Sto da radim?
ivan.fadiga#8939
e-radionica.com team
e-radionica.com team
Postovi: 13
Pridružen/a: ned tra 15, 2018 2:59 pm
Lokacija: Osijek

Re: Problem sa uploadovanjem SGP 30 koda na Croduino Basic 3

Post Postao/la ivan.fadiga#8939 » sri lip 05, 2019 10:43 am

Pozdrav,

Imate ovdje upute za instalaciju pa probajte tako napraviti.
https://e-radionica.com/hr/blog/2018/11 ... ic3-nova2/

Ivan
advancedgwt#5616
Ozbiljni hardveraš
Ozbiljni hardveraš
Postovi: 96
Pridružen/a: pon lip 11, 2018 12:42 pm

Re: Problem sa uploadovanjem SGP 30 koda na Croduino Basic 3

Post Postao/la advancedgwt#5616 » pon srp 08, 2019 7:40 pm

Reseno, hvala.
Odgovorite