The Godfather talking
Share your stuff or I will make you regret it.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 08, 2016, 12:59:46 00:59


Login with username, password and session length


Pages: [1]
Print
Author Topic: PDS 3.x + 18F2525 + CCP1CON = error  (Read 1239 times)
0 Members and 1 Guest are viewing this topic.
maddoc
Newbie
*
Offline Offline

Posts: 32

Thank You
-Given: 49
-Receive: 14


« on: January 26, 2008, 11:10:51 11:10 »

In the Results windows it states:
ASM Error [...] Symbol not previously defined (CCP1CON)

After a few day trying hard to make PDS to compile my program for 18F2525, I have found the solution!

Problem: If you are trying to alter CCP1CON in a 18F2525 you will always get errors and no hex file.
Crownhill thought that 18F2525 has the name for this register ECCP1CON (as in ECCP for 18F4525), which is not true, in the datasheet it is specified as CCP1CON for both devices.

Solution: either write it as ECCP1CON or change the definition in the Inc folder in filename P18F2525.lpb from ECCP1CON to CCP1CON.

I bet there are more problems like this regarding registers and their names. This could be helpful to solve such problems.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC