Hello,
I bought the following programming adapter cable Sleepy-pi-programming-adapter so that I can debug a piece of code I am adapting for the sleepypi2 Arduino sleepy-pi-2/. I am aiming for the code to turn a pi on and off at dusk and dawn but it needs some debugging.
I have soldered the cable together and installed the latest Mac ftdi drivers (vcp). I am running Catalina but have also tried on another computer running Mavericks (and come across the same issues). I can find the tty driver in terminal using ls /dev | grep tty resulting in tty.usbserial-FTATZZSN) but when plugging the cable in I do not see the tty port in the Arduino IDE - only the cu.usbserial.
I can not upload with the cu.usbserial I get the upload error - avrdude: stk500_getsync() attempt 10 of 10: not in sync: I have tried pressing the reset button on the board during upload - still not avail. After trawling the internet I think I do need the cable to connect via port tty.usbserial but do correct me if I am wrong. I only see the cu.usbserial in the port options. Does anyone know how I might get the tty.usbserial port working in the Arduino IDE? A quick side note, after seeing similar problems on Mac (with the Apple FTDI drivers duplicating the ports) I have tried several terminal scripts to remove the Apple FTDI drivers, but it didn't work. I don't think this is the issue I am having as I don't have two drivers appearing in the hardware diagnostics when the cable is plugged into my Mac.
I have also tried the cable on a windows 7 machine. When installing the drivers based on this guide - How to Install FTDI Drivers - SparkFun Learn I successfully go through steps 1-15 but on step 16 a second driver does not show and so I cannot repeat steps 1-15. In the Arduino IDE the cable does appear as com port 6 (I am guessing this is the single vtp driver I updated). The code doesn't upload, I get the same sync error I get on my mac. Does anyone know why only one driver would have shown in the device manager and not a second?
I can upload programmes to the sleepypi Arduino board via a Pi, so I know it is not a problem with the sleepypi Arduino board,
Any help would be much appreciated,
Many thanks,
Sam