Hi,
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).
preferences.txt:
upload.using=mySmartUSB
programmers.txt:
mySmartUSB.name=mySmartUSB
mySmartUSB.protocol=stk500v2
mySmartUSB.communication=serial
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:
programmer=arduino:mySmartUSB
i tried to change it to :
programmer=mySmartUSB:mySmartUSB
and:
programmer=mySmartUSB
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.
Alija