Sending 3020: receiveData timeout after 400ms - not possible to upload sketch

Hi,

Does the sketch you tried to upload run on the Nano after the upload finishes?

Unfortunately no, it does not work. Although the console seems the sketch was uploaded, it is not :frowning: there is red banner stating "Sending 3020: receiveData timeout after 400ms"

Hi,

I am also seeing the same issue.
"Sending 3020: receiveData timeout after 400ms"

I'm using an Asus 302 Flip Chromebook, ans an Arduino UNO R3.

The problem started after Chrome OS upgraded to version 74.

gglezman1:
Hi,

I am also seeing the same issue.
"Sending 3020: receiveData timeout after 400ms"

I'm using an Asus 302 Flip Chromebook, ans an Arduino UNO R3.

The problem started after Chrome OS upgraded to version 74.

Hmmm... I'm on an (recent build) Acer, running version 73.0.3683.114. The UNO (a clone) I can flash, but the Nano (also a clone) I cannot. Chrome offers update towards next version; 74? :roll_eyes:

It has worked with my set-up!

Still on version 73, in the online editor I changed the board select to ATmega 328P (Old Bootloader) after checking the specs of my clone here.

After flashing I get a fresh green bar with the message:

Success: Saved on your online Sketchbook and done uploading [SketchName]

Hope this will work under versoin 74 as well.

The temporary fix is just to take out the Arduino board and try again. It's a temporary fix and our developers will fix it soon.

Kind Regards,
Arduino Team

I'm experiencing the same issue.
Disconnecting and reconnecting the board releases the port indeed, but it doesn't seem to be feasible to unplug the USB cable after every upload.
Desperately waiting for the fix.
Thank you!

Hi Everyone,

We've just published v1.0.15 of the Create Chrome app to address this.

You can visit chrome://extensions to check which version you are at, there's an update button on that page to manually update, if that doesn't work you can also try to reboot the Chrome OS device.

Please let us know if you have any further issues.

Is v1.0.15 of the Create Chrome app only visible (searchable) in the Web Store from a Chromebook? I'm using a MacBook Pro, and couldn't find it.

I have a program (HyperDuino Media Linker) that uploads code to the Arduino, and it has just started not working, apparently because of this, with a recent update of the Chrome Browser.

The Media Linker runs on Mac, Win and Chromebooks.

The Old Bootloader set-up fails now, too. :disappointed_relieved:

I installed the extension ChromeDuino2 and this works flawlesly, so far.

Hi sandeepmistry,

I'm trying to fix Roger Wagner's HyperDuino app, which is having the same issue with Chrome 74.

Can you tell me what you changed in the Create Chrome app that fixed the problem?

We're using the same Stk500 library (GitHub - jacobrosenthal/js-stk500v1: Fully javascript stk500 programmer) and I'm wondering if there is something we can modify in the library or in our code to help with the problem.

Thanks!
-Chris

Just installed v1.0.15 and it seems to work fine. No timeout issue during repeated uploads. Thanks!

I do confirm, that the fix works.

Thank you for Your action.

Kudos!

sandeepmistry:
Hi Everyone,

We've just published v1.0.15 of the Create Chrome app to address this.

You can visit chrome://extensions to check which version you are at, there's an update button on that page to manually update, if that doesn't work you can also try to reboot the Chrome OS device.

Please let us know if you have any further issues.

Hi,
Still having issues with the lastest update on a Dell Chromebook 11:

it seems flashing to ttyACM0 is the problem, while the Serial monitor just works on ttyACM0, not on USB0

when switching to USB0 the first time, the flash succeeds, but after that both ways fail.
After removing the arduino, the option switches back to ttyACM0, but setting it back to USB0, then flash succeeds.

and keeps working, until you have to open the serial monitor ( which doesnt work on ttyUSB0)
serial monitor always shows ttyACM0, you cannot change it to USB0 anymore, until you remove the device and reinstall it

to sum it up:
Plugin device and start arduino create, select USB0 as port and flashing works. (several times)
Opening the Serial monitor, always changes to ACM0, which is unable to flash.
Only way to solve it is to close the serial monitor and remove the device and reinsert it, after wich you can switch back to USB0

My class is also having this issue. When they upload it onto my Macbook with the downloaded software, there is no issue, but they are unable to upload onto their Samsung chromebooks. I have tried pressing the reset at different times after uploading, unplugging and replugging in the USB port, refreshing the web page, nothing is working. Any updates on this issue?

@Keoraf which board are you using? Are which version of the Create app is shown in chrome://extensions

We're using Genuino Uno boards that come in the SparkFun Inventor's kits. And we are using the latest version of the Create app, 1.0.15. Sometimes it works and then there are times when it just doesn't work at all and I'm having to use my personal laptop for my whole class.

Email support told me to post the issue here, but its been more than a month, still no solution.
come on guys :slight_smile: help us out

gglezman1:
Hi,

I am also seeing the same issue.
"Sending 3020: receiveData timeout after 400ms"

I'm using an Asus 302 Flip Chromebook, ans an Arduino UNO R3.

The problem started after Chrome OS upgraded to version 74.

The same thing is happening to me. Uno R3, Toshiba Chromebook 2

its says sending 3020:recieve data timeout 400ms. PLease help

Same here
HP Chromebook G6 EE
Sending 3020: receiveData timeout after 400ms

background page console:
Programming with: avrgirl-arduino flash -f undefined -a nano -p /dev/ttyUSB0
background.bundle.js:258 connected
background.bundle.js:258 reset complete.
background.bundle.js:258 flashing, please wait...
background.bundle.js:258 flash complete.
background.bundle.js:268 Error: Sending 3020: receiveData timeout after 400ms
at background.bundle.js:24612
at finished (background.bundle.js:24563)
at background.bundle.js:24568
_generated_background_page.html:1 Unchecked runtime.lastError: Serial connection not found.

Problems are only with Nano. Uno works fine.

Seems like it fu*ked up my Arduino Nano
On desktop can't be programed too
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00