Hi,
When trying to download a hex file, generated by FC7, to the PIC24 using Microchip IPE3.51 and a PICKit3, I get the following error message:
configuration memory
Address: 157fc Expected Value: bf57 Received Value: b757
Failed to program device
2017-09-20 16:19:18 +0200 - Programming failed
I have changed settings in Config Word 2 and get the following e.g. FC gives a value of 0xfa35 and IPE gives "Expected Value: ba35 Received value b235" or FC gives a value of fa17 and IPE gives "Expected Value: ba17 Received value b217", as if bit 11 is permanently 0.
Can someone please offer some suggestions as to how to resolve this?
Kind regards.
Leo
PIC24FJ128GA202 PICKit3 Programming problem
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: PIC24FJ128GA202 PICKit3 Programming problem
Hi Leo,
We default to an erased / unprogrammed / set bit for the unused configuration bits. Usually this is fine but occasionally it can cause a problem, like the problem you're seeing. I'm guessing the chip has a bit reserved which has to always be 0 and this is causing the verification fail.
Luckily in Flowcode you can simply type in the value you want to set. I changed the value here from 0xbf57 to 0xb757 without any of the settings changing.
Hopefully this should solve the problem for you.
We default to an erased / unprogrammed / set bit for the unused configuration bits. Usually this is fine but occasionally it can cause a problem, like the problem you're seeing. I'm guessing the chip has a bit reserved which has to always be 0 and this is causing the verification fail.
Luckily in Flowcode you can simply type in the value you want to set. I changed the value here from 0xbf57 to 0xb757 without any of the settings changing.
Hopefully this should solve the problem for you.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel