LCR T7 tester problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Per Hansson
    Super Moderator
    • Jul 2005
    • 5895
    • Sweden

    #41
    Re: LCR T7 tester problem

    Your fuse map should be this according to the Fish-8840.zip file attached by stj if you are trying to load the "original" firmware:
    Extended: 0xFF (Or 0x07 it depends on the program version how it reads the map, everything should be disabled)
    High: 0xD9
    Low: 0xE2

    If you look in your picture the "high" fuse map is already 0xD9 and extended map is 0x07
    So you only need to change the "low" map by deselecting "CKDIV8"
    Verify that this changes the low fuse map value at the top from 0x62 to 0xE2
    If it does you can program the fuse map.
    Last edited by Per Hansson; 03-19-2023, 02:14 AM.
    "The one who says it cannot be done should never interrupt the one who is doing it."

    Comment

    • harp
      Badcaps Veteran
      • Jun 2022
      • 595
      • Planet Earth

      #42
      Re: LCR T7 tester problem

      Huston we are gota problem...

      I set that low fuse to E2, and connect display and test.
      With avrch341a I can not verify flash, say some error... next I get Neo, but he even not try to program, only noted verification problem on 0x2, some time later 0x6, 0x14, 0x5... random.
      With neo even when blank erase the chip it want to program it... verification error... say... wtf?

      With avrch341a I can program it, without error and without verification passed, but LCR is not work properly, print splash logo with some offset and stuck with some big character who is separate with space...
      I try to many time, but not go anywhere...
      My first avr... oh...

      BTW, on avrch341a read fuse 0x07 0xD9 0xE2
      but with neo read 0xFF 0xD9 0xE2... unreliable or what?

      Comment

      • harp
        Badcaps Veteran
        • Jun 2022
        • 595
        • Planet Earth

        #43
        Re: LCR T7 tester problem

        Every time I had to program avr with original firmware, the returned readed hex is simmilar but not the same. The crc32 are completly different, every time randomly, with random verify error.
        Last time, I got dots on screen... before it was some big letters...
        I was measure voltage when reading, programming, but it not fluctate so much, 3.292 - 3.294... the ams1117-3.3 is capable of about 1A.
        I double check every wire, connection, soldering, everything is nice and ok. On pin #5 is some dust, not connection no worry, no shorts or low resistance between pins.
        What can cause that behaveous, its partialy work, I mean he programs something simmilar, and that is readable again... is this seen before!?
        I am greatly conserned about Neo, he even not try to program... must be a some major mistake?
        Attached Files

        Comment

        • Per Hansson
          Super Moderator
          • Jul 2005
          • 5895
          • Sweden

          #44
          Re: LCR T7 tester problem

          If you are powering the device via the programming header try to disconnect the VCC cable (but leave ground connected!)
          Then power the device via the normal battery.
          I do it like this when I program mine: I do have to hold the "test" button pressed to keep it powered and in reset this way, it is worth a try.
          Because 3.3v is the wrong voltage, the Atmega is a 5v device...
          "The one who says it cannot be done should never interrupt the one who is doing it."

          Comment

          • harp
            Badcaps Veteran
            • Jun 2022
            • 595
            • Planet Earth

            #45
            Re: LCR T7 tester problem

            ● Operating voltage:
            ● 2.7V to 5.5V for ATmega328P

            Is this mean that programming is only possible on 5v?
            I was thinking that 3.3v is ok...
            I will connect 5v rail from ch341a (from usb), there is a free 5v pin, this pin to icsp headerof LCR.
            Thanks, I'll try

            Comment

            • Per Hansson
              Super Moderator
              • Jul 2005
              • 5895
              • Sweden

              #46
              Re: LCR T7 tester problem

              Sorry I remembered wrong, the Atmega328 requires VCC to be 5v if you run it at 16Mhz. (I run mine at 16Mhz and 20Mhz).
              At 8Mhz VCC can be down to 2.7v:


              I'll try to explain the difference in extended fuse map value 0xFF vs 0x07.
              Valid fuse maps are 3 bits long as shown in the picture below.
              The value FF in hexadecimal is 11111111 in binary.
              The value 07 in hexadecimal is 111 in binary.
              So they will be interpreted by the chip the same way, it just depends on the program you use...



              But the reason the programming fails could still be the BODLEVEL being enabled if you program at 3.3v.
              So try it at 5v and see if it will work...
              Attached Files
              Last edited by Per Hansson; 03-22-2023, 03:32 PM.
              "The one who says it cannot be done should never interrupt the one who is doing it."

              Comment

              • harp
                Badcaps Veteran
                • Jun 2022
                • 595
                • Planet Earth

                #47
                Re: LCR T7 tester problem

                I hook up AVR on 5v, but everything is stay the same:
                - in avrch341a I can programm ic but verify fail
                - in neo I can not program... but can read, erase... verify also fail

                Is it possible that the chip is faulty at that point to can programm, hold this code, but random mix few bites...? Hard, very hard to believe...
                I post a hex code saved from chip, but I havent user friendly hex editor to easely see what is different from original hex and is it always problem on same address...

                I dont know, I not buy another ic
                any suggestion... for testing what is wrong here?
                Attached Files

                Comment

                • harp
                  Badcaps Veteran
                  • Jun 2022
                  • 595
                  • Planet Earth

                  #48
                  Re: LCR T7 tester problem

                  This is insane... absolutely insane...
                  Now I dont want to burn firmware, but testing hex file.
                  I create hex file with AA AA content...
                  Proggram ic with that, and read it... save it.
                  burn it again... read it, save it...
                  and again.
                  Erase the chip, then again burn it read it and save...

                  I do same with original file too...

                  Sooo... is there some explanation why I cant program what I have and why is not reliable???
                  Maybe some component on some avr pin do interference with programmer, if that may cause that I can remove component just say what...
                  Attached Files

                  Comment

                  • Per Hansson
                    Super Moderator
                    • Jul 2005
                    • 5895
                    • Sweden

                    #49
                    Re: LCR T7 tester problem

                    You can use Notepad++ to compare the Hex files.
                    It is hard for me to say what is going wrong as I don't know what you change for the different hex files.
                    But the errors seem to occur on repeating positions in the code when I compare the different files.
                    What does the "Clock" thing do in NeoProgrammer? Your chip runs at 8MHz.
                    Last edited by Per Hansson; 03-23-2023, 12:41 PM.
                    "The one who says it cannot be done should never interrupt the one who is doing it."

                    Comment

                    • harp
                      Badcaps Veteran
                      • Jun 2022
                      • 595
                      • Planet Earth

                      #50
                      Re: LCR T7 tester problem

                      Generally I dont change anything, just try to program original hex file or test file with AA content to see how can store that content on chip...
                      Logicaly after burning it must be the same, that is purpose of this hw and sw...
                      ... the 4th time its almost do the job, but its a mess...

                      I can not trust this setup at all, and I think that the problem is only on my setup. Cant find any info for troubleshooting avr with ch341a or neo... how to know is the chip working, why is difference between software who supose to doing the same thing on same device etc...

                      Clock thing?
                      I dont know... I only have to choose from 4 listed frequency, I cant add 8MHz... what is that clock means, why is in kHz etc, I dont know...
                      Attached Files
                      Last edited by harp; 03-23-2023, 03:48 PM.

                      Comment

                      • lotas
                        Badcaps Legend
                        • Jan 2016
                        • 4499
                        • Russia

                        #51
                        Re: LCR T7 tester problem

                        Try this program (CH341A).

                        CH341 ATMEGA

                        MOSI -> MOSI
                        MISO -> MISO
                        CLK -> SCK
                        CS -> RESET
                        + -> +VCC
                        - -> -GND
                        Attached Files

                        Comment

                        • harp
                          Badcaps Veteran
                          • Jun 2022
                          • 595
                          • Planet Earth

                          #52
                          Re: LCR T7 tester problem

                          Originally posted by Per Hansson
                          Your chip runs at 8MHz.
                          Does he? How I can measure that to be shure?
                          Thank you lotas, but I think that the problem is not in software.
                          I download it and I try later. It is usefull to have different software for same hardware!

                          I have multimeter with "Hz mode" but cant got any reading on crystal legs. How supose this oscilator works, all the time is on or must bi initialized by program? I have measure between gnd and xtal pin #1 or gnd and pin #2... nothing there...? 50Hz humm...
                          But how it is possible to program anything to it, if its not running?
                          If clock signal from proggramer is enough to store data why is saved program always different... oh...

                          Please, confirm me how to proper measure frequency, till now I think that this xtal is undestroyedable in any way

                          Comment

                          • harp
                            Badcaps Veteran
                            • Jun 2022
                            • 595
                            • Planet Earth

                            #53
                            Re: LCR T7 tester problem

                            LOL, it work
                            After 3 weak of torture little chip, hopeing and 100000 plug'n'pray... it friking work on russian way! Awesome

                            Thank you again lotas for suggestion, and author of siberiaprog... it work!

                            I am replacing the crystal, but didnt help - after "erase" the chip with neo, readed data have almost 5% FE content over FF...
                            It was silence, 3am, my laptop is on, and I with smileish on face thinking... what about just try that russian thing... they are fameous in world like they think and made crude, robust, rigid, reliable (with some punch of hammer) things... and supprise... LOL
                            I finaly can write and verify passed with no error!
                            I rewrite eeprom and check the fuse...

                            Also, the install of siberiaprog is proper fancy... with music, idilical picture, a bunch of nothing understanding (russian) text... just cliking right arrow... simple as that

                            The avrdudess I cant tested yet, it missing some big component, like .net framework... but maybe it will work too... I am be glad if future experience of other ch341a user will be documented here, if it work, also if it not work, or howto overcome device to work.

                            Ok, I hope that from my point of view, total beginer in avr, this content will provide some help, hint or guideline to other with no experiance, thank you all for help!
                            Attached Files

                            Comment

                            • seifaldenn
                              Member
                              • Apr 2019
                              • 40
                              • Egebt

                              #54
                              Re: LCR T7 tester problem

                              Originally posted by lotas
                              1. Getting ready to flash the U4 power controller. We solder the USB-UART converter with a stabilizer to the board.
                              (3.3V to 3.3V, Gnd to Gnd, Tx to P1, Rx to P2).
                              2. We connect the converter, wait for it to be detected by the system, launch the software, select the com-port, select the firmware from the archive (p. 1), set the frequency to 12 MHz, apply power, the processor starts, does not go into boot mode, is not detected by the programmer .
                              3. Experimenting with the sequence of power supply to the processor and pressing the "Check MCU" & "Download/Program" buttons.
                              4. We study the datasheet on U4, we find that the Test button of the tester is connected to the Reset output. Click "Check MCU", click the Test button, the microcontroller resets and is detected. In the same way, we launch the firmware, and finally, we flash U4.
                              Can you solve my problem
                              https://www.badcaps.net/forum/showth...98#post1224598

                              Comment

                              • harp
                                Badcaps Veteran
                                • Jun 2022
                                • 595
                                • Planet Earth

                                #55
                                Re: LCR T7 tester problem

                                As a video supplement to this topic...

                                https://www.youtube.com/watch?v=-qF2ldgfRiw
                                Replacing and programming the ATmega328P chip with the BIOS programmer CH341A #2318

                                Comment

                                Related Topics

                                Collapse

                                • theone111
                                  Problem with LG Plasma 60PM6700 - Random power downs
                                  by theone111
                                  I have an LG Plasma TV 60PM6700 for the past ~12 years.

                                  In the last ~3-4 months I have been having some issues.
                                  1. Problem: It started with random picture disappearing (sound still worked).
                                    Frequency: Happened about once a week.
                                    Solution: Had to turn off TV wait a few seconds before turning it on again.
                                  2. Problem: Then it got worse and the TV started to shut down and when turning on the no picture just sound.
                                    Frequency: Happened about once a week.
                                    Solution: Had to turn off TV wait about 10-20 seconds and turn it on again to solve.
                                  3. Problem: TV shuts down
                                  ...
                                  07-22-2024, 10:36 AM
                                • seifaldenn
                                  LCR T7 tester problem short
                                  by seifaldenn
                                  LCR T7 tester problem short( dz2---v05 )
                                  you changed v05 working now Not a fixed measurement
                                  Any measurement out 2.95v
                                  Kim can solve the problem out 2.95v ...
                                  03-29-2023, 06:57 AM
                                • Zeonalbasta
                                  Thinkpad X1 Carbon "LMQ-1MB 12298-2 48.4LY26.021" VCC3M problem
                                  by Zeonalbasta
                                  i have a problem with thinkpad X1 carbon gen 2 "LMQ-1MB 12298-2 48.4LY26.021"
                                  The laptop was turned off because the MOSFET was not transmitting voltage. After checking it turned out that the gate pin on the MOSFET was the problem, because it was producing an inappropriate voltage. and it was discovered that the problem was with the Think engine, so I decided to reprint each pin, and finally the mosfet could work properly. However, there is another problem, even though the voltage has been supplied to the laptop, it still won't turn on, there isn't even an LED indicator. After double...
                                  09-13-2024, 01:17 PM
                                • Gibon378
                                  Problem with stopping audio and video for no reason
                                  by Gibon378
                                  PC Specs:
                                  • CPU: Ryzen 5 1600
                                  • GPU: GTX 1080 Palit JetStream
                                  • MOBO: ASRock ab350 PRO4
                                  • RAM: Crucial Ballistix Sport 2x8GB 3000MHz (XMP 2.0)
                                  • PSU: XFX 650W (don't remember what model)
                                  • OS SSD: ADATA SP920
                                  • OS: Windows 10 21H2


                                  Problem description:
                                  Hi. I have a problem that has been going on for some time (2-3 years). It's hard to explain what it really is. Sometimes, my computer stops playing music, stops videos (starts buffering on youtube), there is no sound in games and when I minimize the game window and return to the game there is a black screen with window borders...
                                  11-19-2022, 09:41 AM
                                • perzyk23
                                  Lenovo T580 - LCD Panel problem - error 0288
                                  by perzyk23
                                  Good morning,
                                  I have a problem with Lenovo T580, which after error code 0288 suggests a problem with the display. I checked the display and it works on another laptop. I replaced the display cable with a new one. I programmed another BIOS (downloaded from this forum) and I still have the problem of a dead display - there is an image via HDMI, and the system does not detect the built-in LCD at all. The problem appears to be hardware. What can I check to confirm or disprove this? I found many threads on the Internet related to this problem 0288, but without specific solutions. Please advise....
                                  10-25-2024, 12:42 AM
                                • Loading...
                                • No more items.
                                Working...