Wink Issue.

Wink setup, hardware, basic programming. User to user support.
kushagrgoyal
Posts: 3
Joined: Thu Jan 21, 2016 2:18 pm

Wink Issue.

Postby kushagrgoyal » Thu Jan 21, 2016 2:39 pm

Hi,
i received my wink recently. i am on macbook air, mac 10.11.2 and am using the latest arduino IDE 1.6.7 and the latest FTDI 2.3 drivers.

The issue i am facing is:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

this goes on for 10 attempts and then it stops. the port i see is "/dev/cu.usbserial-DA01HH35"

I've tried following things to make it work:
1. switching out usb cables.
2. reinstalling all the drivers.

I am not sure if the programmer is faulty or its a driver issue. the charging led turns on on wink when connected, and while it attempts to upload the sketch, the led for RX blinks every time a 'new attempt' is made. i couldnt get it to work with answers in previous posts, can anyone please help????

Thanks.

Kushagr

User avatar
sil
Posts: 40
Joined: Thu Oct 01, 2015 1:04 am

Re: Wink Issue.

Postby sil » Sun Jan 24, 2016 10:15 pm

Press the power button (PWR) to turn on the Wink, ignore the charging light, Wink needs to be turned On for serial connection to work.

Fredjamess
Posts: 3
Joined: Mon Feb 01, 2016 11:16 pm

Re: Wink Issue.

Postby Fredjamess » Mon Feb 01, 2016 11:24 pm

So I can't my ringo bot connect at all to my computer and I tried with all systems other then mac I installed everything and change out the usb cord. when I turn on ringo when connected to the computer is tries to do it little start up dance I press the buttons to stop it from doing that I don't know what to do.

roadhome
Posts: 1
Joined: Fri Feb 05, 2016 11:24 pm

Re: Wink Issue.

Postby roadhome » Fri Feb 05, 2016 11:30 pm

Hi,

I have same problem.
I can't send a program to wink robot.
--------------------------
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
-------------------------

When I press pwr button, a Wink start dancing.
I don't know how to send a program to Wink.

Please help me...

Thanks,
Ricky.

Keith
Posts: 3
Joined: Sat Feb 06, 2016 4:04 am

Re: Wink Issue.

Postby Keith » Sat Feb 06, 2016 4:07 am

I get the same timeout issue trying to program my Wink. Tried 2 different Wink robots and programming boards, power on and off. I get:
Binary sketch size: 9,154 bytes (of a 258,048 byte maximum)
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

The code will not load

Keith
Posts: 3
Joined: Sat Feb 06, 2016 4:04 am

Re: Wink Issue.

Postby Keith » Sat Feb 06, 2016 4:35 pm

OK I got mine to work.
The problem was that the last Arduino project I worked on was for a Mega, and the default board was still selected for that.
Under Tools>Board I selected Fio (this is in the set-up instruction), made sure wink was turned on, and I am able to reprogram.
Hope this help other people

steveh
Posts: 3
Joined: Sat Feb 06, 2016 9:07 pm

Re: Wink Issue.

Postby steveh » Sat Feb 06, 2016 9:21 pm

Having the same issue with one of mine as well. They really look the part, by the way, and I'm really excited by the prospect of using them for real.

OS is Mac OS X 10.11.3
Arduino environment is version 1.6.7.

There are a few Arduino related lines in the System Log that might help in figuring out what may be happening:

06/02/2016 20:40:09.968 Arduino[1336]: BUG in libdispatch client: kevent[EVFILT_MEMORYSTATUS] add: "Operation not supported" - 0x2d
06/02/2016 20:40:10.169 Arduino[1336]: assertion failed: 15D21: libxpc.dylib + 63930 [61AB4610-9304-354C-9E9B-D57198AE9866]: 0x89
06/02/2016 20:42:50.167 com.apple.xpc.launchd[1]: (cc.arduino.Arduino.139552[2370]) Service exited with abnormal code: 143
06/02/2016 20:43:14.820 Arduino[2424]: BUG in libdispatch client: kevent[EVFILT_MEMORYSTATUS] add: "Operation not supported" - 0x2d
06/02/2016 20:43:14.968 Arduino[2424]: assertion failed: 15D21: libxpc.dylib + 63930 [61AB4610-9304-354C-9E9B-D57198AE9866]: 0x89
06/02/2016 21:02:57.341 Arduino[2424]: OffsetForAlignedImage invalid image data size 4194304.

The board is set as 'Arduino Fio'.

Would it be worth reverting to version 1.6.6 or 1.6.5 of the Arduino client, perhaps, as these seem to be freely downloadable? It would seem to be worth a shot, at any rate.

The built in behaviours work really well, but it would be great to be able to program the robots properly. I've also got a machine running Windows 10 and that seems to work slightly better, also using Arduino 1.6.7.

Steve

wclift
Posts: 32
Joined: Sun Feb 07, 2016 6:10 am

Re: Wink Issue.

Postby wclift » Sun Feb 07, 2016 6:31 am

I just got my pair of Winks today and was really excited to get started. I had never used Arduino stuff before, so I knew there would be a bit of a ramp. And the Wink web info still points to a lot of Ringo stuff, and there are some hardware differences. I got drivers, then IDE, then libraries, then code examples all installed successfully. Computer (and later a laptop) both recognized the COM port when the Wink was plugged in. I could code and compile my first program. Then in excitement, I tried to upload and got the now familiar avrdude messages. I then spent the next 5 hours swapping out computers, cables, listening to videos, etc. Even after I thought I finally knew enough, I could not get the upload to work.

Fortunately, by sheer luck, probably, I suddenly saw my Wink doing what I asked it after trying a final upload. I was shocked. After some educated guess, and confirmed by trying this on the second computer and both Winks with different cables, I have discovered the pieces of information that were not obvious and absolutely critical.

For my brand new Wink Rev4 and Programmer Rev5:
1) Arduino IDE -> Tools -> Board -> Arduino Fio (not Genuino Uno, despite docs saying this is an uno board)
2) Arduino IDE -> Tools -> Port -> <com#> (your new COM port, identifiable by disconnect/connect cable)
3) Push WINK power button! (Wink will chirp and then begin running last program)
4) Hit Upload.

I spent 3 hours discovering #3 the hard way. Unlike Ringo, which has a slider ON switch, the Wink has a flush purple button on its back left. Even though the charge light may be on when all plugged in, Wink is NOT ON! And if it isn't on, the avrdude messages tell you it can't talk to the Wink. You think it's on, but it's not. If you already hit upload and it's in the retry period, it has to finish, or you have to unplug and plug and stop everything, then turn wink on, then upload.

I found no way to turn Wink on without it actually running the last program. I hadn't been doing it because it would run the demo program that had it skittering everywhere. I had thought and hoped that the power button would turn on and then the right button would be the "go" button. Perhaps I'll figure out how to have my programs do that soon.

So, biggest learnings...Arduino Fio and push on button!

steveh
Posts: 3
Joined: Sat Feb 06, 2016 9:07 pm

Re: Wink Issue.

Postby steveh » Sun Feb 07, 2016 12:55 pm

Ok, sorted out my issue. The cause was a programming issue, but with me rather than anything to do with the Wink robot or the IDE ;)

Namely, that I'd managed to miss that the programmer wasn't properly connected to Wink. It is so, so easy to miss a row of pins (well, that's my excuse, anyway). Once I'd properly connected the programmer cable to Wink it all worked beautifully.

Steve

Kevin
Posts: 177
Joined: Tue Jul 28, 2015 12:56 am

Re: Wink Issue.

Postby Kevin » Thu Feb 11, 2016 6:46 pm

Glad you guys got it worked out.

FYI I just posted a Programmer Issues troubleshooting guide this morning. It's a sticky at the top of the forum now if anyone else needs it. Hopefully will clear up these issues.

Link:
viewtopic.php?f=13&t=732


Who is online

Users browsing this forum: No registered users and 1 guest