HI All
I have just come back to compile a hex file and I have been getting errors, even though I changed nothing at this point. I did try to make some changes in the compiler options but still having issues. I will attach a screen shot I am hoping someone can point me in the right direction please.
Problem programming
-
peterhalloway
- Posts: 36
- http://meble-kuchenne.info.pl
- Joined: Sat Nov 20, 2021 11:28 am
- Has thanked: 1 time
-
medelec35
- Valued Contributor
- Posts: 2270
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 697 times
- Been thanked: 768 times
Re: Problem programming
Please don't screenshot compiler messages.
Either attach .msg.txt file or copy and paste messages within a forum code tags.
From what I can see the original compiler settings have been manually overwritten.
Within Build > Compiler Options... For the PIC section you should have...
Location:
Parameters:
If your Location and parameters are different, what have you got?
Either attach .msg.txt file or copy and paste messages within a forum code tags.
From what I can see the original compiler settings have been manually overwritten.
Within Build > Compiler Options... For the PIC section you should have...
Location:
Code: Select all
$(fcddir)PIC\batch\pic_xc8_comp.batParameters:
Code: Select all
"$(compilerpic)" $(chip) "$(outdir)" "$(target)"Martin
-
peterhalloway
- Posts: 36
- Joined: Sat Nov 20, 2021 11:28 am
- Has thanked: 1 time
-
peterhalloway
- Posts: 36
- Joined: Sat Nov 20, 2021 11:28 am
- Has thanked: 1 time
Re: Problem programming
just looked I have what you have posted
here is the offending error message
(902) no chip name specified; use "XC8 --CHIPINFO" to see available chip names
(908) exit status = 1
C:\Program Files (x86)\Flowcode\Compilers\picv2\pic\bin\xc8.exe reported error code 0x1
here is the offending error message
(902) no chip name specified; use "XC8 --CHIPINFO" to see available chip names
(908) exit status = 1
C:\Program Files (x86)\Flowcode\Compilers\picv2\pic\bin\xc8.exe reported error code 0x1
-
Steve-Matrix
- Matrix Staff
- Posts: 1806
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 258 times
- Been thanked: 415 times
Re: Problem programming
Hi Pete,
It looks like the error is because the parameters being passed to the toolchain are not appropriate, or you are sending those parameters to the wrong exe/batch file. This is because you have modified them in the "Compiler Settings" window of Flowcode.
If you compare what the default toolchain settings are with what you have, you may be able to work out what is wrong. Or please post your settings here as that might offer a clue to the problem.
Also, it might be worth explaining why you are using modified compiler settings as there may be a better way to achieve what you want.
It looks like the error is because the parameters being passed to the toolchain are not appropriate, or you are sending those parameters to the wrong exe/batch file. This is because you have modified them in the "Compiler Settings" window of Flowcode.
If you compare what the default toolchain settings are with what you have, you may be able to work out what is wrong. Or please post your settings here as that might offer a clue to the problem.
Also, it might be worth explaining why you are using modified compiler settings as there may be a better way to achieve what you want.