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 support@ccsinfo.com

18f26K40

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



Joined: 24 Jul 2012
Posts: 163

View user's profile Send private message

18f26K40
PostPosted: Sun Apr 16, 2017 9:53 am     Reply with quote

Continuing my quest for two hardware UARTs.
Determined the 18F26K40 will fit the bill. Thanks to all those who recommended it.
Question is what does it take to program it?
Currently using Picstart Plus programmer
CCS compiler V5.064 33349
MPLAB 8.91.00.00

the 18F26K40 does not show up in the device list. 'K20 and 'K22 do.

I have a Pic kit 3, never had much luck with it so I shy away.

what do I need to upgrade to get the 18F26K40 capability? Side note, the 18F26K22 is in the list of my MPLAB. Any pitfalls on using it instead? call me a chicken, just hate to upgrade too much here mid-project. That has not turned out well in the past.
dyeatman



Joined: 06 Sep 2003
Posts: 1912
Location: Norman, OK

View user's profile Send private message

PostPosted: Sun Apr 16, 2017 10:14 am     Reply with quote

According to Microchip, the PicStart Plus Rev 20 (R20) and later will support all 40 pin devices and is firmware upgradable for future device support.

More info on the different versions of PicStart Plus is found here: http://www.microchip.com/Developmenttools/ProductDetails.aspx?PartNO=UK003010
_________________
Google and Forum Search are some of your best tools!!!!
beaker404



Joined: 24 Jul 2012
Posts: 163

View user's profile Send private message

PostPosted: Sun Apr 16, 2017 10:33 am     Reply with quote

I think I will shy away from doing all that right now and use the Pickit 3
The 'K40 is a 28 pin package but I assume the same applies.
temtronic



Joined: 01 Jul 2010
Posts: 9104
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Apr 16, 2017 10:59 am     Reply with quote

I use the PK3 to program the 18f46k22 and the smaller 26k22.No real problems aside from missing semicolons here and there. I use MPLAB v8.86 in 'release' mode 100% of the time,using the real world to debug.
One day I have to get back into PICking more but Sprin has sprung so everyone wants me to fix their neglected lawn tractors..and wife's 1
acre veggie garden needs 'tending to....'

One 'trick' I do is have ALL the fuses stored in an 'include' file. The 46k22.dft file is all of them in a known 'default' state that does run the 1Hz LED program. A 'project specific' file is a modifed version of this default fuse file.
it keeps main() from being 'cluttered' and saves ME a LOT of typing(and retyping as I can't touch type...)

Jay
Ttelmah



Joined: 11 Mar 2010
Posts: 19219

View user's profile Send private message

PostPosted: Sun Apr 16, 2017 11:55 am     Reply with quote

Which Picstart Plus do you have?.
For the ones pre R2.0, Microchip do a 'processor upgrade module' for these, that replaces the internal chip with a latter flash programmable one. Once this is installed the Picstart Plus can program this chip.
However 'caveat', this costs as much as a newer programmer unit...
beaker404



Joined: 24 Jul 2012
Posts: 163

View user's profile Send private message

PostPosted: Mon Apr 17, 2017 6:03 am     Reply with quote

Agreed, no all accounts. I have the two serial ports, two status LED I/O pints and two ADC inputs. That is all on this one. pretty minimal.
I also try to do more on I/O. Have have bailed others out on 'oh wait.......what?' moments before.

I grew up with parents that had a 1 acre garden, I thought every one grew their own produce. I hated it. Now I wish I could go back or at least do it again now. Miss those days.
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