[SOLVED] Can't upload any sketch after battery modifications
-
Hi.
I have begin to make battery modifications to my Arduino pro mini 5v to make them last longer.
They looks like this.
I started to desolder the power LED and voltage converter beside the LED, then the VDC regulator.
Now i can't upload any sketch to it.
I have tried to upload a empty sketch and then ClearEepromConfig and always get the same error messageArduino: 1.6.5 (Mac OS X), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)" Sketch uses 1,922 bytes (6%) of program storage space. Maximum is 30,720 bytes. Global variables use 266 bytes (12%) of dynamic memory, leaving 1,782 bytes for local variables. Maximum is 2,048 bytes. avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00 avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xbd avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xaf avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x0b avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x39 avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x3b avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x3a avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x0a avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x7f Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions. This report would have more information with "Show verbose output during compilation" enabled in File > Preferences.
I got the tip from @sundberg84 that the bootloader maybe is broke.
So i tried to burn/flash the bootloader but got this error message.Arduino: 1.6.5 (Mac OS X), Board: "Arduino/Genuino Uno" avrdude: stk500_recv(): programmer is not responding Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions. This report would have more information with "Show verbose output during compilation" enabled in File > Preferences.
Can i have broke the arduino when i desolder the LED?
I am thinking of the components in the red circle. (it's a img before my modifications)
-
Are you providing power to the Vcc pin? With the regulator unsoldered you can no longer use the raw pin.
-
Yes.
I'm using the power from the FTDI VCC to the VCC pin on the arduino.
-
@ErrK do you have a "after modification" picture?
Preferable one that isn't taken with a potato cam.
-
@Oitzu
Here you can see some picture. on my driveI have made the modifications on two arduinos. One that have the VDC regulator.
-
@ErrK said:
@Oitzu
Here you can see some picture. on my driveI have made the modifications on two arduinos. One that have the VDC regulator.
Hm... strange! Damage on the srrounding parts should not have this effect.
What you could try: Hold down reset while die ide is compiling and release it on upload start. Maybe the DTR line is damaged.
-
@Oitzu
Thanks for the tips.
After a many attempts it worked.I hold the reset down while it was compiling and first it failed.
Then i tried again just after it failed and did it a few times. Then suddenly it did't fail and the sketch was uploaded.
-
To explain this: Normally the DTR line is pulled down to reset the arduino.
After the reset the arduino starts the bootloader and accepts the serial upload.
If the DTR line is broken you can manually reset the arduino, you just need the right timing.