Go Down

Topic: Arduino IDE 1.0 uses programmer "Arduino" as default instead of mysmartusb (Read 4048 times) previous topic - next topic



i was using the mysmartusb light successfull till version 0023...

In Version 1.0 i made the same changes to programmers.txt and preferences.txt (the right one in users app folder).



When i press the normal upload button it says Using Programmer ARDUINO and fails with following:

         Using Port                    : \\.\COM1
         Using Programmer              : arduino
         Overriding Baud Rate          : 19200
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00

Sometimes other 0x values. But only if Programmer "Arduino" is used.

Only when i press "File" and "upload using programmer" it works fine, output:

Using Port                    : \\.\COM1
Using Programmer              : stk500v2
avrdude: stk500v2_getsync(): found STK500 programmer

I found in the preferences.txt a new entry which may be causing the normal upload button not to work anymore:


i tried to change it to :




but it always restores to the arduino:mySmartUSB.

So i cant change the default programmer or something?

I think the first one is the programmer used when pressing normal upload button. And second one it used when pressing "File" > "Upload using programmer".

Is there any way to fix that, so that i can use the normal upload button and it uses the mysmartusb light\stk500v2 instead of "Arduino" for upload like in all versions before?

Hoping for any tips\tricks.

Best regards.


Because there's now a way to uploading using a programmer from within the IDE, the global "upload.using" preference is no longer used.  You can select "Upload using programmer" from within the IDE, as you mention.  Or, you can create a boards.txt entry for your board that doesn't have an "upload.protocol" preference.  In this case, the IDE will assume that there's no bootloader on the board and do the upload using the selected programmer.


Cool, thank you for your help...

Deleting the line fixed it for that board\chip...

Does that mean i can delete ALL ".upload.protocol=arduino" lines in the boards.txt,
that it will work always directly over mysmartusb light ?  ( like in old versions ) ?

I have burned the bootloader, but i never had problems always using the mysmartusb directly... And prefer that if there is no reason not to do that?

Best regards, Alija

Go Up