Compile problems after doing updates

Moderator: Benj

Posts: 12
Joined: Tue Dec 04, 2018 6:06 pm
Been thanked: 2 times

Compile problems after doing updates

Postby Bep » Tue Apr 09, 2019 11:46 pm

This is the second time this has happened to me. I check for updates in the help tab and download. After I restart the program and compile some existing code, the resulting hex file is corrupted.
I am using a PIC16LF15354.
Before updating, I created a project, compiled it and uploaded to my device and tested it. A copy of the hex file was placed in a "safe" directory. After this I downloaded all updates that were listed. It looks like I was a couple updates back for the main program and PIC chip. After restarting FlowCode, I opened the same project, re-compiled and uploaded it again to my device.
The device does not respond correctly at all now. It will sense an input switch and briefly blink one LED. Just for reference, with the proper file, it should light a few LEDs for a second, and keep another on for 20 seconds. Not to mention several other internal activities. If I take the original "safe" hex file and upload it with MPLAB, the device functions again as expected.
I had a very similar experience several weeks ago. Doing a total uninstall and re-install seemed to fix the problem. I really don't feel like doing that again unless I have to.
Is there any information out there regarding this behavior?


User avatar
Matrix Staff
Posts: 14790
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4752 times
Been thanked: 4358 times

Re: Compile problems after doing updates

Postby Benj » Thu Apr 11, 2019 10:25 am

Hello Bep,

Replying to your topic here.