• AVR Freaks

Hot!Legacy project using a PIC16F684 – No System or Pin module view?

Author
BobFozzy
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2019/08/22 07:51:11
  • Location: UK
  • Status: offline
2019/08/23 01:46:55 (permalink)
0

Legacy project using a PIC16F684 – No System or Pin module view?

Hi Folks,
I have a legacy project using a PIC16F684 chip with assembler code in absolute mode.
I have tried to build it as a “New Project” using the default wizard and the simulator. That seems OK, but when I try to activate MCC by clicking on the Icon it tells me via a pop up that:
“The projects device is not supported by the currently loaded libraries.” Etc
I have gone to the MCC website but cannot see anything explicitly for the 16F684 as a library which is not already installed as part of the existing 16F library?
I note however that:
“Not all legacy demos have been ported to the new version of the MLA.”
Although this may be “Demos” only?
I tried one of your test programs:
M:\Products\TLL130_489_New\Hex_Code\E16LCDDemo_pic24f16ka102_pim_1.X
And that built fine showing the System Module and Pin Manager as expected.
I also tried one of my other projects using a PIC16F1823 and that also built the System Module and Pin Manager as expected
Is there any other library or Plugin that I need to install to get the MCC to show the System Module and Pin Manager for the 16F684 please?
Many Thanks Bob
 
Tool Chain is:
MPLAB X IDE: 5.25
mpasm (v5.84)
Library: pic10-pic12-pic16-pic18-1.77.0.jar
Using the Simulator

Bob Fozzy
#1

5 Replies Related Threads

    du00000001
    Just Some Member
    • Total Posts : 3076
    • Reward points : 0
    • Joined: 2016/05/03 13:52:42
    • Location: Germany
    • Status: offline
    Re: Legacy project using a PIC16F684 – No System or Pin module view? 2019/08/23 13:04:04 (permalink)
    0
    The 16F684 might be too old to be supported by MCC.
    (This topic is in some form raised every second week or so.)
    But this device is not so complex that one couldn't configure it with little effort just following the datasheet - a meagre 192 pages...

    PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
    #2
    PStechPaul
    Super Member
    • Total Posts : 2403
    • Reward points : 0
    • Joined: 2006/06/27 16:11:32
    • Location: Cockeysville, MD, USA
    • Status: offline
    Re: Legacy project using a PIC16F684 – No System or Pin module view? 2019/08/23 13:09:45 (permalink)
    0
    AFAIK, the PIC16F684 is not supported by MCC, as indicated in the messages. This is unfortunate, as that device is one that I have used in numerous projects. But it is a fairly simple device, and it should not be difficult to build a project without the MCC "crutch". I very rarely use assembler, or MCC for that matter, and I didn't even know that MCC supports assembler.
     
    You could find a similar but more modern 14 pin device such as PIC16F1613/14/15, that should be pin and function compatible, and use MCC to create the code, which might port to the PIC16F684. But unless you have a lot invested in the legacy device, why bother? The newer devices are cheaper, faster, and better in many ways.
     
    If you need 4 PWM outputs, you might look at PIC16F18323.
    post edited by PStechPaul - 2019/08/23 13:25:36

     
    #3
    jtemples
    عُضْوٌ جَدِيد
    • Total Posts : 11347
    • Reward points : 0
    • Joined: 2004/02/13 12:31:19
    • Location: Southern California
    • Status: offline
    Re: Legacy project using a PIC16F684 – No System or Pin module view? 2019/08/23 13:15:17 (permalink)
    0
    What are you trying to do with MCC in an existing assembly language project?
    #4
    du00000001
    Just Some Member
    • Total Posts : 3076
    • Reward points : 0
    • Joined: 2016/05/03 13:52:42
    • Location: Germany
    • Status: offline
    Re: Legacy project using a PIC16F684 – No System or Pin module view? 2019/08/23 13:38:45 (permalink)
    0
    @ all
    Assembly might have been used on these old devices due to the performance and memory restrictions. (C most times comes with a bit of overhead unless you write extremely low-level, non-portable C code.
    Porting to the latest devices is not trivial (I had a port from '1305 to '15324 shere it turned out that about every configuration works slightly different on the newer devices), but doable. The reward is way more performance and way more memory.

    PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
    #5
    BobFozzy
    New Member
    • Total Posts : 2
    • Reward points : 0
    • Joined: 2019/08/22 07:51:11
    • Location: UK
    • Status: offline
    Re: Legacy project using a PIC16F684 – No System or Pin module view? 2019/09/16 01:17:44 (permalink)
    0
    Hi Folks,
    Many Thanks for the feedback. I had suspected that the chip was somewhat prehistoric, and support might be limited, but thought it best to check in case I had missed something.
    For the problem that sparked the original enquiry, I suspect finger trouble in production, so fortunately it seems to have gone away for now.
    Best Regards to all,
    Bob Fozzy
    PS Apologies for delay in updating but I been away on hols and had a few other issues to deal with.

    Bob Fozzy
    #6
    Jump to:
    © 2019 APG vNext Commercial Version 4.5