Show Posts
Pages: [1]
1  Using Arduino / Networking, Protocols, and Devices / Re: Microduino and ATtiny45 talking I2C.. or not on: May 24, 2014, 10:43:18 pm
I can confirm this works (now):

Beaglebone Black / Angstrom
Adafruit Logic Level Shifter http://www.adafruit.com/products/757
Attiny 84's and 85's - all the same bus (the 'third' bus, the second external). There are 6 mcu's, each is on about 1 meter of recycled ethernet cable, all tied back to headers on stripboard.

There are NO extra pullups; the shifter has 10k resistors on it, and I think what's happening is the BBB has internal pullups on the 3.3v side, which shows as a 5v pullup on the high side.

I can now get reliable i2cdetects, so I'm back on track...
2  Using Arduino / Networking, Protocols, and Devices / Re: Microduino and ATtiny45 talking I2C.. or not on: May 20, 2014, 10:17:53 pm
I'm right at the same spot as you; I have a bunch of tinywire slaves (atmel 84's and 85's) on two I2C busses, and scanning from the Beaglebone shows zip. Zilch. Nada. Except for the off the shelf slaves, those work fine (a mag/accelerometer, a ds1307 clock, etc). Also did the same clock/fuse settings for 8 Mhz int osc.

Prior tests from an Arduino (an Uno or Leo, I can't remember which) worked fine with all the slaves.

Now ... big hint: I have two older slaves, an Attiny85 running an RGB LED, and an Attiny84, both I'd built last year. They both work with the BBB! So I think I used a different / older tiny core, or a slightly different twi library. That could be the magic bullet for us.

Just curious ,are you using something like 'i2c-detect -r -y 1' on the BBB?
3  Using Arduino / Programming Questions / Re: avrdude: verification error; content mismatch on: November 17, 2012, 10:22:14 pm
I was trying the upload 'Upload' button to an AT328p on a breadboard via a Leonardo with the ArduinoISP sketch under 1.0.1. But what I should have been doing all along was the File -> Upload using Programmer. That works. The confusion came about because I don't think I needed to do that to AT85's, one for audio and one for an RGB LED (that I just finished doing a while back).

I'm not familiar with using the AVRISP MkII, but I assume you're already doing the correct thing (File->Upload via Programmer), and not by hitting the upload button in the IDE GUI as if you were just uploading a sketch normally, right?



4  Using Arduino / Programming Questions / Re: avrdude: verification error; content mismatch on: November 17, 2012, 02:27:00 am
Found it. Total newb move on my part: I was trying to upload as if it were directly connected, not File->Upload Using Programmer.

I found the hint in a reply post by Riva in this thread: http://arduino.cc/forum/index.php/topic,131456.0.html

As I thought - it was a silly mistake. I'd been burning AT Tiny 85's a few weeks back with no issues, but this one step of the process I forgot!
5  Using Arduino / Programming Questions / Re: avrdude: verification error; content mismatch on: November 17, 2012, 12:53:28 am
Was there any solution to this one?

I'm getting the same basic thing on a 328P; I can burn the bootloader and it'll upload a sketch *once*. After that - no dice, I have to re-burn the same bootloader and then upload a sketch. Kinda sucky, since I'm not interested in even having a bootloader on the chip in the first place, but it was the only way it would upload.

I'm pretty sure it's something obvious. I'm just not seeing it.
Pages: [1]