LCD is fully "on", V5 gives incorrect voltage

Anything about this unique oscilloscope DIY kit
Post Reply
sj9225
Posts: 6
Joined: Wed May 16, 2018 9:17 pm

LCD is fully "on", V5 gives incorrect voltage

Post by sj9225 »

Hi all,

Power-up test 1 worked, so I proceeded to remove the short at JP2, closed JP9, and installed the LCD panel. I can turn on the LCD and it illuminates, but every segment is dark--there are a couple symbols in the top right corner, and the rest of the screen is colored in. I get one LED beep when I press SW12, so I trust the bootloader is present, but I don't get the two subsequent beeps. I cannot get the device to connect with AVRUBD.

I used an analogue voltmeter, so I don't have exact measurements at each test point, but here they are roughly:

+5V: 5
V-: -5
V5: -3.3 or +3.5
AV+: 5
AV-: -5
V3: 0
V2: 0
V4: 0
VB: 0.6
VT: 2.6
V1: 0
VA: 5
LCD Pin 18: -5
SYSCLK: 2.5
VS+: 4.2 (While powered from USB)

These measurements were taken with all BOB boards soldered in. I tried removing BOB3 and closing JP2, but that made no difference.

Any insight would be much appreciated!
jye1
Posts: 1221
Joined: Wed Feb 20, 2013 4:58 pm

Re: LCD is fully "on", V5 gives incorrect voltage

Post by jye1 »

All the voltages look okay except V4. V5 is not critical and can be the voltages you measured. Since LCD is only related to digital circuits voltages on the analog part have no impact on LCD. Have you tried adjust POT1 for correct contrast of LCD? Please adjust it if you haven't.
sj9225
Posts: 6
Joined: Wed May 16, 2018 9:17 pm

Re: LCD is fully "on", V5 gives incorrect voltage

Post by sj9225 »

Thank you for the reply. I re-tested the voltages this morning and V4 was at 1.639 V. I must have mis-probed it yesterday :)

Adjusting the potentiometer changes the contrast of the LCD screen, but it continues to darken all the crystals. The LCD backlight is on as expected.

Image

Image
sj9225
Posts: 6
Joined: Wed May 16, 2018 9:17 pm

Re: LCD is fully "on", V5 gives incorrect voltage

Post by sj9225 »

When I press SW12, it only flashes once (to indicate the bootloader exists), and does not flash twice more as expected. I have tried to connect to the board using AVRUBD, but I'm not sure I'm doing it right. If I don't press any buttons, the program will try to connect 50 (or 100) times and then fail. When I push SW12 during this process, it appears to transfer three bytes, but doesn't proceed. I have SW1 set to GND, SW2 set to 10mV, and SW3 set to X1.

I've attached the log output from AVRUBD.exe when I do this. The "42 4C 0D" lines correspond to when I push SW12. Please ask if you have questions, or suggestions for what I'm doing wrong.

Code: Select all

V Loading file success:     [C:\113-06208-102.hex]
> File length:              0x6B00/27392
> Flash size:               0x10000/65536
> Buffer size:              0x6B00/27392

> Start download
$ Send reset command: [7E]
> Start connect
$ <1> Send connect key: 64 
$ <2> Send connect key: 64 
$ <3> Send connect key: 64 
$ <4> Send connect key: 64 
$ <5> Send connect key: 64 
$ <6> Send connect key: 64 
$ <7> Send connect key: 64 
$ <8> Send connect key: 64 
$ <9> Send connect key: 64 
$ <10> Send connect key: 64 
$ <11> Send connect key: 64 
$ <12> Send connect key: 64 
: 42 4C                                   BL
: 0D                                      .
$ <13> Send connect key: 64 
$ <14> Send connect key: 64 
$ <15> Send connect key: 64 
$ <16> Send connect key: 64 
$ <17> Send connect key: 64 
: 42 4C 0D                                BL.
$ <18> Send connect key: 64 
$ <19> Send connect key: 64 
$ <20> Send connect key: 64 
$ <21> Send connect key: 64 
$ <22> Send connect key: 64 
: 42 4C 0D                                BL.
$ <23> Send connect key: 64 
$ <24> Send connect key: 64 
: 42 4C                                   BL
: 0D                                      .
$ <25> Send connect key: 64 
$ <26> Send connect key: 64 
$ <27> Send connect key: 64 
$ <28> Send connect key: 64 
$ <29> Send connect key: 64 
: 42 4C                                   BL
: 0D                                      .
$ <30> Send connect key: 64 
$ <31> Send connect key: 64 
$ <32> Send connect key: 64 
$ <33> Send connect key: 64 
$ <34> Send connect key: 64 
: 42 4C                                   BL
: 0D                                      .
$ <35> Send connect key: 64 
$ <36> Send connect key: 64 
: 42 4C                                   BL
: 0D                                      .
$ <37> Send connect key: 64 
$ <38> Send connect key: 64 
$ <39> Send connect key: 64 
: 42 4C                                   BL
: 0D                                      .
$ <40> Send connect key: 64 
: 42 4C                                   BL
: 0D                                      .
$ <41> Send connect key: 64 
$ <42> Send connect key: 64 
: 42 4C 0D                                BL.
$ <43> Send connect key: 64 
$ <44> Send connect key: 64 
$ <45> Send connect key: 64 
$ <46> Send connect key: 64 
: 42 4C                                   BL
: 0D                                      .
$ <47> Send connect key: 64 
$ <48> Send connect key: 64 
$ <49> Send connect key: 64 
: 42 4C                                   BL
: 0D                                      .
$ <50> Send connect key: 64 
X Connect fail
jye1
Posts: 1221
Joined: Wed Feb 20, 2013 4:58 pm

Re: LCD is fully "on", V5 gives incorrect voltage

Post by jye1 »

For the LCD issue did you see any contrast change when POT1 was adjusted? If you didn't see that please check the voltage at LCD pin 3 to see if it changes as you adjust POT1. This voltage should change when POT is turned.

For the booloader please try the other way, i.e. pressing SW12 first then click the download button right away.
sj9225
Posts: 6
Joined: Wed May 16, 2018 9:17 pm

Re: LCD is fully "on", V5 gives incorrect voltage

Post by sj9225 »

Thank you for the reply. Adjusting POT1 changes the contrast of the display correctly. The pixels that are "on" do not change, just the contrast.

I tried pressing SW12 before the download button on AVRUBD. Repeated this many times, always fails to connect. Here are my settings.
Image
jye1
Posts: 1221
Joined: Wed Feb 20, 2013 4:58 pm

Re: LCD is fully "on", V5 gives incorrect voltage

Post by jye1 »

Can you try un-check the box "Send reset command" and change "Maximum connect count" to 100?
sj9225
Posts: 6
Joined: Wed May 16, 2018 9:17 pm

Re: LCD is fully "on", V5 gives incorrect voltage

Post by sj9225 »

Unfortunately, the same connection issue. Do you think it would help if I re-programmed U4 and/or U5?

Code: Select all

V Loading file success:     [C:\113-06208-102.hex]
> File length:              0x6B00/27392
> Flash size:               0x10000/65536
> Buffer size:              0x6B00/27392

> Start download
> Start connect
$ <1> Send connect key: 64 
: 42 4C 0D                                BL.
$ <2> Send connect key: 64 
$ <3> Send connect key: 64 
$ <4> Send connect key: 64 
$ <5> Send connect key: 64 
$ <6> Send connect key: 64 
$ <7> Send connect key: 64 
$ <8> Send connect key: 64 
$ <9> Send connect key: 64 
$ <10> Send connect key: 64 
$ <11> Send connect key: 64 
$ <12> Send connect key: 64 
$ <13> Send connect key: 64 
$ <14> Send connect key: 64 
$ <15> Send connect key: 64 
$ <16> Send connect key: 64 
$ <17> Send connect key: 64 
$ <18> Send connect key: 64 
$ <19> Send connect key: 64 
$ <20> Send connect key: 64 
$ <21> Send connect key: 64 
$ <22> Send connect key: 64 
$ <23> Send connect key: 64 
$ <24> Send connect key: 64 
$ <25> Send connect key: 64 
$ <26> Send connect key: 64 
$ <27> Send connect key: 64 
$ <28> Send connect key: 64 
$ <29> Send connect key: 64 
$ <30> Send connect key: 64 
$ <31> Send connect key: 64 
$ <32> Send connect key: 64 
$ <33> Send connect key: 64 
$ <34> Send connect key: 64 
$ <35> Send connect key: 64 
$ <36> Send connect key: 64 
$ <37> Send connect key: 64 
$ <38> Send connect key: 64 
$ <39> Send connect key: 64 
$ <40> Send connect key: 64 
$ <41> Send connect key: 64 
$ <42> Send connect key: 64 
$ <43> Send connect key: 64 
$ <44> Send connect key: 64 
$ <45> Send connect key: 64 
$ <46> Send connect key: 64 
$ <47> Send connect key: 64 
$ <48> Send connect key: 64 
$ <49> Send connect key: 64 
$ <50> Send connect key: 64 
$ <51> Send connect key: 64 
$ <52> Send connect key: 64 
$ <53> Send connect key: 64 
$ <54> Send connect key: 64 
$ <55> Send connect key: 64 
$ <56> Send connect key: 64 
$ <57> Send connect key: 64 
$ <58> Send connect key: 64 
$ <59> Send connect key: 64 
$ <60> Send connect key: 64 
$ <61> Send connect key: 64 
$ <62> Send connect key: 64 
$ <63> Send connect key: 64 
$ <64> Send connect key: 64 
$ <65> Send connect key: 64 
$ <66> Send connect key: 64 
$ <67> Send connect key: 64 
$ <68> Send connect key: 64 
$ <69> Send connect key: 64 
$ <70> Send connect key: 64 
$ <71> Send connect key: 64 
$ <72> Send connect key: 64 
$ <73> Send connect key: 64 
$ <74> Send connect key: 64 
$ <75> Send connect key: 64 
$ <76> Send connect key: 64 
$ <77> Send connect key: 64 
$ <78> Send connect key: 64 
$ <79> Send connect key: 64 
$ <80> Send connect key: 64 
$ <81> Send connect key: 64 
$ <82> Send connect key: 64 
$ <83> Send connect key: 64 
$ <84> Send connect key: 64 
$ <85> Send connect key: 64 
$ <86> Send connect key: 64 
$ <87> Send connect key: 64 
$ <88> Send connect key: 64 
$ <89> Send connect key: 64 
$ <90> Send connect key: 64 
$ <91> Send connect key: 64 
$ <92> Send connect key: 64 
$ <93> Send connect key: 64 
$ <94> Send connect key: 64 
$ <95> Send connect key: 64 
$ <96> Send connect key: 64 
$ <97> Send connect key: 64 
$ <98> Send connect key: 64 
$ <99> Send connect key: 64 
$ <100> Send connect key: 64 
X Connect fail
jye1
Posts: 1221
Joined: Wed Feb 20, 2013 4:58 pm

Re: LCD is fully "on", V5 gives incorrect voltage

Post by jye1 »

The string "BL" was sent by the bootloader. But somehow it did not response to the connecting key. Maybe the code was corrupted. If you can please try program U4 with only the bootloader at https://www.jyetech.com/Products/LcdSco ... 03-020.rar . Then try flash the main firmware with the bootloader again.
sj9225
Posts: 6
Joined: Wed May 16, 2018 9:17 pm

Re: LCD is fully "on", V5 gives incorrect voltage

Post by sj9225 »

Thanks for your patience. I had to wait until I could borrow an AVR programmer from work! I reflashed U4 using the AVR programmer; after that I was able to upload the correct software using the bootloader successfully! Then I had to adjust the contrast potentiometer a bit more, and everything is working now. Thanks for your support!
Post Reply