nodebots / nodebots-interchange

Project related to creating hardware backpacks for your nodebot to make them more capable.
MIT License
51 stars 8 forks source link

Receiving Error: Sending 3020: receiveData timeout after 400ms #22

Closed neurotech closed 7 years ago

neurotech commented 7 years ago

Hi there. I am trying to use interchange to install node-pixel as described here: https://github.com/ajfisher/node-pixel/blob/master/docs/installation.md#i2c-backpack

I'm not sure if this is something to be worried about, but this is what is returned by the command:

$ interchange install git+https://github.com/ajfisher/node-pixel -a nano
Retrieving manifest data from GitHub
Downloading hex file
found nano on port /dev/cu.usbserial-A702U0S6
connected
reset complete.
flashing, please wait...
flash complete.
Error: Sending 3020: receiveData timeout after 400ms
    at /usr/local/lib/node_modules/nodebots-interchange/node_modules/stk500/lib/sendCommand.js:36:17
    at finished (/usr/local/lib/node_modules/nodebots-interchange/node_modules/stk500/lib/receiveData.js:38:5)
    at Timeout._onTimeout (/usr/local/lib/node_modules/nodebots-interchange/node_modules/stk500/lib/receiveData.js:43:7)
    at tryOnTimeout (timers.js:232:11)
    at Timer.listOnTimeout (timers.js:202:5)
ajfisher commented 7 years ago

You're probably not using a nano - use -a uno instead or whatever is the board type you're using.

On Fri, Dec 16, 2016 at 1:35 PM Tim Douglas notifications@github.com wrote:

Hi there. I am trying to use interchange to install node-pixel as described here: https://github.com/ajfisher/node-pixel/blob/master/docs/installation.md#i2c-backpack

I'm not sure if this is something to be worried about, but this is what is returned by the command:

$ interchange install git+https://github.com/ajfisher/node-pixel -a nano Retrieving manifest data from GitHub Downloading hex file found nano on port /dev/cu.usbserial-A702U0S6 connected reset complete. flashing, please wait... flash complete. Error: Sending 3020: receiveData timeout after 400ms at /usr/local/lib/node_modules/nodebots-interchange/node_modules/stk500/lib/sendCommand.js:36:17 at finished (/usr/local/lib/node_modules/nodebots-interchange/node_modules/stk500/lib/receiveData.js:38:5) at Timeout._onTimeout (/usr/local/lib/node_modules/nodebots-interchange/node_modules/stk500/lib/receiveData.js:43:7) at tryOnTimeout (timers.js:232:11) at Timer.listOnTimeout (timers.js:202:5)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/johnny-five-io/nodebots-interchange/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/AAHRo9rPKskfkbZcXgQHDFiX-XE1_KEhks5rIfjugaJpZM4LOynG .

neurotech commented 7 years ago

I am using a SparkFun RedBoard.

keaixx365 commented 5 years ago

@neurotech how can you get this issue resolved?

thebirdgr commented 4 years ago

In 2020, I have this problem too. Anyone know the fix?

neurotech commented 4 years ago

It's been a while, but I'm pretty sure I never resolved this issue on my end.

thebirdgr commented 4 years ago

Thanks for the reply on this post! Oh that's unfortunate, same here, I decided to just code my Arduino in C++ rather than use Johnny-five.