Search code examples
picmplab-x

MPLAB X IDE - Script Engine is not Supported


In using the Pickit4 for flashing the code.

When I first open the MPLAB X IDE and use the Make and Flash button to flash the MCU, it works fine.

But the next time in the same session, the Make and Flash button goes grey and does not do anything and I get and error saying:

Failed to initialize PICkit 4.

Then when I try to clean and build, I get an error saying:

Script engine is not supported.

I have tried deleting the persistent files and starting fresh, but the errors remain. I tried with multiple different projects, but I still have the same issue.

I'm not sure what do do next?
Is it a PICkit 4 issue?
How can I fix this?


Solution

  • I started seeing the same thing today. Worked fine for months until now. No MCC installed. Turns out some packs were out of date. I updated them and everything is back to normal so far.

    PicKit 4 Product Version: MPLAB X IDE v6.05 Windows 10 Pro 22H2 PIC16F887