Pic 18F67k40 and GLCD at 64Mhz problems.....

mikroC, mikroBasic and mikroPascal PRO for Microchip’s 8-bit PIC MCUs.
Post Reply
Author
Message
umbertomori
Posts: 45
Joined: 06 Feb 2018 11:48
Contact:

Pic 18F67k40 and GLCD at 64Mhz problems.....

#1 Post by umbertomori » 29 Apr 2018 08:54

Hi all.....
I have my cpu board with pic18f67k40, with external crystall 16Mhz and setup for use x4pll for 64Mhz clock system.

With this configuration the glcd not functions.....
if i setup only external crystall clock at 16mhz (without 4xpll) run correctly!!!!
Why? 64Mhz is too fast for library mikroc?

Thanks for the help
Umberto

Umberto Italy

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: Pic 18F67k40 and GLCD at 64Mhz problems.....

#2 Post by petar.suknjaja » 30 Apr 2018 16:34

Hi,
If you set your clock settings wrong, you can render whole system unresponsive.
Is it only problem with GLCD?
Kind regards,
Petar

umbertomori
Posts: 45
Joined: 06 Feb 2018 11:48
Contact:

Re: Pic 18F67k40 and GLCD at 64Mhz problems.....

#3 Post by umbertomori » 30 Apr 2018 20:01

Yes....
With 4xPLL enable Is all ok.... the clock Is correct and delay_ms Is correct....
But glcd not functions.
Umberto

Umberto Italy

umbertomori
Posts: 45
Joined: 06 Feb 2018 11:48
Contact:

Re: Pic 18F67k40 and GLCD at 64Mhz problems.....

#4 Post by umbertomori » 03 May 2018 11:24

petar.suknjaja wrote:Hi,
If you set your clock settings wrong, you can render whole system unresponsive.
Is it only problem with GLCD?
Kind regards,
Petar

Hi, have you news or resolutions? Thanks

Umberto Italy

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: Pic 18F67k40 and GLCD at 64Mhz problems.....

#5 Post by petar.suknjaja » 03 May 2018 11:31

Hi,

There was the problem with the some libraries on K40 family of the PIC MCU.

However, my colleague Dušan has pointed out on solution on this link:

viewtopic.php?f=88&t=71362&hilit=glcd+k40

Let me know if this solved your issue.

Kind regards,
Petar

umbertomori
Posts: 45
Joined: 06 Feb 2018 11:48
Contact:

Re: Pic 18F67k40 and GLCD at 64Mhz problems.....

#6 Post by umbertomori » 10 May 2018 22:46

petar.suknjaja wrote:Hi,

There was the problem with the some libraries on K40 family of the PIC MCU.

However, my colleague Dušan has pointed out on solution on this link:

viewtopic.php?f=88&t=71362&hilit=glcd+k40

Let me know if this solved your issue.

Kind regards,
Petar

Hi,
i have pic 18f67k40 with external crystall 16mhz and 4xpll for run at 64mhz , with this configuration glcd not screen....
If i set external crystall 16mhz with not 4xpll functions glcd run correctly....
WHY????
Thanks

Umberto Italy

umbertomori
Posts: 45
Joined: 06 Feb 2018 11:48
Contact:

Re: Pic 18F67k40 and GLCD at 64Mhz problems.....

#7 Post by umbertomori » 21 May 2018 22:50

umbertomori wrote:
petar.suknjaja wrote:Hi,

There was the problem with the some libraries on K40 family of the PIC MCU.

However, my colleague Dušan has pointed out on solution on this link:

viewtopic.php?f=88&t=71362&hilit=glcd+k40

Let me know if this solved your issue.

Kind regards,
Petar

Hi,
i have pic 18f67k40 with external crystall 16mhz and 4xpll for run at 64mhz , with this configuration glcd not screen....
If i set external crystall 16mhz with not 4xpll functions glcd run correctly....
WHY????
Thanks

Hi, have you found solutions?????

Umberto Italy

umbertomori
Posts: 45
Joined: 06 Feb 2018 11:48
Contact:

Re: Pic 18F67k40 and GLCD at 64Mhz problems.....

#8 Post by umbertomori » 21 May 2018 22:52

petar.suknjaja wrote:Hi,

There was the problem with the some libraries on K40 family of the PIC MCU.

However, my colleague Dušan has pointed out on solution on this link:

viewtopic.php?f=88&t=71362&hilit=glcd+k40

Let me know if this solved your issue.

Kind regards,
Petar

HI, HAVE YOU SOLUTIONS FOR PROBLEM WITH K40 SERIES?
IF I SET EXTERNAL CRYSTALL WITH 4XPLL NOT RUN GLCD.
IF I SET INTERNAL OR EXTERNAL BUT AT 16MHZ IS ALL OK..... WHY?
THANKS!

Umberto Italy

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: Pic 18F67k40 and GLCD at 64Mhz problems.....

#9 Post by petar.suknjaja » 22 May 2018 12:51

Hi,

I posted the link to the patched libraries in my previous post,
have you tried that?

Kind regards,
Petar

umbertomori
Posts: 45
Joined: 06 Feb 2018 11:48
Contact:

Re: Pic 18F67k40 and GLCD at 64Mhz problems.....

#10 Post by umbertomori » 22 May 2018 15:13

petar.suknjaja wrote:Hi,

I posted the link to the patched libraries in my previous post,
have you tried that?

Kind regards,
Petar
Hi...
no,
i use 18f67k40 and glcd....
can you send me correct new library for my parts?
Thanks

Umberto Italy

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: Pic 18F67k40 and GLCD at 64Mhz problems.....

#11 Post by petar.suknjaja » 23 May 2018 12:10

Hi,

Please read the posts more carefully

You can download the required files on this link :

viewtopic.php?f=88&t=71362&hilit=glcd+k40

I won't post the files here, because there's no need for that.

Go to the link i posted, search for the dusan.poluga's post, there are two files linked.
__T6963C
__Lib_T6963C,

Download them, replace them and let us know if that solved your problem.

Kind regards,
Petar

umbertomori
Posts: 45
Joined: 06 Feb 2018 11:48
Contact:

Re: Pic 18F67k40 and GLCD at 64Mhz problems.....

#12 Post by umbertomori » 23 May 2018 12:27

[quote="petar.suknjaja"]Hi,

Please read more carefully the posts.

You can download the required files on this link :

viewtopic.php?f=88&t=71362&hilit=glcd+k40

I won't post the files here, because there's no need for that.

Go to the link i posted, search for the dusan.poluga's post, there are linked two files
__T6963C
__Lib_T6963C,

Download them, replace them and let us know if that solved your problem.

Kind regards,
Petar[/quot



Now i test it....
But..... if your compiler have problems Why not send upgrade?

Umberto Italy

umbertomori
Posts: 45
Joined: 06 Feb 2018 11:48
Contact:

Re: Pic 18F67k40 and GLCD at 64Mhz problems.....

#13 Post by umbertomori » 23 May 2018 13:41

petar.suknjaja wrote:Hi,

Please read more carefully the posts.

You can download the required files on this link :

viewtopic.php?f=88&t=71362&hilit=glcd+k40

I won't post the files here, because there's no need for that.

Go to the link i posted, search for the dusan.poluga's post, there are linked two files
__T6963C
__Lib_T6963C,

Download them, replace them and let us know if that solved your problem.

Kind regards,
Petar

In this post i found file.mlk for 18f66k40 and not for my pic who is 18f67k40.......

Umberto Italy

User avatar
petar.suknjaja
mikroElektronika team
Posts: 683
Joined: 05 Mar 2018 09:44
Location: Belgrade

Re: Pic 18F67k40 and GLCD at 64Mhz problems.....

#14 Post by petar.suknjaja » 23 May 2018 15:06

It's scheduled for next release.
We cannot release compiler update everytime new MCU is made.
Until then, this will help users with K40.
It doesn't matter what MCU is, it just needs to be from K40 family.
So the fix will work on every PIC18FXXK40 MCU.

Kind regards,
Petar

Post Reply

Return to “PIC PRO Compilers”