Hi guys,
I'm working on a new project based on the PIC18F4685 and after programming a new MCU with a simple blink-a-led program the LED indeed blinked just fine. However, after modifying the original Flowcode program, I could no longer erase or write the MCU, it failed everytime. I was able to write the program to a new (out of the box) MCU, but after that I too was unable to write to it again. I checked the configuration; code protect wasn't enabled.
I tried erasing both the MCUs directly in PPP v3.9.12.26 (hardware EB-006, firmware version 7), but couldn't erase them there either. PPP was able to correctly identify the MCUs and erasing other MCUs (16F877a, 16F88 and 18F4450) works fine.
I searched the forums and this thread describes a similar problem: http://www.matrixmultimedia.com/mmforum ... t=18f4685
, it wasn't resolved however.
Anybody got an idea how to resolve this? Thanks in advance.
Regards,
Paul
Can't erase/write PIC18F4685
Re: Can't erase/write PIC18F4685
Some additional information about the programming bug: it must be related to the way the PIC18F4685 is defined in PPP/Flowcode, since I'm able to write, read and erase the MCU just fine with MPlab and the PICkit2.
So the PICkit2 works and the EB-006 doesn't. Why?
So the PICkit2 works and the EB-006 doesn't. Why?
- 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: Can't erase/write PIC18F4685
Hello Paul
I will look into this problem for you and see if I can find a solution.
I will look into this problem for you and see if I can find a solution.
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
- 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: Can't erase/write PIC18F4685
Hello
I have managed to get hold of some of the 18F4685 devices now and have managed to fix the programming problem.
Attached is an updated configuration file. Simply extract this file into the following location.
a) if you are using Flowcode V4.
C:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PPP
b) If you are using Flowcode V3, V2, C4PICs, ASM4PICs etc.
C:\Program Files\Matrix Multimedia\Common\PPPv3
Let me know how you get on.
I have managed to get hold of some of the 18F4685 devices now and have managed to fix the programming problem.
Attached is an updated configuration file. Simply extract this file into the following location.
a) if you are using Flowcode V4.
C:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PPP
b) If you are using Flowcode V3, V2, C4PICs, ASM4PICs etc.
C:\Program Files\Matrix Multimedia\Common\PPPv3
Let me know how you get on.
- Attachments
-
- PPP.zip
- (80.08 KiB) Downloaded 441 times
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
Re: Can't erase/write PIC18F4685
Hi Ben,
The new configuration files for PPP work like a charm
Thank you very much.
Paul
The new configuration files for PPP work like a charm
Thank you very much.
Paul