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.
Compiler ERROR PIC18F57Q84
-
medelec35
- Valued Contributor
- Posts: 2300
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 715 times
- Been thanked: 775 times
Re: Compiler ERROR PIC18F57Q84
Here my hexa file.
- Attachments
-
- 260608-18F57Q84-4.zip
- (445 Bytes) Downloaded 33 times
-
medelec35
- Valued Contributor
- Posts: 2300
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 715 times
- Been thanked: 775 times
Re: Compiler ERROR PIC18F57Q84
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?
You did not answer the question about the how is mclr pin is connected.
High, low or left unconnected?
Martin
Re: Compiler ERROR PIC18F57Q84
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.
I am uploading the hexadecimal file, which was compiled in FC11 and read from the downloaded file.
Thank you for your interest.
- Attachments
-
- 2026-06-10 .png (106.53 KiB) Viewed 151 times
-
- 260608-18F57Q84-4.zip
- (445 Bytes) Downloaded 32 times
-
medelec35
- Valued Contributor
- Posts: 2300
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 715 times
- Been thanked: 775 times
Re: Compiler ERROR PIC18F57Q84
Hello
It's the microcontroller contents that I wanted you to upload.
Not interested in the hex file that Flowcode generated.
No, that was not what I wanted, maybe it was my wording.
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.
Martin
Re: Compiler ERROR PIC18F57Q84
Here my file
Thank you
Thank you
- Attachments
-
- PIC18F57Q84.zip
- (25 KiB) Downloaded 17 times
-
medelec35
- Valued Contributor
- Posts: 2300
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 715 times
- Been thanked: 775 times
Re: Compiler ERROR PIC18F57Q84
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.
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.
Martin