I have an ArduiIMU+ V2 that seem to lose the bootloader every time I upload a sketch.
Is anyone out there experiencing the same problem?

Uploading a sketch from the Arduino IDE (v0018) gives me this error message:

  Binary sketch size: 16080 bytes (of a 30720 byte maximum)
  avrdude: stk500_getsync(): not in sync: resp=0x02
  avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x02

If I re-flash the bootloader, I can upload a sketch just fine.
But it works only once. The second time I want to upload a sketch,
I get the above error again.

It looks as if the sketch upload erases the bootloader somehow.

I use Adafruit's USBtinyISP to burn the bootloader.

Any clue?

  -- Prof Shadoko


You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Prof,

    There are fuse bits which should be set when a bootloader is used to prevent the bootloader memory space being overwritten. It sounds like these may not be set correctly in your case.

    A guide to avr fuses is here. A google search will get you the correct fuse values for an Arduino with ATMega328 and various guides for reading and setting fuses. Some caution is required as it is possible to effectively 'lock yourself out' if you get lock bit or reset fuse settings wrong.

    All the best.
This reply was deleted.

Activity

DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars It's just something that's easy to track with chroma keying. I ended up using different colors on th…
yesterday
DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
Nov 23
DIY Robocars via Twitter
Nov 23
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
DIY Robocars via Twitter
Excellent use of cardboard instead of 3D printing! https://twitter.com/Ingmar_Stapel/status/1324960595318333441
Nov 7
DIY Robocars via Twitter
RT @chr1sa: We've got a record 50 teams competing in this month's @DIYRobocars @donkey_car virtual AI car race. Starting today at 10:00am…
Nov 7
DIY Robocars via Twitter
Nov 6
DIY Robocars via Twitter
RT @a1k0n: Car's view, using a fisheye camera. The ceiling light tracking algorithm gave me some ideas to improve ConeSLAM, and having grou…
Nov 5
More…