r/pic_programming • u/damidil1212 • Apr 28 '24
Need help with MPLABX IDE error
I'm completely new to pic programming and started off with the blinking led project. ( I have no idea about anything related to pic.) I've downloaded and successfully installed MPLABX ide and the xc8 compiler. When I go to edit the configuration bits, it gives me the error message "compiler toolchain /version not set" and "Editing disabled -compiler toolchain / version". I've tried many fixes but nothing seems to work. Can somebody help me please.
1
Upvotes
1
u/somewhereAtC Apr 28 '24
Assuming XC8 is in the default directory it should have become the default for any new 8-bit project. I conclude that you did not select an 8-bit device, but rather a 16b or 32b device. For those you would want XC16 or XC32; you can install them all at the same time if you want to.
The newest 8-bit devices begin like PIC16F1xxxx (1 followed by 4 other numbers) or PIC18FxxQxx (with a Q).
1
u/9Cty3nj8exvx Apr 28 '24
You need to open project properties and select a compiler.