Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 16, 2024, 09:40:25 21:40


Login with username, password and session length


Pages: [1]
Print
Author Topic: PIC16F628A  (Read 5337 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: 137

Thank You
-Given: 2068
-Receive: 26


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

Search in google as PIC Disassembler
Logged
Magnox
Active Member
***
Offline Offline

Posts: 249

Thank You
-Given: 976
-Receive: 279


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
Cracking Team
Hero Member
****
Offline Offline

Posts: 982

Thank You
-Given: 230
-Receive: 960



« 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 have come here to chew bubblegum and kick ass... and I'm all out of bubblegum
kayvee
Active Member
***
Offline Offline

Posts: 172

Thank You
-Given: 98
-Receive: 101


« 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
ZASto
Newbie
*
Offline Offline

Posts: 15

Thank You
-Given: 67
-Receive: 13



WWW
« Reply #6 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: 57

Thank You
-Given: 39
-Receive: 40



« Reply #7 on: May 18, 2012, 12:55:54 12: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: 179

Thank You
-Given: 81
-Receive: 75


$$$


« Reply #8 on: May 19, 2012, 01:34:32 01: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