Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top