Page 2 of 2
Re: Compiler ERROR PIC18F57Q84
Posted: Tue Jun 09, 2026 5:26 pm
by medelec35
is your MCLR pin fixed to 5V or floating?
Another potential issue could be the programmer is not sending the correct configuration settings?
Can you read the microcontrollers memory including config settings and upload it within this topic.
You will need to zip up the file as hex extensions are not accepted.
Re: Compiler ERROR PIC18F57Q84
Posted: Tue Jun 09, 2026 6:21 pm
by seokgi
The hardware has been thoroughly verified.
Re: Compiler ERROR PIC18F57Q84
Posted: Tue Jun 09, 2026 6:31 pm
by seokgi
The hardware has been thoroughly reviewed and is free of issues.
Re: Compiler ERROR PIC18F57Q84
Posted: Tue Jun 09, 2026 6:37 pm
by seokgi
Here my hexa file.
Re: Compiler ERROR PIC18F57Q84
Posted: Tue Jun 09, 2026 7:24 pm
by medelec35
Was the hex file generated by Flowcode, or downloaded directly from the chip via your programmer?
You did not answer the question about the how is mclr pin is connected.
High, low or left unconnected?
Re: Compiler ERROR PIC18F57Q84
Posted: Wed Jun 10, 2026 1:34 am
by seokgi
The MCLR signal is pulled up to 5V and connected to the MCU via a 100-ohm resistor.
I am uploading the hexadecimal file, which was compiled in FC11 and read from the downloaded file.
Thank you for your interest.
Re: Compiler ERROR PIC18F57Q84
Posted: Wed Jun 10, 2026 1:20 pm
by medelec35
Hello
seokgi wrote: ↑Wed Jun 10, 2026 1:34 am
I am uploading the hexadecimal file, which was compiled in FC11 and read from the downloaded file.
No, that was not what I wanted, maybe it was my wording.
medelec35 wrote: ↑Tue Jun 09, 2026 5:26 pm
Can you read the microcontrollers memory including config settings and upload it within this topic.
What I require is for you to connect the programmer up to the microcontroller, read all contents and save as a hex file.
It's the microcontroller contents that I wanted you to upload.
Not interested in the hex file that Flowcode generated.
Re: Compiler ERROR PIC18F57Q84
Posted: Wed Jun 10, 2026 4:20 pm
by seokgi
Here my file
Thank you
Re: Compiler ERROR PIC18F57Q84
Posted: Thu Jun 11, 2026 10:06 am
by medelec35
Hello.
Thanks for the requested file.
I have check the hex file and code from the microcontroller looks correct for toggling a pin.
Decoding the hex file it looks like the correct pin is being assigned and toggled.
An issue I could potentially see with your configuration settings is LVP is enaboed.
Are you programming via LVP or HVP?
An issue with LVP, is if pins B6 and B7 are left floating hen the chip can be forced into ghost programming mode.
Can you try disabling LVP and only program in HVP mode.
It will save future issues.
My conclusion is either LVP causing issue, or agreeing with Steve, its an hardware issue.