Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 09, 2016, 10:34:51 10:34


Login with username, password and session length


Pages: [1]
Print
Author Topic: PIC16F628A  (Read 3316 times)
0 Members and 1 Guest are viewing this topic.
hogar
Newbie
*
Offline Offline

Posts: 28

Thank You
-Given: 7
-Receive: 13


« on: March 12, 2012, 08:27:55 08:27 »

Does anyone know how to extract the program from ??
Logged
zawmintun1
Active Member
***
Offline Offline

Posts: 118

Thank You
-Given: 400
-Receive: 24


« Reply #1 on: March 12, 2012, 08:33:08 08:33 »

Search in google as PIC Disassembler
Logged
Magnox
V.I.P
Active Member
*****
Offline Offline

Posts: 208

Thank You
-Given: 775
-Receive: 238


Oink!


« Reply #2 on: March 12, 2012, 08:57:07 08:57 »

Connect a programmer to it and select the option to read the target's memory. That will get you the hex file which can be opened in a disassembler.

That's assuming the code protection is not enabled.

What are you trying to do exactly?
Logged
hogar
Newbie
*
Offline Offline

Posts: 28

Thank You
-Given: 7
-Receive: 13


« Reply #3 on: March 12, 2012, 01:29:06 13:29 »

I try to "borrow" idea of
device for monitoring
seed corn in the pneumatic planter... Roll Eyes
which
programmer would be the best for this attempt???
Logged
Sideshow Bob
Senior Member
****
Offline Offline

Posts: 457

Thank You
-Given: 160
-Receive: 495



« Reply #4 on: March 12, 2012, 01:53:22 13:53 »

This will not work if the chip has code protection on Wink Which I think is most likely. But is does not hurt to try. A PICKIT 2 or 3 should do the job for you
Logged

I really am ruggedly handsome, aren't I?
kayvee
Active Member
***
Offline Offline

Posts: 145

Thank You
-Given: 81
-Receive: 90


« Reply #5 on: March 12, 2012, 02:40:32 14:40 »

Even the older Picstart Plus would work just fine.

As Bob said above, code protection will be set on most all commercial projects, but then you never know...

If set, it is probably easier to write the code yourself from scratch.
Logged
pjmelect
Newbie
*
Offline Offline

Posts: 7

Thank You
-Given: 1
-Receive: 3


« Reply #6 on: March 16, 2012, 10:55:09 10:55 »

It is possible to get around the code protection bits being set on a PIC processors. The trick is to increase the programing voltage and only write to the code protection bits. This blows the code protection bits and sets them to a logic one enabling you to read the PIC's contents. This is a high risk operation and the PIC is useless afterward for normal use.
Logged
ZASto
V.I.P
Newbie
*****
Offline Offline

Posts: 18

Thank You
-Given: 62
-Receive: 10



WWW
« Reply #7 on: March 17, 2012, 11:27:28 11:27 »

Best for "borrowing" someone else's ideas: http://www.break-ic.com
When you get the "code" than you can disassemble it Smiley
Logged

Make no mistake between my personality and my attitude.
My personality is who I am.
My attitude depends on who you are.
alfonsoagama
Junior Member
**
Offline Offline

Posts: 49

Thank You
-Given: 35
-Receive: 27



« Reply #8 on: May 18, 2012, 01:55:54 13:55 »

I try to "borrow" idea of
device for monitoring
seed corn in the pneumatic planter... Roll Eyes
which
programmer would be the best for this attempt???
You need to do is reverse Engineering.
Try to do with a USB logic analyzer.
It's very simple.
1.- Identify Inputs and Outputs
2.- Read them with the logic analyzer
3.- Interpret Output conditions.
4.- Program the source code for a new chip like PIC16F628A or another similar that behaves as the original and simulate it on Proteus.
5.- Make a Prototype PCB
6.- Probe it.
Good Luck
Logged
dotm
Active Member
***
Offline Offline

Posts: 149

Thank You
-Given: 61
-Receive: 47


C15H15NO2S


« Reply #9 on: May 19, 2012, 02:34:32 02:34 »

just for information, there are some ways to extract the flash from a pic mcu with blown fuses.

"Another  example  is  an  old  PIC16F84 microcontroller  from Microchip  [91].  The  chip  erase
operation removes  the security protection but at  the same  time erases  the contents of program
and data memories on the chip. The hardware design of the security protection circuit is made
such  that  the memory  is  always  erased  before  the  security  fuse  is  reset  to  the  initial  state.
However  it  was  found  that  if  during  the  chip  erase  operation  the  power  supply  voltage  is
increased to about 10 V for a few milliseconds it causes the memory erase process to terminate
but  the  security  fuse  reset  finishes  as  usual  making  it  possible  to  read  the  contents  of  the
memory. Such a high voltage pulse  should be applied carefully as  increasing  its  length could
permanently damage  the chip. The  later revision of  this microcontroller, PIC16F84A [92], has
protection  against  under-  and  over-voltage  attacks.  Any  memory  modification  operations
performed  via  the  programming  interface  are  immediately  terminated  if  the  power  supply
voltage goes below 3 V or above 6 V.   62
It  is  not  always  necessary  for  the  power  glitches  to  be  outside  the  specified  power  supply
voltage range. For example, in the same PIC16F84A microcontroller the protection mechanism
can be defeated by applying a mere 50 mV glitch after the chip erase operation has started. That
causes termination of the program memory erase operation but not the fuse erase. "

from
http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-630.pdf

also look here:
http://www.cl.cam.ac.uk/~sps32/mcu_lock.html
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC