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

    Thanks stj yes i have saw that video already it looks a good tool and thanks for the link i might consider the upgrades at some points i need to collect some more projects too work on as have none at the minute (well one a psp needs a replacement shell fitting but the china one provided looks rubbish quility so been putting this job off)
    Last edited by vinceroger69; 07-23-2016, 07:37 AM.

    Comment


      Re: ESR meter upgrades

      Originally posted by vinceroger69 View Post
      I saw your post on eevblog are you programming the chip on the esr pcb? though a fitted header?
      Dear Vince thank you

      I removed the chip from the transistor tester and inserted it into a PCB

      I'm programing the chip using an USBASP and the procedure as described in here

      http://www.eevblog.com/forum/testgear/$20-lcr-esr-transistor-checker-project/msg810893/#msg810893

      I will retry now with the code provided by sjt and will right away post results
      Again many thanks to you for refering me here and sjt and other members helping me with this issue

      Belen

      Comment


        Re: ESR meter upgrades

        Dear guys

        I got somehow a success

        I was able to upload the firmware and now the display stays lit ans the led too but still nothing shows on the display just blank

        This was my result o the programming
        Code:
        C:\AVR>avrdude -c USBasp -P usb -p m328p -U flash:w:Code.HEX \-U eeprom:w:Data.H
        EX \-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.01s
        
        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% 18.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% 11.40s
        
        avrdude: verifying ...
        avrdude: 29702 bytes of flash verified
        
        avrdude: safemode: Fuses OK (E:01, H:DF, L:F7)
        
        avrdude done.  Thank you.
        and this is how it is now



        I'm sorry for the clips on the side but those were the cables I soldered to be able to attach and detach the crystal I did not knew I could use a 16 mhz one until today and I had already took that one out.
        Meanwhile I receive an answer I'm going to solder the crystal back onto the tester.

        Thank you all again
        Belen
        Attached Files
        Last edited by Per Hansson; 06-16-2022, 02:02 PM. Reason: Added CODE tags, uploaded offsite image

        Comment


          Re: ESR meter upgrades

          go do it again - the fuses didnt get programmed.

          copy & paste from this:
          Attached Files

          Comment


            Re: ESR meter upgrades

            Dear

            I reflashed and now the display stays lit for about 4 seconds and then display and led turns off.

            Keep in mind that my files ransistorTester.hex are from




            Code:
            C:\AVR>avrdude -c USBasp -P usb -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.01s
            
            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% 19.04s
            
            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% 10.39s
            
            avrdude: verifying ...
            avrdude: 29952 bytes of flash verified
            
            avrdude: safemode: Fuses OK (E:01, H:DF, L:F7)
            
            avrdude done.  Thank you.
            Last edited by Per Hansson; 07-23-2016, 12:49 PM. Reason: Added CODE tags

            Comment


              Re: ESR meter upgrades

              it's not programming your H & E fuses.

              Comment


                Re: ESR meter upgrades

                try just typing these individually:

                avrdude -c USBasp -P usb -p m328p -U lfuse:w:0xf7:m

                avrdude -c USBasp -P usb -p m328p -U hfuse:w:0xd9:m

                avrdude -c USBasp -P usb -p m328p -U efuse:w:0xfc:m

                Comment


                  Re: ESR meter upgrades

                  Would you advice for me to use a blank chip?
                  Maybe the chip is broken
                  How do I verify if it's programming the fuses or not?

                  Thanks again
                  Belen

                  Comment


                    Re: ESR meter upgrades

                    Code:
                    C:\AVR>avrdude -c USBasp -P usb -p m328p -U lfuse:w:0xf7:m
                    
                    avrdude: AVR device initialized and ready to accept instructions
                    
                    Reading | ################################################## | 100% 0.01s
                    
                    avrdude: Device signature = 0x1e950f
                    avrdude: reading input file "0xf7"
                    avrdude: writing lfuse (1 bytes):
                    
                    Writing | ################################################## | 100% 0.01s
                    
                    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.00s
                    
                    avrdude: verifying ...
                    avrdude: 1 bytes of lfuse verified
                    
                    avrdude: safemode: Fuses OK (E:01, H:DF, L:F7)
                    
                    avrdude done.  Thank you.

                    Code:
                    C:\AVR>avrdude -c USBasp -P usb -p m328p -U hfuse:w:0xd9:m
                    
                    avrdude: AVR device initialized and ready to accept instructions
                    
                    Reading | ################################################## | 100% 0.01s
                    
                    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.00s
                    
                    avrdude: verifying ...
                    avrdude: 1 bytes of hfuse verified
                    
                    avrdude: safemode: Fuses OK (E:01, H:D9, L:F7)
                    
                    avrdude done.  Thank you.

                    Code:
                    C:\AVR>avrdude -c USBasp -P usb -p m328p -U efuse:w:0xfc:m
                    
                    avrdude: AVR device initialized and ready to accept instructions
                    
                    Reading | ################################################## | 100% 0.01s
                    
                    avrdude: Device signature = 0x1e950f
                    avrdude: reading input file "0xfc"
                    avrdude: writing efuse (1 bytes):
                    
                    Writing |                                                    | 0% 0.00s ***faile
                    d;
                    Writing | ################################################## | 100% 0.04s
                    
                    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.00s
                    
                    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
                    And it does nothing else...

                    APPARENTLY last fuse can not be written

                    I'm going to use a blank ship and I will report back
                    Thanks again
                    Last edited by Per Hansson; 07-23-2016, 12:51 PM. Reason: Added CODE tags

                    Comment


                      Re: ESR meter upgrades

                      This is crazy
                      I have changed for a blank chip and now it says
                      Code:
                      C:\AVR>avrdude -c USBasp -P usb -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: error: programm enable: target doesn't answer. 1
                      avrdude: initialization failed, rc=-1
                               Double check connections and try again, or use -F to override
                               this check.
                      
                      
                      avrdude done.  Thank you.
                      I'm going to use an Arduino as ISP programmer and report back
                      Last edited by Per Hansson; 07-23-2016, 12:51 PM. Reason: Added CODE tags

                      Comment


                        Re: ESR meter upgrades

                        I'm getting a bit frustrated in here...
                        With arduino as ISP programmer both the chip that came with the tester and a new black chip I get this

                        Code:
                        C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
                        conf -c avrisp -P COM3 -b 19200 -p m8 -U flash:w:TransistorTester.hex \-U eeprom
                        :w:TransistorTester.eep \-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.04s
                        
                        avrdude: Device signature = 0x000000 (retrying)
                        
                        Reading | ################################################## | 100% 0.03s
                        
                        avrdude: Device signature = 0x000000 (retrying)
                        
                        Reading | ################################################## | 100% 0.04s
                        
                        avrdude: Device signature = 0x000000
                        avrdude: Yikes!  Invalid device signature.
                                 Double check connections and try again, or use -F to override
                                 this check.
                        
                        
                        avrdude done.  Thank you.
                        Last edited by Per Hansson; 07-23-2016, 12:52 PM. Reason: Added CODE tags

                        Comment


                          Re: ESR meter upgrades

                          Originally posted by bmht View Post
                          I'm getting a bit frustrated in here...
                          With arduino as ISP programmer both the chip that came with the tester and a new black chip I get this

                          C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
                          conf -c avrisp -P COM3 -b 19200 -p m8 -U flash:w:TransistorTester.hex \-U eeprom
                          :w:TransistorTester.eep \-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.04s

                          avrdude: Device signature = 0x000000 (retrying)

                          Reading | ################################################## | 100% 0.03s

                          avrdude: Device signature = 0x000000 (retrying)

                          Reading | ################################################## | 100% 0.04s

                          avrdude: Device signature = 0x000000
                          avrdude: Yikes! Invalid device signature.
                          Double check connections and try again, or use -F to override
                          this check.


                          avrdude done. Thank you.
                          sorry but i have not used avrdude etc yet for my ic i used a tl866 programmer the only other way that may work is adding the header and soldering wires direct to the ic socket etc, stj has some pictures regarding this as im also going to try programming this way myself in the future using avrdude etc but im reading up on the programming side of things at the minute.
                          just a thought with your crystal are you using 22pf capacitors as well? when your programming the ic
                          Last edited by vinceroger69; 07-23-2016, 10:37 AM.

                          Comment


                            Re: ESR meter upgrades

                            this is exactly the type of bullshit that happens when people try to program chips off-board instead of in-circuit.

                            btw:
                            C:\AVR>avrdude -c USBasp -P usb -p m328p -U efuse:w:0xfc:m

                            avrdude: AVR device initialized and ready to accept instructions

                            Reading | ################################################## | 100% 0.01s

                            avrdude: Device signature = 0x1e950f
                            avrdude: reading input file "0xfc"
                            avrdude: writing efuse (1 bytes):

                            Writing | | 0% 0.00s ***faile
                            d;
                            Writing | ################################################## | 100% 0.04s

                            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.00s

                            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
                            is a newer chip, 04 instead of FC is fine.

                            so with that chip, do:
                            avrdude -c USBasp -P usb -p m328p -U efuse:w:0x04:m

                            Comment


                              Re: ESR meter upgrades

                              I rebooted the computer and connected the arduino to another USB port and now I'm getting this using Arduino ISP as programmer.

                              Code:
                              C:\Program Files (x86)\Arduino\hardware\tools\avr\bin>avrdude -C ../etc/avrdude.
                              conf -c avrisp -P COM3 -b 19200 -B8 -p m8 -U flash:w:TransistorTester.hex \-U ee
                              prom:w:TransistorTester.eep \-U lfuse:w:0xf7:m \-U hfuse:w:0xd9:m \-U efuse:w:0x
                              fc:m
                              
                              avrdude: AVR device initialized and ready to accept instructions
                              
                              Reading | ################################################## | 100% 0.04s
                              
                              avrdude: Device signature = 0x1e950f
                              avrdude: Expected signature for ATmega8 is 1E 93 07
                                       Double check chip, or use -F to override this check.
                              
                              avrdude done.  Thank you.
                              Last edited by Per Hansson; 07-23-2016, 12:53 PM. Reason: Added CODE tags

                              Comment


                                Re: ESR meter upgrades

                                Originally posted by stj View Post
                                this is exactly the type of bullshit that happens when people try to program chips off-board instead of in-circuit.
                                Dear sjt I really appreciate all your help and I'm sorry if I seem stupid or dumb in here.
                                I'm trying to learn in here and I got no clue of AVR programming besides arduino. I'm learning and reading as much as I can to be able to fix this issue.

                                To be able to program the chip in circuit I believe I would either have to solder some wires to the chip or have an ICSP header on the circuit right? which I do not have in this circuit.

                                Thanks again for all your help
                                Belen
                                Last edited by Per Hansson; 07-23-2016, 12:44 PM. Reason: fixed quote

                                Comment

                                Working...
                                X