[SOLVED] Can't upload any sketch after battery modifications


  • Plugin Developer

    Hi.
    I have begin to make battery modifications to my Arduino pro mini 5v to make them last longer.
    They looks like this.
    0_1454529211859_IMG_6201 copy.jpg

    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 message

    Arduino: 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)
    0_1454529634405_IMG_6201 copy copy.jpg


  • Mod

    Are you providing power to the Vcc pin? With the regulator unsoldered you can no longer use the raw pin.


  • Plugin Developer

    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. 😛


  • Plugin Developer

    @Oitzu
    Here you can see some picture. on my drive

    I have made the modifications on two arduinos. One that have the VDC regulator.



  • @ErrK said:

    @Oitzu
    Here you can see some picture. on my drive

    I 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.


  • Plugin Developer

    @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.


Log in to reply
 

Suggested Topics

  • 3
  • 2
  • 5
  • 1

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts