View previous topic :: View next topic |
Author |
Message |
beaker404
Joined: 24 Jul 2012 Posts: 163
|
18f26K40 |
Posted: Sun Apr 16, 2017 9:53 am |
|
|
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: 1934 Location: Norman, OK
|
|
Posted: Sun Apr 16, 2017 10:14 am |
|
|
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
|
|
Posted: Sun Apr 16, 2017 10:33 am |
|
|
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: 9243 Location: Greensville,Ontario
|
|
Posted: Sun Apr 16, 2017 10:59 am |
|
|
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: 19539
|
|
Posted: Sun Apr 16, 2017 11:55 am |
|
|
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
|
|
Posted: Mon Apr 17, 2017 6:03 am |
|
|
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. |
|
|
|