Hi Guys
for some reason I'm unable to compile to the chip i have tried in V7 and V9 same problem I've tried using MPLAB 5.50 and just downloaded MPLAB 6 both give me the same error (Illegal command line parameter T) have no clue what to do to rectify this.
ESP32 Compiling error
-
- Posts: 129
- http://meble-kuchenne.info.pl
- Joined: Mon Mar 08, 2021 11:25 am
- Location: Cape Town South Africa
- Has thanked: 40 times
- Been thanked: 11 times
-
- Posts: 129
- Joined: Mon Mar 08, 2021 11:25 am
- Location: Cape Town South Africa
- Has thanked: 40 times
- Been thanked: 11 times
Re: ESP32 Compiling error
Hi Leigh
This is really strange as i have been using these settings for years and it worked. I have not been working with pic for a while been playing with the ESP32 so not sure when this problem started.
The compiler settings are as follows
Location
$(fcddir)PIC\batch\pic_xc8_comp.bat
Parameters
"$(compilerpic)" $(chip) "$(outdir)" "$(target)"
If i compile to hex it complies and yes i am using a PIC18LF46K80 and a pickit3 programmer. I have checked in MPLABX and the programmer is working and can read the chip on the board
What i have noticed is that in program options there is no program ports which is strange as i can read the programmer in MPLABX
This is really strange as i have been using these settings for years and it worked. I have not been working with pic for a while been playing with the ESP32 so not sure when this problem started.
The compiler settings are as follows
Location
$(fcddir)PIC\batch\pic_xc8_comp.bat
Parameters
"$(compilerpic)" $(chip) "$(outdir)" "$(target)"
If i compile to hex it complies and yes i am using a PIC18LF46K80 and a pickit3 programmer. I have checked in MPLABX and the programmer is working and can read the chip on the board
What i have noticed is that in program options there is no program ports which is strange as i can read the programmer in MPLABX
-
- Valued Contributor
- Posts: 181
- Joined: Wed Dec 02, 2020 7:28 pm
- Has thanked: 73 times
- Been thanked: 63 times
Re: ESP32 Compiling error
Iirc mplabx and the command line programmer require different firmware in the pickit, however you are not getting to that point yet.
Looking at the output the settings for the programmer are wrong for this version of the MPLA’s software. What are the settings in FC for the programmer? (Not compiler or linker)
Looking at the output the settings for the programmer are wrong for this version of the MPLA’s software. What are the settings in FC for the programmer? (Not compiler or linker)
-
- Valued Contributor
- Posts: 1224
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 119 times
- Been thanked: 628 times
Re: ESP32 Compiling error
It's an expensive fix but pickitplus (https://www.pickitplus.co.uk/Typesetter/) is very good...
Martin
Martin
-
- Valued Contributor
- Posts: 181
- Joined: Wed Dec 02, 2020 7:28 pm
- Has thanked: 73 times
- Been thanked: 63 times
Re: ESP32 Compiling error
Using different software won’t solve the issue of the wrong arguments being supplied to the software. (It will require different arguments requiring changes to the settings anyway so why not fix them for the current tool)
-
- Posts: 129
- Joined: Mon Mar 08, 2021 11:25 am
- Location: Cape Town South Africa
- Has thanked: 40 times
- Been thanked: 11 times
Re: ESP32 Compiling error
The Programmer settings are as follows
Location
C:\Program Files\Microchip\MPLABX\v6.00\mplab_platform\mplab_ipe\pk3cmd.exe
Parameters
/P$(chip) /F"$(outdir)$(target).hex" /TPPK3 /M /OL
Location
C:\Program Files\Microchip\MPLABX\v6.00\mplab_platform\mplab_ipe\pk3cmd.exe
Parameters
/P$(chip) /F"$(outdir)$(target).hex" /TPPK3 /M /OL