Author Topic: $20 LCR ESR Transistor checker project  (Read 3451606 times)

jellytot and 9 Guests are viewing this topic.

Offline daemon123

  • Contributor
  • Posts: 16
  • Country: pk
Re: $20 LCR ESR Transistor checker project
« Reply #5775 on: August 12, 2019, 02:29:25 pm »
Hi
I have this LCR-T4 which i bricked previously by messing with fuse bits and installing latest software
here is the link to post: https://www.eevblog.com/forum/testgear/$20-lcr-esr-transistor-checker-project/msg1860888/#msg1860888

since i dont have high voltage programmer to reset the chip, so i bought another chip
but this one is updated one i.e. m328pb
installed the chip on the board and flashed this firmware https://github.com/svn2github/transistortester/tree/master/Software/trunk/mega328_T4_v2_st7565
but i only get backlight and no display
since i dont want to mess with fuse bit on my own so am aking here, what will be the proper fuse settings  for Atmega 328pb version ?

here is the flash log

Code: [Select]
avrdude -c avrisp -b 19200 -p m328pb -P COM7 -U flash:w:TransistorTester.hex:a -U eeprom:w:TransistorTester.eep:a -v

avrdude: Version 6.3-20171130
         Copyright (c) 2000-2005 Brian Dean, [url]http://www.bdmicro.com/[/url]
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf"

         Using Port                    : COM7
         Using Programmer              : avrisp
         Overriding Baud Rate          : 19200
         AVR Part                      : ATmega328PB
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : STK500
         Description     : Atmel AVR ISP
         Hardware Version: 2
         Firmware Version: 1.18
         Topcard         : Unknown
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.05s

avrdude: Device signature = 0x1e9516 (probably m328pb)
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as DA
avrdude: safemode: efuse reads as FD
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         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 (29732 bytes):

Writing | ################################################## | 100% 33.26s

avrdude: 29732 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 29732 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 18.99s

avrdude: verifying ...
avrdude: 29732 bytes of flash verified
avrdude: reading input file "TransistorTester.eep"
avrdude: input file TransistorTester.eep auto detected as Intel Hex
avrdude: writing eeprom (857 bytes):

Writing | ################################################## | 100% 42.28s

avrdude: 857 bytes of eeprom written
avrdude: verifying eeprom memory against TransistorTester.eep:
avrdude: load data eeprom data from input file TransistorTester.eep:
avrdude: input file TransistorTester.eep auto detected as Intel Hex
avrdude: input file TransistorTester.eep contains 857 bytes
avrdude: reading on-chip eeprom data:

Reading | ################################################## | 100% 3.46s

avrdude: verifying ...
avrdude: 857 bytes of eeprom verified

avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as DA
avrdude: safemode: efuse reads as FD
avrdude: safemode: Fuses OK (E:FD, H:DA, L:FF)

avrdude done.  Thank you.

 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5776 on: August 12, 2019, 04:58:22 pm »
The only difference is the CFD (disable counter failure detection) bit in the e-fuse, i.e. F4 instead of FC.
 
The following users thanked this post: daemon123

Offline daemon123

  • Contributor
  • Posts: 16
  • Country: pk
Re: $20 LCR ESR Transistor checker project
« Reply #5777 on: August 12, 2019, 07:17:01 pm »
The only difference is the CFD (disable counter failure detection) bit in the e-fuse, i.e. F4 instead of FC.

thanks for the fuse settings, have updated fuses and the chip is not bricked as yet :)
but have the same problem, after flashing the firmware and eep file, it turns only backlight on and no display. Is this another variant ?


uploading old pics when it had working chip
 

Offline Per Hansson

  • Supporter
  • ****
  • Posts: 428
  • Country: se
 
The following users thanked this post: 001, daemon123

Offline 001

  • Super Contributor
  • ***
  • Posts: 1170
  • Country: aq
Re: $20 LCR ESR Transistor checker project
« Reply #5779 on: August 13, 2019, 07:03:33 am »
Does BSIDE tester has any benefits vs MK-328 model?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5780 on: August 13, 2019, 02:42:23 pm »
The pinout of the PB version is different:

Slightly, but PE (especially PE0 and PE1) should be in HiZ mode by default. Or try to lift the two pins.
 
The following users thanked this post: daemon123

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5781 on: August 13, 2019, 03:29:50 pm »
thanks for the fuse settings, have updated fuses and the chip is not bricked as yet :)
but have the same problem, after flashing the firmware and eep file, it turns only backlight on and no display. Is this another variant ?

Does the oscillator run?
 
The following users thanked this post: daemon123

Offline daemon123

  • Contributor
  • Posts: 16
  • Country: pk
Re: $20 LCR ESR Transistor checker project
« Reply #5782 on: August 13, 2019, 03:31:51 pm »
Does the oscillator run?

will try lifting the pins later today. 
I dont know how to check if oscillator is running ?
but i am able to program the chip from ISP programmer

edit:
i have pulled the chip from arduino nano, have checked on that board, pin 3 is connected to gnd and pin 6 to vccc (5v) as usual and no changes were made on that board.
 

Offline macinblack

  • Newbie
  • Posts: 9
  • Country: pt
Re: $20 LCR ESR Transistor checker project
« Reply #5783 on: August 14, 2019, 01:43:29 pm »
Hello everyone, can someone share the lastest firmware (hex) and EEPROM 1.36m compiled of this transistor test? I tried to upload with avrdudess the gm328 color kit firmware of atmega328p but without success...
 
« Last Edit: August 14, 2019, 01:45:02 pm by macinblack »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5784 on: August 14, 2019, 02:38:45 pm »
Does the oscillator run?

will try lifting the pins later today. 
I dont know how to check if oscillator is running ?
but i am able to program the chip from ISP programmer

If you're able to program the ATmega via ISP then the oscillator is running.
 
The following users thanked this post: daemon123

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5785 on: August 14, 2019, 02:43:50 pm »
Hello everyone, can someone share the lastest firmware (hex) and EEPROM 1.36m compiled of this transistor test? I tried to upload with avrdudess the gm328 color kit firmware of atmega328p but without success...

Your tester is an AY-AT clone.
 
The following users thanked this post: macinblack

Offline macinblack

  • Newbie
  • Posts: 9
  • Country: pt
Re: $20 LCR ESR Transistor checker project
« Reply #5786 on: August 14, 2019, 06:38:28 pm »
Bu can I upload the firmware 1.36m? or just the original 1.12k? In this moment it's totally useless without any of both.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5787 on: August 14, 2019, 06:54:31 pm »
If you like to run the k-firmware please try mega328_color_kit. For the m-firmware you need to compile it yourself (settings for the AY-AT clone are explained in the Clones file).
 

Offline towe96

  • Contributor
  • Posts: 17
  • Country: de
Re: $20 LCR ESR Transistor checker project
« Reply #5788 on: August 15, 2019, 02:30:43 pm »
I have the exact same device and flashed 1.36m the day it came out - works well so far.

Please see the attached files.
 

Offline mastermind

  • Newbie
  • Posts: 6
  • Country: ir
Re: $20 LCR ESR Transistor checker project
« Reply #5789 on: August 16, 2019, 09:11:39 am »
hi
i have lcr-t4 and update firmware and device not turn on .lcd blank and back-light dont turn on.the avrdude now cannot found device with this message
  avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: error: program enable: target doesn't answer. 1
avrdude.exe: initialization failed, rc=-1
             Double check connections and try again, or use -F to override
             this check.

whats problem??my device is new
tnx
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5790 on: August 16, 2019, 10:24:05 am »
Does the backlight stay on as long as you press the test button? Or does it stay off even when pressing the button?
« Last Edit: August 16, 2019, 10:25:41 am by madires »
 

Offline mastermind

  • Newbie
  • Posts: 6
  • Country: ir
Re: $20 LCR ESR Transistor checker project
« Reply #5791 on: August 16, 2019, 01:20:51 pm »
Does the backlight stay on as long as you press the test button? Or does it stay off even when pressing the button?
no,the backlight doesn't turn on.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5792 on: August 16, 2019, 04:11:05 pm »
Which firmware have you programmed?
 

Offline mastermind

  • Newbie
  • Posts: 6
  • Country: ir
Re: $20 LCR ESR Transistor checker project
« Reply #5793 on: August 16, 2019, 04:18:40 pm »
Which firmware have you programmed?
LCR-Tx_v1.12k_r453_EN file eep and hex .how can i check if avr broken or other part?
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5794 on: August 16, 2019, 05:10:57 pm »
Do you have the new version of the T4 (v2)? Please try mega328_T4_v2_st7565.
 

Offline mastermind

  • Newbie
  • Posts: 6
  • Country: ir
Re: $20 LCR ESR Transistor checker project
« Reply #5795 on: August 16, 2019, 05:28:34 pm »
Do you have the new version of the T4 (v2)? Please try mega328_T4_v2_st7565.
my problem now is the avr programmer do not recognize device to reprogram it again   
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5796 on: August 16, 2019, 06:08:37 pm »
Have you changed any fuse bits?
 

Offline mastermind

  • Newbie
  • Posts: 6
  • Country: ir
Re: $20 LCR ESR Transistor checker project
« Reply #5797 on: August 16, 2019, 06:20:15 pm »
Have you changed any fuse bits?
yes
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 7767
  • Country: de
  • A qualified hobbyist ;)
Re: $20 LCR ESR Transistor checker project
« Reply #5798 on: August 16, 2019, 07:04:26 pm »
And which ones?
 

Offline mastermind

  • Newbie
  • Posts: 6
  • Country: ir
Re: $20 LCR ESR Transistor checker project
« Reply #5799 on: August 17, 2019, 06:10:04 am »
And which ones?
tnx for your help, unfortunately i dont remember
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf