Re: [london-hack-space] Problems getting the TiLDA badge connected with my Mac

68 views
Skip to first unread message

Dave Ingram

unread,
Sep 24, 2012, 4:45:53 AM9/24/12
to london-h...@googlegroups.com
Hi Andy,

The first error:
for git clone --recursive https://github.com/emfcamp/TiLDA: 

Cloning into TiLDA...
error: SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/emfcamp/TiLDA/info/refs

fatal: HTTP request failed
is because you're missing the CA certificates to verify github's certificate (or because someone is in the middle and sending you a false certificate). I don't know how to get these updated on your OS, though.

and for git clone g...@github.com:emfcamp/TiLDA:

Cloning into TiLDA...
The authenticity of host 'github.com (207.97.227.239)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
This error happens because you do not have commit access to the repository, so you cannot reach it directly.

Try cloning from the read-only git:// URL: git://github.com/emfcamp/TiLDA


Dave

Mark Steward

unread,
Sep 24, 2012, 5:31:15 AM9/24/12
to london-h...@googlegroups.com
It's actually because you haven't set up your SSH key access.  I assume this is not limited to the TiLDA repo - you should find you can't clone anything from Github until you sort this out.  Follow Github's guide:


I wouldn't use the https URL if possible, but using export GIT_SSL_NO_VERIFY=true should get around the cert issue temporarily.


Mark

Andy Danger

unread,
Sep 24, 2012, 8:02:41 AM9/24/12
to london-h...@googlegroups.com
Thanks guys, I created an SSH key, and the commands went through. I still had to get the right library containing the RF24 variable in order to even compile TiLDA.ino, that was a pain in the ass. People who had no idea what they were doing (like me...) would be severely confused by that.

However, it still says it can't find a Leonardo board connected to my USB drive when I try to upload. I've tried both USB serial port options. Despair is setting in...

              -Andy

Mark Steward

unread,
Sep 24, 2012, 8:18:58 AM9/24/12
to london-h...@googlegroups.com
IIRC it will be something like /dev/tty.usbmodem123456 on a Mac.  You might want to try running the Arduino IDE to confirm that it works first (and you can check the serial port under Tools).


Cheers,
Mark

Andy Danger

unread,
Sep 24, 2012, 8:40:48 AM9/24/12
to london-h...@googlegroups.com
I've got the right port, and the Arduino's lights light up when it's plugged in (though the Mac seems not to acknowledge its presence, even in Disk Utility.)

When I try to upload a program, the computer gives me a USB unplug notice and then the lights on the board start flashing. I tried again, pressing the reset button immediately after hitting upload... now it's taking a long time. Is that normal?
thanks,               
Andy

Mark Steward

unread,
Sep 24, 2012, 8:45:16 AM9/24/12
to london-h...@googlegroups.com
You'll want to hit reset before uploading.  Make sure the lights go into the slow pulsing (programming) mode, and then hit upload on the laptop.

I'm not sure why Disk Utility would list an attached serial port - are you used to an mbed?  (I'd like to make it possible to upload in the same way, but haven't tried that yet.)


Mark

Andy Danger

unread,
Sep 24, 2012, 10:29:46 AM9/24/12
to london-h...@googlegroups.com
Hmm, it's not going into any kind of slow pulsing mode. I hit the reset button just before pressing upload, and the two brightest lights flash quickly for less than a second and then it goes back to a steady light. After I hit upload, my computer warns me that a USB device has been "unplugged while an application was still active", and then the two lights start flashing rapidly. I press reset and then the upload stops about half a centimeter from the end. It's still stuck there an hour later. :(

Kimball Johnson

unread,
Sep 24, 2012, 10:32:46 AM9/24/12
to london-h...@googlegroups.com
On 24 September 2012 15:29, Andy Danger <rarely...@gmail.com> wrote:
> Hmm, it's not going into any kind of slow pulsing mode. I hit the reset
> button just before pressing upload, and the two brightest lights flash
> quickly for less than a second and then it goes back to a steady light.
> After I hit upload, my computer warns me that a USB device has been
> "unplugged while an application was still active", and then the two lights
> start flashing rapidly. I press reset and then the upload stops about half a
> centimeter from the end. It's still stuck there an hour later. :(

Sounds like the bootloader needs to be reapplied, do you haev access
to an AVR ISP Programmer?

Kimball

Andy Danger

unread,
Sep 24, 2012, 12:28:30 PM9/24/12
to london-h...@googlegroups.com
No, sadly. :( Is there one at the space?

-Andy

Andy Danger

unread,
Sep 24, 2012, 12:31:43 PM9/24/12
to london-h...@googlegroups.com
Ok, plugged it into the battery pack and it worked. *sheepish look* Wish that was in the instructions, though!

Andy Danger

unread,
Sep 24, 2012, 12:42:52 PM9/24/12
to london-h...@googlegroups.com
However, the default blink program in Arduino won't. I tried adding 
  Mirf.cePin = A0;
  Mirf.csnPin = A1;
to the setup() function, but no joy. And changing the LED to 3? There appears to be an LED connected to pin 3. Hm.

Mark Steward

unread,
Sep 24, 2012, 1:00:54 PM9/24/12
to london-h...@googlegroups.com
Good point, I'll add the battery pack stuff to the wiki or README.


The default blink program shouldn't require any fiddling with Mirf - I think it flashes the same LED that flashes during programming.  Try the nightlight code:



Mark

Andy Danger

unread,
Sep 24, 2012, 7:22:49 PM9/24/12
to london-h...@googlegroups.com
Cool, glad I could help with troubleshooting. :) I did get the blink program to work as well, the arduino battery had unexpectedly died! I'm not entirely sure what to do with that list of nightlight files, put them one by one into a library in the libraries directory?
         thanks,
                 Andy
Reply all
Reply to author
Forward
0 new messages