Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC16F1946 not available in MPlab

Status
Not open for further replies.

hmrox

Junior Member level 1
Joined
Nov 27, 2011
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,508
I'll trying to locate the PIC16F1946 in the MPLAB IDE 'select device' menu, but I'm unable to find it among the provided list. Is there any way to add it ? Also, the datasheet mentions all the configurations and example coding in Assembly language. Does this mean, that I would be unable to write the code for this PIC in C ? Thank you for your responses
 

Which compiler are you using? Which version of the compiler are you using?

Maybe you need to update the compiler and IDE to the latest version. That should solve the issue.
 

What version of MPLAB IDE do you currently have installed? You may need to upgrade, it is present in v8.70 or later.

Also make sure you are looking in the right place, 16F not 16C or 16LF.

The device can certainly be programmed using C language:

**broken link removed**

BigDog
 

16F1946 is a relatively recent microcontroller. If you check the Hi-Tech C v9.70 release notes ( ww1.microchip.com/downloads/en/DeviceDoc/hcpicp-readme.pdf ), you'll see that the 16F1946 was added to this version. So, it's likely you have an older version installed, assuming you're using Hi-Tech C.
 

While you may have to upgrade any compilers, the PIC16F1946 not present in the "Select Device" menu is actually due to the MPLAB IDE being outdated.

Upgrade the Microchip MPLAB IDE to the latest version will ensure the PIC16F1946 device being present in the "Select Device" menu.

BigDog
 
Ok.
So, the conclusion is:

In order to be able to select 16F1946 from the "Device Menu", MPLAB version must be v8.70 or later. If outdated, better to update to latest version.

In order to ensure that you can use the compiler to program for the device, the compiler should be updated (if Hi-Tech C, version must be 9.70 or later). If outdated, better to update to latest version.
 
  • Like
Reactions: hmrox

    hmrox

    Points: 2
    Helpful Answer Positive Rating
Thank you Bigdogguru and Tahmid for your responses and suggestions.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top