I cannot compile to a pic 16F690.
the error message is:
Compilation successful!
Using «PICkit3 PK3CMD Extemal Power> inbuilt settings for linker
Launching the linker/assembler...
C: \Program Files (x86) \Flowcode v10 tools \DoNothing \DoNothing.exe
Using <PICkit3 PK3CMD Extemal Power› inbuilt settings for programmer
Launching the programmer...
C: \Program Files (x86) \Flowcode v10\tools\PICkit3\PK3CMD exe -P16F690 -F"pic test2.hex" -E -M -L
Illegal command line parameter L
C: \Program Files (×86) \Flowcode v10\tools \PICkit3\PK3CMD exe reported error code Qx1
Autoclose tumed off
FINISHED
i have tried changing the parameter -L to -V5 or -V3.3v to no avail.
Can anybody help?
compile to pic
-
rufusfeline
- Posts: 8
- http://meble-kuchenne.info.pl
- Joined: Thu May 16, 2024 3:32 am
- Been thanked: 1 time
-
BenR
- Matrix Staff
- Posts: 2254
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 618 times
- Been thanked: 818 times
Re: compile to pic
Hello,
The -L parameter is for 16-bit PICs only, try removing the -L and hopefully it should work.
https://www.flowcode.co.uk/wiki/index.p ... ming_Tools
The -L parameter is for 16-bit PICs only, try removing the -L and hopefully it should work.
https://www.flowcode.co.uk/wiki/index.p ... ming_Tools
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
rufusfeline
- Posts: 8
- Joined: Thu May 16, 2024 3:32 am
- Been thanked: 1 time
Re: compile to pic
Hi Ben, i have found changing the parameters does not work, it failed to initialize.
I tried compiling to HEX, using the MPLABX IPE v5.50. it programmed the pic as far as correctly assigning ports but didn't program the delay function.
osc, timer ? Any advice?
would changing the Pickit 3 to pickit 4 help with the compile to target?
thanks again.
I tried compiling to HEX, using the MPLABX IPE v5.50. it programmed the pic as far as correctly assigning ports but didn't program the delay function.
osc, timer ? Any advice?
would changing the Pickit 3 to pickit 4 help with the compile to target?
thanks again.
-
rufusfeline
- Posts: 8
- Joined: Thu May 16, 2024 3:32 am
- Been thanked: 1 time
Re: compile to pic
Further to the above, the clk out on the pic measured at 1mhz, i thought it should be 1/4 of the osc?
my project options were: 16F690, internal RC clock out, 20mhz clock speed, no watch dog, programmer port n/a.
any help is appreciated.
my project options were: 16F690, internal RC clock out, 20mhz clock speed, no watch dog, programmer port n/a.
any help is appreciated.
-
rufusfeline
- Posts: 8
- Joined: Thu May 16, 2024 3:32 am
- Been thanked: 1 time
-
medelec35
- Valued Contributor
- Posts: 2331
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 726 times
- Been thanked: 785 times
Re: compile to pic
Hellorufusfeline wrote: ↑Mon Jul 27, 2026 4:27 amI have changed the clock speed to 4mhz, the delay now works!!
These posts relate to you as the default internal osc speed is 4MHz.
On the above link there should be enough information to change the internal osc speed from 4 MHz to the maximum internal osc speed 8 MHz
Martin
-
rufusfeline
- Posts: 8
- Joined: Thu May 16, 2024 3:32 am
- Been thanked: 1 time