No Raspberry programmer?


#1

I followed the steps here: https://www.dexterindustries.com/Arduberry/getting-started/

and I don’t see raspberry pi gpio programmer listed. Please help, I need this urgently :frowning:


#2

ok, that was due to arm architecture I use… Ichanged it in the setup script and got it installed.

Now however I get AVR degice not responding
initialization failed, rc=-1

the first time i tried upload it complained about something 0x0c!=0x00. now i get the error above…

if I run acrdude:

avrdude -c gpio -p m328p

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

__sudo ./trouble.sh

Welcome to Dexter Industries troubleshooting script

This may take a few minutes, please be patient
Press Enter to start…

Check for dependencies
Checking Serial for BrickPi
Checking Hardware revision
Read pins
Check I2C
Check the /dev folder
Check BrickPiStatus
python: can’t open file ‘ser.py’: [Errno 2] No such file or directory

please help, at the moment I have ardubrick :frowning:


#3

sudo avrdude -c gpio -p m328p -F

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA328P is 1E 95 0F

troubleshoot script output:

troubleshooting_script_v1
Check for dependencies

python 2.7.3-4+deb7u1 install ok installed
python-pip 1.1-3 install ok installed
git 1:1.7.10.4-1+wheezy1 install ok installed
libi2c-dev 3.1.0-2 install ok installed
python-serial 2.5-2.1 install ok installed
python-rpi.gpio 0.3.1a-1 install ok installed
i2c-tools 3.1.0-2 install ok installed
python-smbus 3.1.0-2 install ok installed
arduino 1:1.0.1+dfsg-7 install ok installed
minicom 2.6.1-1 install ok installed
scratch 1.4.20130509-1 install ok installed

wiringPi Found
wiringPi Found
I2C already removed from blacklist
SPI already removed from blacklist

Check for addition in /modules

I2C-dev already there
i2c-bcm2708 already there
spi-dev already there

Setup for Serial for BrickPi

Clock speed not Configured(ERR)
Serial Port Enabled
Serial Port Login Already Disabled

Hardware revision

gpio version: 2.21
Copyright © 2012-2014 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty

Raspberry Pi Details:
Type: Model B, Revision: 2, Memory: 512MB, Maker: Sony

Read pins

±----±----±--------±-----±–±Model B2-±–±-----±--------±----±----+
| BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
±----±----±--------±-----±–±—+±—±–±-----±--------±----±----+
| | | 3.3v | | | 1 || 2 | | | 5v | | |
| 2 | 8 | SDA.1 | ALT0 | 1 | 3 || 4 | | | 5V | | |
| 3 | 9 | SCL.1 | ALT0 | 1 | 5 || 6 | | | 0v | | |
| 4 | 7 | GPIO. 7 | IN | 1 | 7 || 8 | 1 | ALT0 | TxD | 15 | 14 |
| | | 0v | | | 9 || 10 | 1 | ALT0 | RxD | 16 | 15 |
| 17 | 0 | GPIO. 0 | IN | 0 | 11 || 12 | 0 | IN | GPIO. 1 | 1 | 18 |
| 27 | 2 | GPIO. 2 | IN | 0 | 13 || 14 | | | 0v | | |
| 22 | 3 | GPIO. 3 | IN | 0 | 15 || 16 | 0 | IN | GPIO. 4 | 4 | 23 |
| | | 3.3v | | | 17 || 18 | 0 | IN | GPIO. 5 | 5 | 24 |
| 10 | 12 | MOSI | ALT0 | 1 | 19 || 20 | | | 0v | | |
| 9 | 13 | MISO | ALT0 | 1 | 21 || 22 | 0 | IN | GPIO. 6 | 6 | 25 |
| 11 | 14 | SCLK | ALT0 | 0 | 23 || 24 | 1 | ALT0 | CE0 | 10 | 8 |
| | | 0v | | | 25 || 26 | 1 | ALT0 | CE1 | 11 | 7 |
±----±----±--------±-----±–±—+±—±–±-----±--------±----±----+
| 28 | 17 | GPIO.17 | IN | 0 | 51 || 52 | 0 | IN | GPIO.18 | 18 | 29 |
| 30 | 19 | GPIO.19 | IN | 0 | 53 || 54 | 0 | IN | GPIO.20 | 20 | 31 |
±----±----±--------±-----±–±—+±—±–±-----±--------±----±----+
| BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |
±----±----±--------±-----±–±Model B2-±–±-----±--------±----±----+

Check I2C

 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f

00: – -- – -- – -- – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – -- – -- – -- – -- – -- – -- –
10: – -- – -- – -- – -- – -- – -- – -- – --
20: – -- – -- – -- – -- – -- – -- – -- – --
30: – -- – -- – -- – -- – -- – -- – -- – --
40: – -- – -- – -- – -- – -- – -- – -- – --
50: – -- – -- – -- – -- – -- – -- – -- – --
60: – -- – -- – -- – -- – -- – -- – -- – --
70: – -- – -- – -- – --

Check the /dev folder

i2c-0
i2c-1
spidev0.0
spidev0.1
ttyAMA0

============
=USER STATS=

BrickPi Found
Arduberry Found
grovePi Found
GoPiGo Found

BrickPiStatus

-2
BrickPi Not Found (ERR)


#4

Tried with dexter distro… same result… avrdude: Device signature = 0x000000

Seems I just bought myself a brick :frowning:

A local stora has Atmega chips on stock… but I don’t have a programmer… how can I flash it to try another chip?

Ok, it seems you don’t use bootloader… that’s actually cool… so arduberry is atmega programmer?? I’ll try this tomorrow: http://www.dexterindustries.com/forum/?topic=repairing-a-broken-arduberry

You owe me one guys. Hope it works, I need my robot by Friday!


#5

Hi zapp0,
It indeed looks like you have a broken Arduberry. Can you just check if all the connections are soldered properly and check if the ATmega 328 is connected properly (the notch indicating the pin 1 should be facing the side away from the Raspberry Pi connector). Can you also post some good pics of the Arduberry from both the top and bottom side so that we can try to find if anything is wrong.

If you would like it to be replaced, you can get in touch with us at http://www.dexterindustries.com/site/?page_id=65 . But I don’t think that you’ll be able to get it by friday. The fastest way to get it working would be to get a spare Atmega chip and try using it.

Arduberry indeed does not use the bootloader and we use the Raspberry Pi SPI pins to directly program it, so you don’t need to have a programmer.

Sorry for all the troubles.
-Karan