Author Topic: NHD-0240A2 Can't write to location 30 in either row  (Read 639 times)

RS3800

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
NHD-0240A2 Can't write to location 30 in either row
« on: June 28, 2017, 09:42:27 AM »
I have a 2 row 40 character display and I don't know what's going on here but I can't write a single character to location 30 in either row 1 or 2 addresses 9F & DF.  I can write strings of characters but not one character at a time to those locations.  I can write single characters to other addresses but not those two.  I have another NH display that I tried and I have the same problem with that display also.

Any Ideas, Thank You

Saurabh_B

  • Administrator
  • Hero Member
  • *****
  • Posts: 356
  • Karma: 10
    • View Profile
Re: NHD-0240A2 Can't write to location 30 in either row
« Reply #1 on: June 28, 2017, 11:31:56 AM »
Would it be possible to get a picture of your display and the code you are using?

I would like to see if we can recreate the same problem.

RS3800

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: NHD-0240A2 Can't write to location 30 in either row
« Reply #2 on: June 28, 2017, 02:59:29 PM »
Here is the photo.  The problem is the character after the #4 in the row 2.  I found this problem while testing.

I am trying to make the characters (b thru h) in row 1 change from upper & lower case if an input is active or not.


RS3800

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: NHD-0240A2 Can't write to location 30 in either row
« Reply #3 on: June 28, 2017, 03:17:06 PM »
This code is not complete!  There are parts of it that are not being used.

The LCD section is run from CALLs on page 3

The problem I am Having is on page 6, LCD_Upper & LCD_Lower address DF or row 1 address 9F.  If I use any other addresses it will work.


RS3800

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: NHD-0240A2 Can't write to location 30 in either row
« Reply #4 on: July 05, 2017, 10:42:02 AM »
[Solved] I couldn't figure out why only certain parts of the display acted up and others did not.

So, here is what I did.  I bought a display from a different manufacturer and that was worse yet!  Then I knew it had to be something in my code.  The first thing I did was slow the clock speed down to 500 kHz and then it worked fine so I went up to 1MHz and the problems came back  Then I knew it was timing.  I added time delays in until I found one the solved the problem and I found it in my E pulse.  I had one NOP in there and that wasn't enough, I tried 3 NOPs and still that wasn't enough.  To make a long story short I finally got it to 5ms and every thing was ok after that.

I never got any suggestions so maybe I was not the only one that was stumped.

Paul_B

  • Administrator
  • Sr. Member
  • *****
  • Posts: 248
  • Karma: 16
    • View Profile
Re: NHD-0240A2 Can't write to location 30 in either row
« Reply #5 on: August 11, 2017, 04:10:50 PM »
Glad to hear you got your display up and running!

Thanks for sharing your solution, it will definitely help others  :D

tolikkk

  • Sr. Member
  • ****
  • Posts: 259
  • Karma: 0
    • View Profile
purchase at lowest price  Oxytrol in New Zealand,   
 
 
 
GO to PHARMACY >>> https://tr.im/bestmedprices 
 
 
 
 
RELATED SEARCHES:
 
http://forum.peopleecoz.com/viewtopic.php?f=2&t=582895
http://forum.pckrieg.de/viewtopic.php?f=5&t=62194
http://sunshinehousehospice.co.uk/page9.php
http://stephanierct.com/forum/viewtopic.php?f=3&t=396391
http://kow-foundry.com/forums/index.php?topic=150327.new#new
http://krahsr.com/bbs/thread-373296.html
http://www.sourcecheckgroup.com/forum/showthread.php?937310-licensed-pharmacy-Sinemet-buy-safety-Sinemet-Sinemet-non-prescription&p=1327765#post1327765
http://universalprotiz.com/index.php/forum/welcome-mat/210674-buy-at-low-price-synthroid-fda-approved-synthroid-synthroid-next-day-delivery#210679
http://xxxdoujins.com/index.php?topic=160060.new#new
http://denurse.com/forum/viewtopic.php?f=25&t=201590
http://www.abcwebsitedesigner.com/forum/more-about-the-kunena/130?start=2358#3067
http://www.versisforum.com/viewtopic.php?f=3&t=545791
http://eos.tastenlaeufer.de/viewtopic.php?f=7&t=620238
http://forum.pckrieg.de/viewtopic.php?f=5&t=61565
http://www.olsononlinesystems.com/respforums/viewtopic.php?f=3&t=14605
http://minigymroma.it/forum/index.php?topic=183971.new#new
http://foro.adoptaunpeludito.com/viewtopic.php?f=35&t=14357
http://warpossum.com/forum/showthread.php?tid=20996
http://losminerales.creatuforo.com/viewtopic.php?f=1&t=298680
http://hoosierpolitics.com/viewtopic.php?f=10&t=140889
http://www.moodlemajorana.it/smf/index.php?topic=25857.new#new
http://hackmyclassroom.foresthills.edu/boards/topic/169692/low-prices-for-generic-vantinwe-offer-quality-vantinvantin-cash-on-delivery
http://forum-drp.pe.hu/index.php?/topic/21-zaiavleniia-na-liderstvo/page-722#entry56418
http://5711020660072.sci.dusit.ac.th/phpBB3/viewtopic.php?f=3&t=631150
http://traditionalarts.org/index.php/kunena/3-releases-and-updates/474464-fda-approved-cytoxan-how-much-cytoxan-cytoxan-no-prescription-required#476379

 

NHD-4.3-480800EF-CTXP#-T - HX8369 continious memory write problem

Started by Henning_SBoard TFTs

Replies: 3
Views: 3615
Last post September 17, 2014, 06:51:40 AM
by Henning_S
NHD-1.27-12896UGC3, can't write data correctly, 4 wire spi

Started by dannyjBoard OLEDs

Replies: 1
Views: 2268
Last post November 14, 2014, 09:30:55 AM
by Michael_L
NHD-3.12-25664UCB2 Help Cannot write to the display

Started by gkearns@luxcom.comBoard OLEDs

Replies: 0
Views: 1323
Last post November 26, 2015, 09:52:53 AM
by gkearns@luxcom.com