<hello team
I always have this message from MPLAB IPE v6.00 when I want to load the hexcode. Warning: The hex file has the debug bit set. The debug bit has been cleared during load to memory. The original hex file has not been modified.
Thanks
Pic18F14K50 debug bit set
-
- Posts: 252
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
-
- Matrix Staff
- Posts: 1265
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 168 times
- Been thanked: 279 times
Re: Pic18F14K50 debug bit set
I've looked into this and it could possibly be a bug in the XC8 compiler because the DEBUG bit is being set wrong even though it is correct in Flowcode.
If this does not affect the program, then you can probably ignore it.
If this does not affect the program, then you can probably ignore it.
-
- Posts: 252
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: Pic18F14K50 debug bit set
Hi Steve,
I can't load the HEX code into MPLAB IPE v6.00 because of this.
is there any way around this error?
With kind regards
SpeedPic32
I can't load the HEX code into MPLAB IPE v6.00 because of this.
is there any way around this error?
With kind regards
SpeedPic32
-
- Valued Contributor
- Posts: 972
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 104 times
- Been thanked: 515 times
Re: Pic18F14K50 debug bit set
As a suggestion for a (very) temporary fix - a while ago I wrote a short program that read a hex file, found and modified a variable and wrote it out again (it incremented a serial number). I'm fairly sure out could be modified to clear the debug bit.. Then the batch file can be altered to add this as an initial step.
Also take a look at https://pickitplus.co.uk/Typesetter/ for an alternative to the mplab ipe for programming the hardware..
Martin
Also take a look at https://pickitplus.co.uk/Typesetter/ for an alternative to the mplab ipe for programming the hardware..
Martin
-
- Posts: 252
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: Pic18F14K50 debug bit set
Hello mnfisher
I use the ICD 3 programmer for programming.
It would be better to use another compiler without this error.
Sincerely SpeedPic32
I use the ICD 3 programmer for programming.
It would be better to use another compiler without this error.
Sincerely SpeedPic32
-
- Matrix Staff
- Posts: 1746
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 444 times
- Been thanked: 604 times
Re: Pic18F14K50 debug bit set
Hello,
Your original message indicated that the ipe was loading the file and automatically clearing the bit for you with a warning that the hex file wasnt edited. That indicates it is loading the file.
What makes you think it isn't loading the file?
Also you can use any version of xc8 you like with flowcode. We provide a known working version but the latest version should also work fine if you want to try that. Should be posts on the forum regarding how to set this up.
Your original message indicated that the ipe was loading the file and automatically clearing the bit for you with a warning that the hex file wasnt edited. That indicates it is loading the file.
What makes you think it isn't loading the file?
Also you can use any version of xc8 you like with flowcode. We provide a known working version but the latest version should also work fine if you want to try that. Should be posts on the forum regarding how to set this up.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 252
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times