Flowcode to MPLAB PIC16F18875

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
Stany
Posts: 3
Joined: Thu Mar 12, 2020 3:55 pm
Been thanked: 1 time

Flowcode to MPLAB PIC16F18875

Post by Stany »

Hi Guys and Gals

Im trying to convert a program ive made in flowcode into Hex so that i can import into MPLAb for use with my Microchip Curiosity HPC board with a PIC16F18875

Flowcode has been great to help me visualise and simulate my code but now i need it to work in the real world.

When i import my HEX as a prebuilt code it works fine but when i come to Program the chip i get the below error:

The low voltage programming feature requires the LVP configuration bit to be enabled on the target device. Please enable this configuration bit and try the operation again.


Can anyone help?

Thanks
Attachments
Flowcode2.hex
(4.57 KiB) Downloaded 185 times

Stany
Posts: 3
Joined: Thu Mar 12, 2020 3:55 pm
Been thanked: 1 time

Re: Flowcode to MPLAB PIC16F18875

Post by Stany »

flowCapture.PNG
(132.06 KiB) Downloaded 630 times
Flowcode2.fcfx
(11.76 KiB) Downloaded 174 times

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: Flowcode to MPLAB PIC16F18875

Post by medelec35 »

Hi,
Reading your hex file, LVP is disabled.
Microchip Curiosity HPC board must have it enabled.
Within Flowcode, go to Build, Project Options, configuration settings.
Scroll down to Low Voltage Programming Enable bit.
Change to Enabled.
Martin

Stany
Posts: 3
Joined: Thu Mar 12, 2020 3:55 pm
Been thanked: 1 time

Re: Flowcode to MPLAB PIC16F18875

Post by Stany »

Thanks Martin, i guess the clue was in the error message :lol:

Appreciated!

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: Flowcode to MPLAB PIC16F18875

Post by medelec35 »

Hi Stany,
Stany wrote:i guess the clue was in the error message
Yes it was :lol: , but I also needed to check if present within hex file or not to determine if an issue with your software or MPLABx.
So long as all is working, That's the main thing.
Stany wrote:Appreciated!
Pleasure. :)
Martin

Post Reply