Search found 10 matches
- Mon Nov 08, 2010 4:30 pm
- Forum: E-blocks
- Topic: Porting glcd from 16F877 to 18F458
- Replies: 9
- Views: 6761
Re: Porting glcd from 16F877 to 18F458
Thanks again for your input med. This is really beginning to test my tenacity! Here's what I've found - It's not the power supply - doesn't make any difference. With regards to clocking I set up a small program to output a squarewave on C0 with a 10uS duty cycle, i measured this at 11uS which I thin...
- Fri Nov 05, 2010 3:25 pm
- Forum: E-blocks
- Topic: Porting glcd from 16F877 to 18F458
- Replies: 9
- Views: 6761
Re: Porting glcd from 16F877 to 18F458
Using the LED program on Port A I found that the clock option that made it spring into life is HS-PLL enabled (which is a little abstract IMO especially as there is 2 XT options) The gLCD is still not working, but at least I can see data on the lines (sticking the EB-004 on Port C worked if you don'...
- Thu Nov 04, 2010 8:56 am
- Forum: E-blocks
- Topic: Porting glcd from 16F877 to 18F458
- Replies: 9
- Views: 6761
Re: Porting glcd from 16F877 to 18F458
Interestingly the LED example works fine when I change the clock to RC and switch to RC on the board. Has my crystal gone phut?
- Thu Nov 04, 2010 8:44 am
- Forum: E-blocks
- Topic: Porting glcd from 16F877 to 18F458
- Replies: 9
- Views: 6761
Re: Porting glcd from 16F877 to 18F458
hmmmm.... digging down a bit, as advised I tried just looking at 1 output and using the LED example and board (EB-004). Without success, so as suspected I'm guessing I have an issue with the set-up of the PIC.
Any Clues anyone?
Any Clues anyone?
- Thu Nov 04, 2010 8:32 am
- Forum: E-blocks
- Topic: Porting glcd from 16F877 to 18F458
- Replies: 9
- Views: 6761
Re: Porting glcd from 16F877 to 18F458
Thanks for your quick response.... Here's some details. I'm using an EB0006 programmer XT mode and switch set. An EB058 and EB057 on Port C Set up and working as for 16F877 so jumper on B In project options.. chip set to 18F458 clock speed 19660800 In Chip Config Expert Screen Oscillator=XT Osc. Swi...
- Wed Nov 03, 2010 8:41 pm
- Forum: E-blocks
- Topic: Porting glcd from 16F877 to 18F458
- Replies: 9
- Views: 6761
Porting glcd from 16F877 to 18F458
2 steps forward and 1 back again. Because I ran out of room on my 16F877 I upgraded to a 18F458. Sadly my previously working display has now gone dark. On an oscilloscope I have nice clock and data signals on the pins on the 16F877, on the 18F458 absolute silence. It's all on port C. Is there any ob...
- Thu Oct 28, 2010 9:01 am
- Forum: E-blocks
- Topic: gLCD in Macro Issue
- Replies: 6
- Views: 7075
Re: gLCD in Macro Issue
It was indeed the stack, added -swcs 6 2 to the linker parameters in the compiler options and it all goes. I think I'll need to use an 18 series PIC tho'
Thanks for help
Thanks for help
- Tue Oct 26, 2010 3:33 pm
- Forum: E-blocks
- Topic: gLCD in Macro Issue
- Replies: 6
- Views: 7075
Re: gLCD in Macro Issue
Here's the sourcecode. Thanks for replies so far.
- Tue Oct 26, 2010 8:12 am
- Forum: E-blocks
- Topic: gLCD in Macro Issue
- Replies: 6
- Views: 7075
Re: gLCD in Macro Issue
It feels something like that,
I guess the big question is Why does me calling it as a macro cause this sort of error.
I guess the big question is Why does me calling it as a macro cause this sort of error.
- Mon Oct 25, 2010 2:30 pm
- Forum: E-blocks
- Topic: gLCD in Macro Issue
- Replies: 6
- Views: 7075
gLCD in Macro Issue
Hi all, I'm have a EB058/057 gLCD display, all set up and running using a PIC16F877A all works fine when I call the the commands in the main program. However when I move these calls into a Macro the last print command scrolls and overwrites itself. I'm using Flowcode4 with PIC_gLCD.c version 300410 ...