Can't Upload Most Sketches to Bluno Mega 2560
Garrett 2025-05-08 07:59:36 1805 Views6 Replies I cannot upload most sketches to any Bluno 2560 boards that I have (I have several). I can upload simple sketches like “Blink” and other example sketches, but anything much more complex hangs on upload 99.99% of the time. It's always “avrdude: stk500v2_ReceiveMessage(): timeout” somewhere in the upload process, sometimes right in the beginning, sometimes towards the end. I have verbose upload messages on and it's a random number of # before it stops responding.
The firmware is version 1.97. I know the bootloader is still there because I can upload “Blink” every single time without a problem.
I have tried things online that I've found, like pressing the reset button at various points before uploading, using only USB 2.0 ports, using different USB ports, and various cables. This is becoming incredibly frustrating.
NEWEST UPDATE: I learned something yesterday that has helped me immensely in uploading sketches. Now it only takes only one attempt (sometimes 2 or 3, but rarely). I went into AT command mode and I disabled AT+BLUNODEBUG and AT+USBDEBUG. That was it. Now I don't have to spend 20-40 minutes trying to upload a single sketch over and over again! Hope this helps somebody else too.
Garrett UPDATE: I've now started uploading via Arduino IDE (instead of Visual Micro) because I can get verbose output on the upload process. I can get it to correctly upload 1 out of 100 tries, roughly. It stops uploading most of the time at a random %, literally anywhere from 0% to 99%. I get the "avrdude: stk500v2_ReceiveMessage(): timeout" message when it stops. If I cancel the upload when it stops and try again, it sometimes works, but it may take 100's of attempts over 30-40 minutes.
Garrett Go to Device Manager → Ports (COM & LPT).
If you see an unknown device or “USB-SERIAL CH340,” install the CH340 driver.
ahsrab.rifat I found that with the bluno paired on my phone I cannot upload . Unpair and i can upload . Is this correct? I am trying to use an app on my phone to connect to the bluno with no success. Help !!
motorman Having trouble with firmware uploads? I had a similar issue once! Turns out, my board needed a specific driver version (check the manufacturer's website). Did you update yours recently?
Martha.Rogers 

