Jump to content

18F w/64240A Display


d2k
 Share

Recommended Posts

Hi...

I've started putting the parts for my LC box together - including the Graphics LCD which is the Displaytech 64240A. I followed the hookup diagram in the LCD section of the site and when i apply power to the core it powers up fine and the pots work as expected (lum (pot on core) and con(additional pot wired in)). However, after burning the bootstrapper to the pic, and then mios via syx, I dont get the MIOS welcome msg on the LCD like i've done with the character LCD used on the 18F Sid i started. I put the appropriate ID Value in ICProg for the KS controller before burning the bootstrapper (0000000000001000)...

After sending mios and applying power i get:

F0 00 00

F0 7E 40

F0 00 01

F0 F7 00

but it doesnt repeat every 2 secs, so that makes me think that mios sysxed correctly and so should display the MIOS screen...but it aint :/ it just stays filled black as before...

Have i missed summin?

Link to comment
Share on other sites

Hi Dan,

important question: did you wire the graphical LCD based on the updated schematic? Because I changed one connection before the final MIOS release.

A simple way to test if the ID has been set correctly is the use of the (undocumented *sigh*) debug message which allows you to call a MIOS function from external.

So, when you send:

F0 00 00 7E 40 00 0D 01 00 5A 44 00 00 00 00 00 00 00 00 F7

the "MIOS_LCD_TypeGet" function will be executed. The return parameters will be sent back by the MIDIbox:

F0 00 00 7E 40 00 0F 00 00 00 00 00 00 00 00 F7

if a character LCD has been initialized

F0 00 00 7E 40 00 0F 00 01 00 01 00 00 00 00 F7

if a graphical LCD has been initialized.

It's also possible to setup a graphical display after startup by modifiying the init function in lc_init.inc

Just add:

        movlw   0x01
        call    MIOS_LCD_TypeSet

at the beginning

Best Regards, Thorsten.

Link to comment
Share on other sites

Hi T...

Okay, so i sent that syx cmd and got this feed back:

F0 00 00 7E 40 00 0D 01 00 5A 44 00 00 00 00 00 00 00 00 F7

which means if has selected the graphical LCD, so it all seems good so far...

I originally connected the LCD last week sumtime - did u change the pdf hook diagram in this time? I'll check the connections with the one on the site now neways to make sure...

Cheers...

Dan

Link to comment
Share on other sites

Hey T, Yup blackscreen...

I've gone over the tracks a few times and they looked good, but it's happened before and no doubt it'll happen again - i'll go through it some more, is there a particular track or connection it could be?

Cheers...

Dan

Link to comment
Share on other sites

arrrgh!!

still no joy, and this is on a new core!

T, can u dble chek the pdf/gif of the connection diagrams as I noticed on there u have:

Pin 16 (CS1) - PIC Pin D2

But u just posted:

CS1 -> Pin RD0

I dunno if it's just a one-off mistake, as u have the wire going to S0/J8 of the core (which is RD0)...

But just to make sure, can u confirm the rest is def right, as it's weird i'm gettin the same display (or lack of) with a new shiny core....

Ta

Dan

Link to comment
Share on other sites

well i give up - this bastard is killing me!  >:(

I musta retinned and resoldered all connections at least 5 times, i've tried using a header on the lcd and soldering to that, wiring direct to the lcd pinouts it's self - all the same results...:(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...