Announcement

Collapse

Forum Rules *ALL NEW MEMBERS, PLEASE READ!! UPDATED!!*

First and foremost, Welcome to the Badcaps Capacitor Search Engine & Forums!

New members that have activated their accounts have limited access to certain features of the site until established. Members with zero posts have no access to the private messaging system. Also, members with zero posts may not edit certain profile attributes, such as signatures. New members also may not create new threads. However, new members with zero posts have full access to all technical information contained on this forum, and that also includes attachments (images and files that other members have uploaded), and new members that have activated their accounts are free to post replies to existing threads. If you wish to create a new thread, the fix is simple! All you need is ONE post to be able to have full unrestricted access, and that can be simply posting an introduction of yourself or say hello in THIS THREAD. This may seem a little strange, but it helps keep spam and abuse curved. Please note, that it may take up to one hour from your first post for the limits to be removed. If you make a post and don't immediately see the restrictions gone, be patient. The promotion system updates every hour.

Please complete your profile after making your first post, with your name, locale, and other info. It's nice to know members on a first name basis, and know where they're from. Makes for a much friendlier environment!

Posting rules for this forum will be STRICTLY enforced by myself as the owner/administrator, and my moderator crew.

Badcaps.net IS A BUSINESS!!! If you are a servicer, service center, or vendor of any kind in the computer/capacitor industry, you are NOT permitted to advertise, link, promote, or plug your business on this forum in ANY way! NO EXCEPTIONS!! This includes asking for "donations" in exchange for BIOS passwords or tech advice for anything! If I see you doing that, your post will be edited or deleted, and you warned. If it happens again, you will be banned. The only exceptions are the references to the companies quoted in the FAQ which the administration have added for the convenience of those around the world who have difficulty to source caps for their repair.

This also includes using this forum's private message system to solicit business. Members, if you receive a PM from anyone offering repair services or components, please alert me immediately! Myself or any of my moderators, will never private message a user soliciting business, for Badcaps.net, or any other servicer/vendor. If you PM me about repairing your device, I will reply and take care of you, however, I will not message you first.

------------------------------------

Posting rules:

This forum was created to be a technical support forum primarily for the do-it-yourselfers who choose to repair their own boards. Any and all technical questions are welcome!

1) Please use the SEARCH feature!! Your question may have been answered in another thread! Please search first and see if it has!

2) When posting a technical question, be as detailed as possible in your thread. The more information we have about your specific problem, the better we can answer your question.

3) Please use COMPLETE sentences, punctuation, and grammar! Nobody is perfect, hence, a spelling error on occasion is no biggie. However, posts/threads that are unreadable will be deleted. This includes any and all forms of 'ebonics', leet, chatroom jargon, and 'text message' shorthand and slang. This forum is not a chatroom/text message, please use full words and complete sentences.

4) Keep discussion on topic!! DO NOT HIJACK THREADS! It's easy to do (I've done it myself a few times...) Lets try to keep it down to a minimal!! If you have something really off topic, that's what the lounge is for!

5) Keep things civil! There will be no tolerance for flaming, bashing, hateful remarks, racial remarks, adult material of ANY kind, and so on.

6) THE LOUNGE RULES! The lounge is a place for off topic chit-chat! If you post something that might be considered questionable or something you don't want kids to see, or something you can't view at work/school, etc, please label that thread *NWS* or NOT WORK SAFE in the thread title as a warning. The Lounge is NOT moderated, anything is welcome... Feel free to post rants, jokes, cars, hot women (remember the NWS warning in the title), or just about anything within reason. It's an open forum! Please refrain from participating in political topics if you have thin skin, they can get heated sometimes!! Remember that we have members here from all over the world, with many different views and cultures. Political debates can turn really ugly, and really fast, and if they degrade to personal attacks and useless banter/bashing, moderator action will ensue. I want this forum to be a safe haven for technical discussions from all walks of life, so lets keep off topic discussions civil and friendly.

7) Spamming and spammers will NOT be tolerated or accepted in any way, shape, or form! Spam bots are instantly and permanently banned, and their threads deleted! The mod crew is really quick to zap spammers, we typically pop them before they even get to post. This also includes regular members as well. be courteous and not post spam. This includes links to off-site information that's not relevant to the thread at hand. Do not plug other websites, forums, or businesses in your signatures. You may do so in a thread if the off-site link you're posting is relevant to the topic, but otherwise, don't do it. If you see a thread which clearly a spam bot posting that we have not removed yet, DO NOT click any links in it!! Simply click the 'report bad post' button, and it'll be taken care of, usually within minutes.

8) Account removals & closures: Since no personal information is given in the creation of your Badcaps.net Forum account, requests to remove and/or delete accounts will be declined. Any requests for removal of threads & posts you created will also be declined. The reason is the missing posts can/will leave threads incomplete and fragmented. For the threads to be of help to others later on, information can't and won't be missing. However, if you inadvertently posted personal identifiable information in a post (such as an email address, real name, or phone number), please contact a staff member. In those cases, the post may be edited or removed, at the staff members discretion.

That's about it for the rules, the setup here is pretty loose. However, if you're caught violating any of the rules above, here's what will happen:

First offense: Warning by me or a moderator
Second offense: Banning for 1 day
Third offense: Banning for 3 days
Fourth offense: Banned permanently.

If you do something really dumb, or are just a troll, I will skip the warning and the temporary banning, and ban you permanently!

The rules are pretty cut and dry... However, if you have any questions about this policy, feel free to contact me.
See more
See less

ESR meter upgrades

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Re: ESR meter upgrades

    sjt thanks again and thanks for posting the manual

    Code:
    C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
    conf -c avrisp -P COM3 -b 19200 -p m328p -U flash:w:TransistorTester.hex \-U eep
    rom:w:TransistorTester.eep \-U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xf
    c:m
    
    avrdude: AVR device initialized and ready to accept instructions
    
    Reading | ################################################## | 100% 0.04s
    
    avrdude: Device signature = 0x1e950f
    avrdude: NOTE: "flash" memory has been specified, an erase cycle will be perform
    ed
             To disable this feature, specify the -D option.
    avrdude: erasing chip
    avrdude: reading input file "TransistorTester.hex"
    avrdude: input file TransistorTester.hex auto detected as Intel Hex
    avrdude: writing flash (29952 bytes):
    
    Writing | ################################################## | 100% 32.94s
    
    avrdude: 29952 bytes of flash written
    avrdude: verifying flash memory against TransistorTester.hex:
    avrdude: load data flash data from input file TransistorTester.hex:
    avrdude: input file TransistorTester.hex auto detected as Intel Hex
    avrdude: input file TransistorTester.hex contains 29952 bytes
    avrdude: reading on-chip flash data:
    
    Reading | ################################################## | 100% 18.59s
    
    avrdude: verifying ...
    avrdude: 29952 bytes of flash verified
    
    avrdude: safemode: Fuses OK (H:07, E:D9, L:62)
    
    avrdude done.  Thank you.
    Inserted it into the tester socket and same blank LCD so I tryed to redo the fuses

    Code:
    C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
    conf -c avrisp -P COM3 -b 19200 -p m328p -U lfuse:w:0xf7:m
    
    avrdude: AVR device initialized and ready to accept instructions
    
    Reading | ################################################## | 100% 0.04s
    
    avrdude: Device signature = 0x1e950f
    avrdude: reading input file "0xf7"
    avrdude: writing lfuse (1 bytes):
    
    Writing | ################################################## | 100% 0.03s
    
    avrdude: 1 bytes of lfuse written
    avrdude: verifying lfuse memory against 0xf7:
    avrdude: load data lfuse data from input file 0xf7:
    avrdude: input file 0xf7 contains 1 bytes
    avrdude: reading on-chip lfuse data:
    
    Reading | ################################################## | 100% 0.01s
    
    avrdude: verifying ...
    avrdude: 1 bytes of lfuse verified
    
    avrdude: safemode: Fuses OK (H:07, E:D9, L:F7)
    
    avrdude done.  Thank you.
    
    
    C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
    conf -c avrisp -P COM3 -b 19200 -p m328p -U hfuse:w:0xd9:m
    
    avrdude: AVR device initialized and ready to accept instructions
    
    Reading | ################################################## | 100% 0.04s
    
    avrdude: Device signature = 0x1e950f
    avrdude: reading input file "0xd9"
    avrdude: writing hfuse (1 bytes):
    
    Writing | ################################################## | 100% 0.01s
    
    avrdude: 1 bytes of hfuse written
    avrdude: verifying hfuse memory against 0xd9:
    avrdude: load data hfuse data from input file 0xd9:
    avrdude: input file 0xd9 contains 1 bytes
    avrdude: reading on-chip hfuse data:
    
    Reading | ################################################## | 100% 0.01s
    
    avrdude: verifying ...
    avrdude: 1 bytes of hfuse verified
    
    avrdude: safemode: Fuses OK (H:07, E:D9, L:F7)
    
    avrdude done.  Thank you.
    
    
    C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
    conf -c avrisp -P COM3 -b 19200 -p m328p -U efuse:w:0xfc:m
    
    avrdude: AVR device initialized and ready to accept instructions
    
    Reading | ################################################## | 100% 0.03s
    
    avrdude: Device signature = 0x1e950f
    avrdude: reading input file "0xfc"
    avrdude: writing efuse (1 bytes):
    
    Writing |                                                    | 0% 0.00s ***faile
    d;
    Writing | ################################################## | 100% 0.07s
    
    avrdude: 1 bytes of efuse written
    avrdude: verifying efuse memory against 0xfc:
    avrdude: load data efuse data from input file 0xfc:
    avrdude: input file 0xfc contains 1 bytes
    avrdude: reading on-chip efuse data:
    
    Reading | ################################################## | 100% 0.01s
    
    avrdude: verifying ...
    avrdude: verification error, first mismatch at byte 0x0000
             0x04 != 0xfc
    avrdude: verification error; content mismatch
    
    avrdude: safemode: efuse changed! Was fc, and is now 4
    Would you like this fuse to be changed back? [y/n] y
    If I press Y it stays like that and does nothing

    Thanks again
    I'm trying to learn here

    Comment


      Re: ESR meter upgrades

      Originally posted by stj View Post
      you did it again, replace m8 with m328p
      maybe read the manual
      thanks for the manual i will have a read.

      and some information i found on a forum if the fuses get locked try this Just put a 1nF cap from OSC1 to ground, and a 370 ohm resistor from OSC1 to Vcc as this resets them
      Last edited by vinceroger69; 07-23-2016, 03:00 PM.

      Comment


        Re: ESR meter upgrades

        Originally posted by vinceroger69 View Post
        and some information i found on a forum if the fuses get locked try this Just put a 1nF cap from OSC1 to ground, and a 370 ohm resistor from OSC1 to Vcc as this resets them
        Thanks let me figure out how to do that I will let you know how it turn out

        Belen

        Comment


          Comment


            Re: ESR meter upgrades

            avrdude -C ../etc/avrdude.conf -c avrisp -P COM3 -b 19200 -p m328p -U efuse:w:0x04:m

            Comment


              Re: ESR meter upgrades

              Originally posted by stj View Post
              avrdude -C ../etc/avrdude.conf -c avrisp -P COM3 -b 19200 -p m328p -U efuse:w:0x04:m
              Code:
              C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
              conf -c avrisp -P COM3 -b 19200 -p m328p -U efuse:w:0x04:m
              
              avrdude: AVR device initialized and ready to accept instructions
              
              Reading | ################################################## | 100% 0.04s
              
              avrdude: Device signature = 0x1e950f
              avrdude: reading input file "0x04"
              avrdude: writing efuse (1 bytes):
              
              Writing | ################################################## | 100% 0.01s
              
              avrdude: 1 bytes of efuse written
              avrdude: verifying efuse memory against 0x04:
              avrdude: load data efuse data from input file 0x04:
              avrdude: input file 0x04 contains 1 bytes
              avrdude: reading on-chip efuse data:
              
              Reading | ################################################## | 100% 0.01s
              
              avrdude: verifying ...
              avrdude: 1 bytes of efuse verified
              
              avrdude: safemode: Fuses OK (H:04, E:D9, L:F7)
              
              avrdude done.  Thank you.
              does it means is ok now?

              On the other hand I did not knew what OSC1 meant so I did a search downloaded the datasheet and it was pin 9 of the chip.

              Now beside my whole setup I also do that? or since apparently the fuses are now ok I do not?
              I'm kind of burned out by now lol

              Thanks again

              Update After that I inserted the reprogrammed chip into the tester and still it stays on for about 3 to 4 seconds then it turns off

              Thanks again
              Belen
              Last edited by bmht; 07-23-2016, 03:36 PM. Reason: Just tested and posting results

              Comment


                Re: ESR meter upgrades

                im sure stj will advise you dont add those extra parts yet as you maynot need them
                Last edited by vinceroger69; 07-23-2016, 03:49 PM.

                Comment


                  Re: ESR meter upgrades

                  put in the code from the zip i posted.

                  Comment


                    Re: ESR meter upgrades

                    Dear sjt

                    Your code only has the Hex file not an epp file still I programmed
                    Code:
                    C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
                    conf -c avrisp -P COM6 -b 19200 -p m328p -U flash:w:Code.hex \-U lfuse:w:0xf7:m
                    \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m
                    
                    avrdude: AVR device initialized and ready to accept instructions
                    
                    Reading | ################################################## | 100% 0.03s
                    
                    avrdude: Device signature = 0x1e950f
                    avrdude: NOTE: "flash" memory has been specified, an erase cycle will be perform
                    ed
                             To disable this feature, specify the -D option.
                    avrdude: erasing chip
                    avrdude: reading input file "Code.hex"
                    avrdude: input file Code.hex auto detected as Intel Hex
                    avrdude: writing flash (29702 bytes):
                    
                    Writing | ################################################## | 100% 32.84s
                    
                    avrdude: 29702 bytes of flash written
                    avrdude: verifying flash memory against Code.hex:
                    avrdude: load data flash data from input file Code.hex:
                    avrdude: input file Code.hex auto detected as Intel Hex
                    avrdude: input file Code.hex contains 29702 bytes
                    avrdude: reading on-chip flash data:
                    
                    Reading | ################################################## | 100% 20.32s
                    
                    avrdude: verifying ...
                    avrdude: 29702 bytes of flash verified
                    
                    avrdude: safemode: Fuses OK (H:04, E:D9, L:F7)
                    
                    avrdude done.  Thank you.
                    Now the LCD stays lit and nothing else happens

                    Thanks again
                    Belen

                    Comment


                      Re: ESR meter upgrades

                      the zip has Code.HEX and Data.HEX
                      Data is the eeprom file

                      Comment


                        Re: ESR meter upgrades

                        Again Thank you

                        I reprogrammed
                        Code:
                        C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
                        conf -c avrisp -P COM6 -b 19200 -p m328p -U flash:w:Code.hex -U flash:w:Data.hex
                         \-U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m
                        
                        avrdude: AVR device initialized and ready to accept instructions
                        
                        Reading | ################################################## | 100% 0.03s
                        
                        avrdude: Device signature = 0x1e950f
                        avrdude: NOTE: "flash" memory has been specified, an erase cycle will be perform
                        ed
                                 To disable this feature, specify the -D option.
                        avrdude: erasing chip
                        avrdude: reading input file "Code.hex"
                        avrdude: input file Code.hex auto detected as Intel Hex
                        avrdude: writing flash (29702 bytes):
                        
                        Writing | ################################################## | 100% 32.84s
                        
                        avrdude: 29702 bytes of flash written
                        avrdude: verifying flash memory against Code.hex:
                        avrdude: load data flash data from input file Code.hex:
                        avrdude: input file Code.hex auto detected as Intel Hex
                        avrdude: input file Code.hex contains 29702 bytes
                        avrdude: reading on-chip flash data:
                        
                        Reading | ################################################## | 100% 20.32s
                        
                        avrdude: verifying ...
                        avrdude: 29702 bytes of flash verified
                        avrdude: reading input file "Data.hex"
                        avrdude: input file Data.hex auto detected as Intel Hex
                        avrdude: writing flash (806 bytes):
                        
                        Writing | ################################################## | 100% 1.01s
                        
                        avrdude: 806 bytes of flash written
                        avrdude: verifying flash memory against Data.hex:
                        avrdude: load data flash data from input file Data.hex:
                        avrdude: input file Data.hex auto detected as Intel Hex
                        avrdude: input file Data.hex contains 806 bytes
                        avrdude: reading on-chip flash data:
                        
                        Reading | ################################################## | 100% 0.66s
                        
                        avrdude: verifying ...
                        avrdude: verification error, first mismatch at byte 0x0000
                                 0x10 != 0x52
                        avrdude: verification error; content mismatch
                        
                        avrdude: safemode: Fuses OK (H:04, E:D9, L:F7)
                        
                        avrdude done.  Thank you.

                        Got some errors
                        Now back to square one the LCD lights up as long as I got the button pressed. Else it stays off

                        another thing do you happen to know a cheap hv programmer that I can buy to reset the fuses of my usbasp? I know it would make more sense to buy another usbasp but I figured out if I brick more chips I got 10 attinys in here , I rather have the option available that wait for more chips and all. Besides I'm learning wich I love.
                        Thanks for your feedback

                        Belen
                        Last edited by bmht; 07-23-2016, 06:58 PM.

                        Comment


                          Re: ESR meter upgrades

                          your making this up as you go instead of understanding the instructions

                          avrdude -C ../etc/avrdude.
                          conf -c avrisp -P COM6 -b 19200 -p m328p -U flash:w:Code.hex -U flash:wata.hex \-U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0xfc:m

                          -U flash = flash memory
                          your flashing both files to the same place.

                          you need -U eeprom:wata.hex
                          to write the data to the eeprom

                          Comment


                            Re: ESR meter upgrades

                            avrdude -C ../etc/avrdude.conf -c avrisp -P COM6 -b 19200 -p m328p -U flash:w:Code.hex -U eeprom:wata.hex \-U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0x04:m

                            copy & paste that

                            Comment


                              Re: ESR meter upgrades

                              Really
                              Thank you for standing up with me and being VERY patient

                              Code:
                              C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
                              conf -c avrisp -P COM6 -b 19200 -p m328p -U flash:w:Code.hex -U eeprom:w:Data.he
                              x \-U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0x04:m
                              
                              avrdude: AVR device initialized and ready to accept instructions
                              
                              Reading | ################################################## | 100% 0.03s
                              
                              avrdude: Device signature = 0x1e950f
                              avrdude: NOTE: "flash" memory has been specified, an erase cycle will be perform
                              ed
                                       To disable this feature, specify the -D option.
                              avrdude: erasing chip
                              avrdude: reading input file "Code.hex"
                              avrdude: input file Code.hex auto detected as Intel Hex
                              avrdude: writing flash (29702 bytes):
                              
                              Writing | ################################################## | 100% 32.81s
                              
                              avrdude: 29702 bytes of flash written
                              avrdude: verifying flash memory against Code.hex:
                              avrdude: load data flash data from input file Code.hex:
                              avrdude: input file Code.hex auto detected as Intel Hex
                              avrdude: input file Code.hex contains 29702 bytes
                              avrdude: reading on-chip flash data:
                              
                              Reading | ################################################## | 100% 20.32s
                              
                              avrdude: verifying ...
                              avrdude: 29702 bytes of flash verified
                              avrdude: reading input file "Data.hex"
                              avrdude: input file Data.hex auto detected as Intel Hex
                              avrdude: writing eeprom (1024 bytes):
                              
                              Writing | ################################################## | 100% 49.61s
                              
                              avrdude: 1024 bytes of eeprom written
                              avrdude: verifying eeprom memory against Data.hex:
                              avrdude: load data eeprom data from input file Data.hex:
                              avrdude: input file Data.hex auto detected as Intel Hex
                              avrdude: input file Data.hex contains 1024 bytes
                              avrdude: reading on-chip eeprom data:
                              
                              Reading | ################################################## | 100% 3.58s
                              
                              avrdude: verifying ...
                              avrdude: 1024 bytes of eeprom verified
                              
                              avrdude: safemode: Fuses OK (H:04, E:D9, L:F7)
                              
                              avrdude done.  Thank you.
                              OMG!!!!!!!!



                              I had almost gave up!
                              I owe you big time!!!

                              Thanks Thanks Thanks!!!

                              Now I nee to go through the calibration process

                              As I said to Vince I do know a lot about photography so if by any chance you happen to have any question regarding that you got yourself a slave hehehe

                              Thanks again!!!! Really I do not have words for you that kept up with me.

                              Belen
                              Attached Files
                              Last edited by Per Hansson; 06-16-2022, 02:04 PM.

                              Comment


                                Re: ESR meter upgrades

                                hummm it doesn't go through the calibration procedure weird!!

                                Now my next question would I be able to upgrade it with the Markus Frejek software or some variation?


                                Thnaks again

                                Belen

                                Comment

                                Working...
                                X