Comments (14)
I was able to get it to work on a fresh Jessie.
You need to run the following two scripts:
https://raw.githubusercontent.com/CleoQc/Raspbian_For_Robots/master/upd_script/update_GrovePi.sh
https://raw.githubusercontent.com/DexterInd/Raspbian_For_Robots/master/upd_script/update_GrovePi_Firmware.sh
The first one is in my personal repo, because there was a typo in the original script. The PR is already sent and will likely be pulled in within the next day (it's just a typo)
from grovepi.
@fbrier : Looks like you are using a fresh Jessie image. Did you use our install scripts to set everything up on the Pi. If so can you send a link to the install scripts that you had used. Also, can you upload the log form the troubleshooting script
from grovepi.
Yes, I am using the latest Raspian image (2016-03-18-raspbian-jessie.zip). The installation script was just cloned from this git repo. Attached is the GrovePiTroubleshootingLog.txt. I followed these directions. As initially mentioned, connecting the LED to D4 and running the test program did not cause the LED to blink.
I do have some other comments on the script and instructions, but they are not currently causing me a problem. One is the blinking test utilizes the D4 port. It might be better to use a different port as the GrovePi case support post blocks that port. I needed to remove it to run the test. Second, the troubleshooting script checks the blacklisted mods for the two lines being commented out. It looks like the new Jessie is removing the lines entirely, so the troubleshooting script displays an error message (line 41-51) when the modules are not actually blacklisted.
from grovepi.
Hey @fbrier : can you try running this script https://github.com/DexterInd/ArduBerry/blob/master/script/install.sh and check if it works for you.
from grovepi.
I'm having a similar problem to @fbrier with my GrovePi. It is the grove_button.py that isn't working for me, the blinking LED program did work though. I'm running on a Pi3, my OS details are:
- Linux raspberrypi-mtc 4.4.9-v7+ #884 SMP Fri May 6 17:28:59 BST 2016 armv7l GNU/Linux
- Linux version 4.4.9-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #884 SMP Fri May 6 17:28:59 BST 2016
- Distributor ID: Raspbian
- Description: Raspbian GNU/Linux 8.0 (jessie)
- Release: 8.0
- Codename: jessie
I tried checking my firmware version via the firmware_version_check.py in the Troublshooting directory and it gives me:
- GrovePi has firmware version: 255.255.255
Which in http://www.dexterindustries.com/topic/grovepi-firmware-update-v1-2-2/ karan mentions: "If it returns something like 255.255.255, then you are probably running a very old firmware. Try running the script a couple of times." which I did and I get the same message every time. I have attached my troubleshooting log fyi.
It would be great to sort this out as soon as possible. Thanks for the help!
from grovepi.
Thank you Cleo. The update_GrovePi.sh runs fine. But the the update_GrovePi_Firmware.sh gives me the following error:
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
Not sure what to do at this stage. I think I might have a faulty GrovePi. :-(
from grovepi.
Hi karan259! Your recommendation worked. I pulled down the ArduBerry repo and ran its install.sh. The install.sh log only shows one odd message:
Error: Could not open file `/dev/i2c-0' or `/dev/i2c/0': No such file or directory
However, the output for checking the I2C bus 0 seems to be correct. The GrovePi then reported the firmware version as 255.255.255. The grove_led_blink.py program now causes the LED to blink properly. So then I went to the GrovePi repo and ran the firmware_update.sh and it seemed to run perfect. The firmware_version_test.sh reports the firmware version as 1.2.2. So other than that odd message about not being able to open /dev/i2c-0, everything seems to be functioning and now I can play with all my different sensors. Thank you very much.
Sorry for not getting back sooner. I had another Raspberry Pi with an Adafruit breakout hooked up to my KVM and was trying to get an IR remote using LIRC working for a user group meeting. Didn't make it, but I tried. Again, thank you.
from grovepi.
Hi all, I also encountered this error. As it turned out avr was not correctly installed, so i did the following: upon login i changed to root user with sudo su
. Next i went ito direct Scripts like cd Desktop/GrovePi/Script
then i ran install.sh like bash install.sh
. That took some time to get processed after which avr gave me the correct response. This can be tested like avrdude -P gpio -c gpio -p atmega328p
The response should contain
avrdude: safemode: Fuses OK
.
from grovepi.
Thank you Mat - but no go I'm afraid. I followed your instructions and the 'bash install.sh' ran fine. What I get from the test instruction is:
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
I have thread going on Dexter Industries (http://www.dexterindustries.com/topic/grovepi-firmware-update-v1-2-2/page/2/#post-91442) but haven't heard back yet. Wondering if I have a faulty GrovePi.
Thanks again for the help.
from grovepi.
Hey @nzmarkc: that error means that avrdude is working fine but some problem with the board. Can you reach out on the forums. Would be easier to help you out there
from grovepi.
Does this programmer work for the RPi3 then? It's all that seems to matter in the install.sh, which installs an ancient version of avrdude that's patched to use this
programmer
id = "gpio";
desc = "Use sysfs interface to bitbang GPIO lines";
type = gpio;
reset = 8;
sck = 11;
mosi = 10;
miso = 9;
;
from grovepi.
Hey @nimish : this still does work with the Pi3. We have tested this and it works pretty well with all our products. Are you having a specific problem with this
from grovepi.
No, I just want to confirm that all I need is the programmer description: i'd like to move to a later version of avrdude
from grovepi.
Hm, a year later, and this change still wasn't pushed upstream. Only https://github.com/DexterInd/AVRDUDE will contain the proper settings.
from grovepi.
Related Issues (20)
- Installing GrovePi: ./install.sh: command not found HOT 4
- Installing on balena.io or docker HOT 1
- No such file or directory -- bash firmware_update.sh HOT 2
- Home Weather Station -- Runtime Error HOT 5
- The GrovePi sensor connection is unstable!! Under Python. Can you help me?
- Help me!My GrovePi’s RST often light up after hours of work HOT 4
- Grove-LCD RGB Backlight V4.0 can't find i2c address on grovepi
- digitalRead not working HOT 1
- GrovePi+ D4 port question--differences among ports or faulty port/pi?
- Ruby test code doesn't run, i2c-devices library problem? HOT 1
- No more need the buffer tools module
- Can I use Tinker board to connect Grove Pi?
- oops: unable to determine board revision from /proc/cpuinfo
- grove_co2_lib.py not compatible with python3 HOT 1
- Hightemperature not reading
- di_i2c module missing ?
- RFR_Tools: Couldn't add Nodejs repo to source because it's not available for "bullseye" distribution
- Error: "pybind11" must be installed before running the build. HOT 4
- compatible with Banana Pi M2 Berry / M5 or Radxa Rock 3 A / Rock 4 C+ ? HOT 1
- does anyone know how to fix this?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grovepi.