View previous topic :: View next topic |
Author |
Message |
sudarsan
Joined: 08 Nov 2012 Posts: 5 Location: India
|
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9257 Location: Greensville,Ontario
|
|
Posted: Thu Nov 22, 2012 6:36 am |
|
|
1) Please read the very first post PIC101......
2) "with alternate port address". Which port? Have you disabled every onboard peripheral on that port.
3) code written for one PIC series will not 'instantly' work for another. 16 series is far different than the 18 series with respect to pin usages, register addresses, fuses, etc.
The code will have to be modified for use on the 18F452.
hth
jay |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19576
|
|
Posted: Thu Nov 22, 2012 10:01 am |
|
|
As a separate comment though, before trying to get the GLCD driver working have you fully verified the PIC18, is actually running, and running at the right frequency:
Simple 'flash an LED program, and verify the LED does flash, and at the speed expected.
PIC's require their oscillators to work, and things like LCD code, require that they are running at the right frequency. Proteus, will accept what you tell it is the oscillator frequency, even if it is impossible, and will make the power connections without showing them. Errors in either of these will stop a real PIC working.
Best Wishes |
|
|
|