Open sirtet opened 9 years ago
Have you seen "Project Blink binaries successfully uploaded to board" in msgs tab?
No, there's a "Error uploading... ...see output window" message, but the output window has no error messages.
PS: On an arduino uno this runs well, the success message is there after less than 1sec. uploading.
Hi, sirtet. Which board is yours?
I have same trouble with Nano aprox in 1 of 20 uploads. Firmware uploads succesfuly, but in msgs tab appears "Error uploading...".
One thing that may cause this is that MariaMole is not receiving the AVRDUDE output, despite the upload is correcly finished. In these cases, MariaMole will terminate AVRDUDE process, and then return an error message.
Please try increasing the upload timeout (Menu Edit->Preferences) and see if that changes this behaviour
On Mon, Feb 2, 2015 at 4:24 PM, AlexxNB notifications@github.com wrote:
I have same trouble with Nano aprox in 1 of 20 uploads. Firmware uploads succesfuly, but in msgs tab appears "Error uploading...".
— Reply to this email directly or view it on GitHub https://github.com/aporto/mariamole/issues/38#issuecomment-72509223.
Hi, sirtet. Which board is yours?
Arduino Mega 2560
Please try increasing the upload timeout
Changing the Timeout to 60s fixes the issue, returning to 30s brings it back. Strange, My Upload is 1sec. and then the progress bar finishes 10s later, so still well within the original 30s timeout...
AVRDude report that upload done in Output tab:
avrdude: reading on-chip flash data:
avrdude: verifying ...
avrdude: 11026 bytes of flash verified
avrdude done. Thank you.
Even if avrdude finishes, MariaMole still waits for the operating system to close the avrdude process. If it stop responding after avrdude has finished, MariaMole will probably wait for the timeout and request a process kill, and return an error message, even if the upload has happened correctly
Gonna need some more time for a better solution
On Tue, Feb 3, 2015 at 2:10 PM, AlexxNB notifications@github.com wrote:
AVRDude report that upload done in Output tab:
avrdude: reading on-chip flash data: avrdude: verifying ... avrdude: 11026 bytes of flash verified
avrdude done. Thank you.
— Reply to this email directly or view it on GitHub https://github.com/aporto/mariamole/issues/38#issuecomment-72678617.
That's a solution... :)
On Tue, Feb 3, 2015 at 8:19 PM, Alexey Schebelev notifications@github.com wrote:
Maybe close progressbar by Output message parsing and check avrdude proccess in background?
— Reply to this email directly or view it on GitHub https://github.com/aporto/mariamole/issues/38#issuecomment-72747895.
Sorry, I've delete my msg after reading your pre-previous post =)
I imported the Blink-example and uploaded it. After about 1sec. the program runs, as the blinking led tells me. But the Progress-Bar with the cancel-button is only at about 10%, and finishes 10sec. later... This is on a mega 2560 Board.