CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

old ccs...new PIC..what's involved

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
jbmiller
Guest







old ccs...new PIC..what's involved
PostPosted: Mon Mar 14, 2005 6:45 am     Reply with quote

Hello. I have..
PCM version 2.681 ( 1996)
MPLAB 4.99.07
PicStart Plus V2.00.07

While I'm happy using 16F84s, and 16F877s, I'd like to use the 16F648a.

What do I need to upgrade?
Could I just create a 16F648a.h file and 'go'?

It seems silly to use the F877 when all I use is the CCP1 module and 6 bits for an LCD.This is for a tachometer project and it is a bit of overkill.

I really don't want to buy all new stuff as I'm now retired and this is just a hobby.

All comment are appreciated.

Jay
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Mar 14, 2005 3:03 pm     Reply with quote

The header file, 16F648A.H, will not be enough to make it work.
In fact, it's probably useless. The "guts" of CCS is contained
in the Devices.dat and PCM.DLL files.

My records show that PCM vs. 2.681 came out around late August of 1999.


Assuming that you don't upgrade your compiler:

1. You'll have to choose some PIC that's supported by your compiler,
and that has a similar layout of RAM and ROM. You may not be
able to find one.

In other words, don't even expect the built-in functions to work.
The best you can hope for is to have the CCS automatic variable
placement work. That will only work if you can find a similar PIC
that's supported by your compiler, and that has a RAM map similar
to the 16F648A.

Same thing for the ROM, with regard to automatic placement
of functions by the compiler.

2. You'll need to upgrade to a version of MPLAB that can program
the 16F648A. This will probably be vs. 7.01. (or whatever
is the latest version).

3. You will likely need new firmware in your PicStart-Plus.
Traditionally, this had to be done by getting the "windowed"
verison of the 17C44 that runs the PSP. You then pull out the
old OTP version and put in the new one, after you programmed
it with the new firmware. Currently, they have a new "PUM"
module that eliminates this step. However, it may or may not
work with your old PSP. You'll need to check this on the Microchip
forum.
jbmiler
Guest







old ccs new pic update
PostPosted: Thu Mar 17, 2005 6:41 am     Reply with quote

Seems my Picstart Plus is to old to upgrade(kinda like me ?), so I'd need a new one,about $200+. That's too steep for me,so I'll just keep using the F877s instead of the new F648as. Huge overkill considering I only need one CCP and 6 bits. Oh well....never hurts to ask.I may try to create my own 648.h file and see if my PS+ will really program the 648a. We still have a lot of snow up here so I have the time and I like challenges.
Jay
Guest








Re: old ccs new pic update
PostPosted: Thu Mar 17, 2005 8:38 am     Reply with quote

jbmiler wrote:
Seems my Picstart Plus is to old to upgrade(kinda like me ?), so I'd need a new one,about $200+. That's too steep for me,so I'll just keep using the F877s instead of the new F648as. Huge overkill considering I only need one CCP and 6 bits. Oh well....never hurts to ask.I may try to create my own 648.h file and see if my PS+ will really program the 648a. We still have a lot of snow up here so I have the time and I like challenges.
Jay


CCS's ICD will only take you $75, I hope (believe) they support F648A

http://www.ccsinfo.com/icds.shtml

Best wishes
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Thu Mar 17, 2005 8:43 am     Reply with quote

Hola Jay,

Quote:

"While I'm happy using 16F84s, and 16F877s, I'd like to use the 16F648a."
.............
"It seems silly to use the F877 when all I use is the CCP1 module and 6
bits for an LCD.This is for a tachometer project and it is a bit of overkill. "


If you have the tools to compile/program the 16F877, why not use the
16F873, same machine and capabilities, cheaper and less pin out.

Quote:

We still have a lot of snow up here so I have the time and I like
challenges.


Where do you live ? here in Buenos Aires we get now 30�C ! Embarassed

Regards,

Humberto
jbmiller
Guest







old ccs new pics...
PostPosted: Thu Mar 17, 2005 6:22 pm     Reply with quote

Yes, I could buy and use the 873, but I have a tube of 877s leftover from another job,. I got a couple of 648s as samples, didn't realise that I couldn't use the PS+ to prgram them like an F84. Space really isn't an issue and maybe having a lot of extra pins is good for the 'can you add... syndrom!'
By the way I'm in southern Ontario, Canada where it's about 0C. Been a long ,snowy winter up here,guess it doesn't snow in Brazil too often !
Jay
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Fri Mar 18, 2005 7:28 am     Reply with quote

Quote:

guess it doesn't snow in Brazil too often !


Hey Jay,

you not only need to update your PIC�s tools, also your knowledge in Geography. Confused
Buenos Aires is in Argentina Very Happy

Best wishes,

Humberto
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group