My Eagle eye (pun intended) has spotted the tasty Adafruit Metro going up in the shop (I know, I need a life!).
Very basic questions:
it’s basically a Uno R3 design (right), so that means that the Shields made for UnoR3 are going to be compatible?
do you know if there is enough clearance on the top for a mini-breadboard, to be stuck on top of the SMD. If there is, what about heat dissipation, would that be a concern, which the chip so tightly enclosed?
hum, thinking about I guess there is nothing that should stop me soldering all headers from the bottom and using the PCB upside down (with ad hoc stand-offs)?
… I know, I know, but what is a man to do to kill boredom otherwise?
right I am getting absolutely nowhere with this one. I have it all assembled and it powers on just fine but I can’t flash it using the Arduino IDE (1.6.4 on Mac and 1.6.3 on Raspbian). I have the Adafruit Metro board and my USB serial cable selected.
On Mac the upload process stalls indefinitely and on Raspbian I get the infamous ‘not in sync’ message. I am 100% sure the connections are right since on Mac, if I press the reset button on the board the upload attempt aborts.
Even stranger, when I try to probe the SPI with avrdude as soon as I wire both MOSI and SCLK the red L starts flashing rapidly on the Metro, as if it was resetting constantly. Either way avrdude tells me there is no device.
Again, I am 100% sure my connections are right as I get the same thing whether I use the ICSP or pins 11-12-13+reset.
Anyhow, I don’t think I am being an idiot, but trawling the Adafruit site has led to no site of an answer.
right, the flashing LED I think is just PB5… still makes no sense as to why it should behave that way when you hook up SPI cables. I’ll wait to hear before I probe further…
actually when I say it works, well, it did once, but now it’s not doing much again. When it did upload this is what avrdude output (verbose) spit out, in case there is anything useful in there:
tried on another Mac (running 10.9 rather than 10.10) and the Pi, connected direct from USB-Metro to USB on host… not listed in lsusb either. I guess that means that the USB to serial converter is buggered?
… I wouldn’t really mind but given that I can’t upload code via RX/TX reliably where do we go from here?
brw, there must have been a ‘demo program’ pre-loaded, or at least pin11 was in PWM mode out of the box as after uploading successfully (my 1 success yeah!) the Blink example (and getting the expected result) hooking up pin 11 and 13 at the same time no longer flashes the on-board R LED at a mad rate.
… still, after trying again to probe the ATmega328 via SPI and the Pi GPIO I am told there is no device to communicate with (though I can see the MOSI activity on the board, it being linked to PB5). Works a thread with my barebone ‘Shrimp’ so I’m pretty sure I am fluent enough at this point to say it’s not a pilot error…
I’ve tried a couple of cables as well as different means to (safely) power up the board, yes. I will go through my box though and see if any other give me more satisfaction.
Regarding ICSP my understanding is that they are breakout for 11-12-13+reset, but I’ve soldered the dedicated connector after my LED weirdness experience and same results both ways.
I am using:
avrdude -p m328p -c gpio
… I also tried:
avrdude -p atmega328p -c gpio
(after noticing that is what the Arduino IDE pass it as argument)
np… just to make matters complicated though, I have used stacking headers, not what came with the board. Not sure what that means, can you replace with the same set?
The board has headers with regular height pins on them. I’m don’t think we have any stacking headers. I suspect they wouldn’t be much fun to de-solder either.
Does this mean you’ve now got a Metro Arduino Shield…?