PICmicro can not be erased.

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
User avatar
rene
Posts: 56
Joined: Sun Sep 13, 2009 11:27 am
Location: Dordrecht - Nederland
Has thanked: 5 times
Been thanked: 2 times
Contact:

PICmicro can not be erased.

Post by rene »

Hi,
While using the EB-006 multiprogrammer, i'ts not possible to write the 16F628 more than once.
message = PICmicro can not be erased.
I got this error message almost always, but sometimes it succeeds.
I've posted this problem earlier,

With a other programmer it's no problem to program the pic.

who knows what the problem is?

Launching the programmer...
C:\Program Files\Matrix Multimedia\Flowcode V4\tools\PPP\PPPv3.exe -cs 2 -chip PIC16F628A -nogui "Wieltext.hex"
Sending program...
Erasing the PICmicro
NOTE: EEPROM data will also be erased!

.....................................................................

Writing program memory
Writing configuration memory
Writing id-locations
Reading program memory
Reading configuration memory
Finished reading PICmicro contents
Programming failed:

Program memory check failed

(NOTE: if the PIC is code-protected, this message will be
displayed even if the program has been sent correctly)
That took 21.094 seconds

Return code = 0

FINISHED

Albert38
Posts: 23
Joined: Mon Jan 18, 2010 8:40 am
Has thanked: 2 times
Contact:

Re: PICmicro can not be erased.

Post by Albert38 »

Try this:
Put the clock jumpers to OSC and place the switches as follows.
SW1 - Fast
SW2 - RC

User avatar
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: PICmicro can not be erased.

Post by Benj »

Hello,

You could also try resetting the device just before you send the program. This seems to work on some of the more unruly PIC devices. (1 I've come across so far)

Post Reply