garrows / browser-serialport

Robots in the browser. Just like node-serialport but for browser/chrome apps.
MIT License
205 stars 73 forks source link

Timeouts when loading a program with stk500v1 protocol #45

Open tocalvo opened 8 years ago

tocalvo commented 8 years ago

Hi,

i'm trying to load an Arduino program, in a chrome extension with avrgirl-arduino, but when try to load a big program to an Arduino UNO modified board (mCore board), sometimes (or everytime ) give a timeout when loading an address on verify, or when its programming a page.

Load the same program to an original Arduino UNO always work, no problem, just on this board and just on chrome, if i use avrgirl-arduino on a NodeJS program, always work too.

You know the differences between the nodejs and chome.serial API that maybe, can origin the problem

Any help to debug it better will be appreciated.

Thanks!

The chrome extension code its here, we use avrgirl-arduino and add some code to create a serial monitor.

If you have a mCore board (with a common Arduino UNO always work ) you can test here:

http://beta-bitbloq.bq.com/

Login, and activate the "show under development board and robots" on profile account ( http://beta-bitbloq.bq.com/#/account )

Then go to create a new project, select the robot mBot, and create and load some programs.