Due to high demand, expect some shipping delays at this time - orders may not ship for up to 2-3 business days.
0

cant get arduino to work
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

cant get arduino to work

by zcgdzip on Wed Jan 19, 2022 4:38 am

I recently decided to try to learn programming and electronics after losing my workshop/house to the CA fires. The problem is I can't get anything to upload on either my rpi or my win 10 pc. I've tried gemma m0 and circuit playground. no arduino code ever makes it onto the boards. hell i cant even get it to compile. I've messed with it so much trying to get it to work that I'm more lost than when i started.

The only code I've successfully loaded is a basic cap touch light change i wrote for flora months ago.


this is the demo example for cpb

/home/pi/.arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-ar: error while loading shared libraries: libfl.so.2: cannot open shared object file: No such file or directory
Using library Adafruit_Circuit_Playground at version 1.11.4 in folder: /home/pi/Arduino/libraries/Adafruit_Circuit_Playground
Using library SPI at version 1.0 in folder: /home/pi/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/libraries/SPI
Using library Wire at version 1.0 in folder: /home/pi/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/libraries/Wire

this is the touch penant for gemma m0

"/home/pi/.arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-ar" rcs "/tmp/arduino_build_947558/core/core.a" "/tmp/arduino_build_947558/core/pulse_asm.S.o"
/home/pi/.arduino15/packages/adafruit/tools/arm-none-eabi-gcc/9-2019q4/bin/arm-none-eabi-ar: error while loading shared libraries: libfl.so.2: cannot open shared object file: No such file or directory
Using library Adafruit_FreeTouch_Library at version 1.1.1 in folder: /home/pi/Arduino/libraries/Adafruit_FreeTouch_Library
Using library FastLED at version 3.4.0 in folder: /home/pi/Arduino/libraries/FastLED
exit status 127
Error compiling for board Adafruit Gemma M0.
Using library PDM at version 1.0 in folder: /home/pi/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/libraries/PDM
Using library Adafruit_TinyUSB_Arduino at version 1.7.0 in folder: /home/pi/.arduino15/packages/adafruit/hardware/nrf52/1.3.0/libraries/Adafruit_TinyUSB_Arduino
exit status 127
Error compiling for board Adafruit Circuit Playground Bluefruit.

zcgdzip
 
Posts: 3
Joined: Mon Nov 08, 2021 3:43 am

Re: cant get arduino to work

by hatem0 on Wed Jan 19, 2022 11:03 am

did you download adafruit avr board from the board manager.
Make sure you download the correct library if you are using library.

hatem0
 
Posts: 4
Joined: Wed Jan 19, 2022 11:00 am

Re: cant get arduino to work

by adafruit_support_carter on Wed Jan 19, 2022 2:39 pm

The Gemma M0 uses a SAMD21. The Circuit Playground Bluefruit uses a nRF52840. Both of these are ARM based microcontrollers. Not AVR.

But do make sure you have all the necessary Board Support Packages (BSP) installed.

See here for Gemma M0:
https://learn.adafruit.com/adafruit-gem ... -ide-setup

See here for CPB:
https://learn.adafruit.com/adafruit-cir ... port-setup

adafruit_support_carter
 
Posts: 23496
Joined: Tue Nov 29, 2016 2:45 pm

Re: cant get arduino to work

by zcgdzip on Thu Jan 20, 2022 7:44 pm

I have the correct libraries installed. Both the Adafruit and Arduino SAMD libraries and the Adafruit NRF52 library.

zcgdzip
 
Posts: 3
Joined: Mon Nov 08, 2021 3:43 am

Re: cant get arduino to work

by adafruit_support_carter on Thu Jan 20, 2022 7:47 pm

Let's focus on the Gemma M0 for now.

Are you getting those error messages when trying to upload the Blink example?
https://learn.adafruit.com/adafruit-gem ... 2854174-21

adafruit_support_carter
 
Posts: 23496
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.