can't program a PIC using PICPROG (linux) for the second time (after first burning)

Status
Not open for further replies.

vinodstanur

Advanced Member level 3
Joined
Oct 31, 2009
Messages
751
Helped
114
Reputation
234
Reaction score
114
Trophy points
1,333
Location
Kerala (INDIA)
Activity points
7,054
I can't program a PIC using picprog in linux after first successful burning. I mean it is showing following error.
---------------------------------------------------------------------------------------------------------------------------------------
vinod@ubuntu:~/pic$ sudo picprog --erase --burn --slow --input-hexfile=877.hex --reboot
[sudo] password for vinod:
Picprog version 1.9.1, Copyright © 2010 Jaakko Hyvätti <Jaakko.Hyvatti@iki.fi>
Picprog comes with ABSOLUTELY NO WARRANTY; for details
type `picprog --warranty'. This is free software,
and you are welcome to redistribute it under certain conditions;
type `picprog --copying' for details.

Trying realtime priority 1
Bound to CPU 0
Power off.
Using 10 µs delays.
/dev/ttyS0: id 0x0e28: detected pic16f877a version 0x08
Device pic16f877a, program memory: 8192, data memory: 256.
Erased and removed code protection.
Burning program memory,/dev/ttyS0:00a5: programmed=3027, read=3003:unable to verify pic while programming.
Is code protection enabled, or does the chip need to be
erased completely before programming?
Use --erase option to disable code protection.
------------------------------------------------------------------------------------------------------------------------------------------------
 

i think that u are enabling write protection try after disable them with a new ic
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…