Error "Unrecognised chip on command line: <PIC16LF1936>"
Moderator: Benj
Error "Unrecognised chip on command line: <PIC16LF1936>"
Hello
I will write a program for the PIC 16F136.
My problem is I only found the 16LF1936 and if I configure the Chip I get the error
"Unrecognised chip on command line: <PIC16LF1936>"
Please can you help me
I will write a program for the PIC 16F136.
My problem is I only found the 16LF1936 and if I configure the Chip I get the error
"Unrecognised chip on command line: <PIC16LF1936>"
Please can you help me
Re: Error "Unrecognised chip on command line: <PIC16LF1936>"
Hello
the same error occurance with the PIC 16LF1933, -1934, -1936, -1937, -1938 and PIC 16LF1939
the same error occurance with the PIC 16LF1933, -1934, -1936, -1937, -1938 and PIC 16LF1939
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: Error "Unrecognised chip on command line: <PIC16LF1936>"
hello,
for the 16LF series you need to use the free hitech compiler.
Instructions on how to do this are available here: http://www.matrixmultimedia.com/mmforum ... =26&t=6812
for the 16LF series you need to use the free hitech compiler.
Instructions on how to do this are available here: http://www.matrixmultimedia.com/mmforum ... =26&t=6812
-
medelec35
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Error "Unrecognised chip on command line: <PIC16LF1936>"
Dave, Could the problem be caused by 16LF1936 not added to PPP.
But 16F1936 is.
So if the HjH adds the 16F19xx fcd range to Matrix Multimedia\Flowcode V4\FCD
Then re-selcts 16F1936 this may solve the poblem?
Martin
But 16F1936 is.
So if the HjH adds the 16F19xx fcd range to Matrix Multimedia\Flowcode V4\FCD
Then re-selcts 16F1936 this may solve the poblem?
Martin
- Attachments
-
- 16F19xxfcd.zip
- (17.62 KiB) Downloaded 296 times
Martin
Re: Error "Unrecognised chip on command line: <PIC16LF1936>"
Hello
the download couldn't correct the problem and the HI-TECH compiler say error "not defined identifier/variable "OPTION" " . I have now a PIC 16LF1937 and 16LF1939
Please can you help me
the download couldn't correct the problem and the HI-TECH compiler say error "not defined identifier/variable "OPTION" " . I have now a PIC 16LF1937 and 16LF1939
Please can you help me
-
medelec35
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Error "Unrecognised chip on command line: <PIC16LF1936>"
You need to change
with
in the definition file to for your target device.
See:
http://www.matrixmultimedia.com/mmforum ... 253#p24859
Martin
Code: Select all
#define option OPTIONCode: Select all
#define option_reg OPTION_REG See:
http://www.matrixmultimedia.com/mmforum ... 253#p24859
Martin
Martin
Re: Error "Unrecognised chip on command line: <PIC16LF1936>"
Hi
if I change "#define option OPTION" with "#define option_reg OPTION_REG" the same error occure.
If I change "option_reg = C0" with "OPTION_REG = C0" then I have no error
What I am doing wrong.
if I change "#define option OPTION" with "#define option_reg OPTION_REG" the same error occure.
If I change "option_reg = C0" with "OPTION_REG = C0" then I have no error
What I am doing wrong.
-
medelec35
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Error "Unrecognised chip on command line: <PIC16LF1936>"
It could be you have a different version of Hitec perhaps?
Developer could have changed the way Hitec compiler works on a new revision, but that's only a guess.
Can you post the contents of error file e.g
The only other thing I can think off is:
Go into the Hitec include folder e.g if 32bit windows
open pic16F1936.h with a text editor, and do a search for
In my file I have:
That's why
I believe the upper case word of OPTION_REG within Flowcode definitions file,
has to match upper case word of OPTION_REG within pic16F1936.h
So you may need to check they match 100%
It you can't get it to work still, I wont be able to help you any more, so will have to leave to the experts like Ben.
Martin
Developer could have changed the way Hitec compiler works on a new revision, but that's only a guess.
Can you post the contents of error file e.g
Code: Select all
C:\Program Files\HI-TECH Software\PICC\9.80\bin\picc.exe --CHIP=16F1824 -N48 HC16f1824Test.c
HC16f1824Test.c: main()
79: option_reg = 0xC0;
^ (192) undefined identifier "option_reg"
HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode) V9.80
Copyright (C) 2010 Microchip Technology Inc.
(890) Your evaluation period has ended. To continue to experience maximum performance, contact HI-TECH Software to purchase a license. (warning)
(1273) Omniscient Code Generation not available in Lite mode (warning)
(908) exit status = 1
Return code = 1Go into the Hitec include folder e.g
Code: Select all
C:\Program Files\HI-TECH Software\PICC\9.80\includeopen pic16F1936.h with a text editor, and do a search for
Code: Select all
optionCode: Select all
// Register: OPTION_REG
// Option Register
volatile unsigned char OPTION_REG @ 0x095;Code: Select all
#define option_reg OPTION_REGhas to match upper case word of OPTION_REG within pic16F1936.h
So you may need to check they match 100%
It you can't get it to work still, I wont be able to help you any more, so will have to leave to the experts like Ben.
Martin
Martin
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Error "Unrecognised chip on command line: <PIC16LF1936>"
Hello,
Here is a new definitions file to try. This should be copied into your Flowcode/FCD folder before starting Flowcode. Once you have done this you should no longer require any definitions to be placed into the supplementary code window.
Right click the link and select save as.
http://www.matrixmultimedia.com/software/definitions.h
Let me know how you get on.
Here is a new definitions file to try. This should be copied into your Flowcode/FCD folder before starting Flowcode. Once you have done this you should no longer require any definitions to be placed into the supplementary code window.
Right click the link and select save as.
http://www.matrixmultimedia.com/software/definitions.h
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Error "Unrecognised chip on command line: <PIC16LF1936>"
Hi,
thank you for the help. The chip is running
thank you for the help. The chip is running