Close

Results 1 to 7 of 7
  1. #1
    DF VIP Member suityou69's Avatar
    Join Date
    Jun 2001
    Location
    East Mids
    Posts
    343
    Thanks
    15
    Thanked:        0
    Karma Level
    305

    Default PIC16C63A-04/SP Stupid Question time

    This probally shows my lack on knowledge in the area but please be gentle with the reply's

    Ive dabled in all sorts of hacking and cracking over the years but this is a new one on me. Someone I know has some software running on a PIC16C63A-04/SP chip, its a basic programme that sends various commands to a screen and activates a toggle for a motor.

    Thing is the guy that wrote the software is now dead and he copy protected it, he only wants to make a couple of slight tweaks to the motor toggle but to get it all re-written is going to cost and arm and a leg.

    Is there anyway of getting round the protection on the chip, or is it dependant on the software and the way its been protected/written?

    Sorry again for a dumbass question but didnt know where else to turn

    Thanks in advance

    An ever going grey

    Suityou69

  2. #2
    DF VIP Member doughboy's Avatar
    Join Date
    Jul 2001
    Location
    Beckenham
    Posts
    2,142
    Thanks
    139
    Thanked:        90
    Karma Level
    408

    Default Re: PIC16C63A-04/SP Stupid Question time

    http://www.chipcatalog.com/Doc/84C2D...A6C694A3E0.pdf

    looks like it has built in code protection.

    I wouldn't know how to change a register value of a pic chip though, in order to read out the memory.

  3. #3
    DF VIP Member
    Twincharge's Avatar
    Join Date
    Mar 2004
    Location
    Merseyside
    Posts
    486
    Thanks
    21
    Thanked:        26
    Karma Level
    306

    Default Re: PIC16C63A-04/SP Stupid Question time

    There is another way, painstakingly remove the chip resin and then throw UV light on the protection fuse to disable it. Not an easy or quick job but do-able.

    Also, usually only the first few bytes on the PIC chip are protected, you can usually work out the first few bytes if you spend a bit of time with it.

  4. #4
    DF VIP Member suityou69's Avatar
    Join Date
    Jun 2001
    Location
    East Mids
    Posts
    343
    Thanks
    15
    Thanked:        0
    Karma Level
    305

    Default Re: PIC16C63A-04/SP Stupid Question time

    For a simp like me - does it mean going thru each conbination of say the 1st line of code in order to be able to dump it, or should I be able to do a full dump, but that dump is protected in some way?

    Quote Originally Posted by Twincharge View Post
    There is another way, painstakingly remove the chip resin and then throw UV light on the protection fuse to disable it. Not an easy or quick job but do-able.

    Also, usually only the first few bytes on the PIC chip are protected, you can usually work out the first few bytes if you spend a bit of time with it.

  5. #5
    DF VIP Member
    Twincharge's Avatar
    Join Date
    Mar 2004
    Location
    Merseyside
    Posts
    486
    Thanks
    21
    Thanked:        26
    Karma Level
    306

    Default Re: PIC16C63A-04/SP Stupid Question time

    Quote Originally Posted by suityou69 View Post
    For a simp like me - does it mean going thru each conbination of say the 1st line of code in order to be able to dump it, or should I be able to do a full dump, but that dump is protected in some way?
    You must remember that the PIC chips are not just eeproms but processors with embedded eeprom also. Usually only the first few bytes of the eeprom are protected, so in effect you will be able to see a partial dump.

    If you want to complete the missing bytes, I just follow the memory mappings based on the PIC processor arcitecture and attempt to 'complete' the code.

    I will upload some more details tomorrow.

  6. #6
    DF VIP Member suityou69's Avatar
    Join Date
    Jun 2001
    Location
    East Mids
    Posts
    343
    Thanks
    15
    Thanked:        0
    Karma Level
    305

    Default Re: PIC16C63A-04/SP Stupid Question time

    Ahhh I see what you mean now, thanks for putting it in my terms and look forwards to your uploads.

    I really appriciate the guidance and pointers - learning tons and loving it !

    Steve

  7. #7
    DF VIP Member keyscoob's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    1,222
    Thanks
    0
    Thanked:        2
    Karma Level
    391

    Default Re: PIC16C63A-04/SP Stupid Question time

    Here is my 12c508a deprotection tutorial that I put together a long while back now. The exact same technique would apply to your situation. The only difference may be the location of the CP fuses on the dye.

    http://www.rampantapathy.co.uk/12c508a.html

    It is not always the case that only 'first few' bytes of compiled code are protected. More often than not it is the other way around.

    OTP (one time programmable) devices like yours tend to only have one set of CP (code protect fuses) and therefore are easier to attack. There is little chance of any passivation or anti-tamper mesh etc been present within your device.

    You may find that your PIC is prone to power and/or glitch attacks but without the proper control software this would be very hard for you to do.

    If you are decapsulating then use 100% Pure Fuming Nitric Acid to desolve the epoxy. Little else will work.

    I suspect that the easiest route will be to 'blackbox' your PIC, by this I mean to log the input and output pins and emulate its function in software such as Proton BASIC etc.

    Hope this helps.

    Good Luck...

Similar Threads

  1. Whats your favourite Spectrum game of all time?
    By BFG in forum Old Skool Gaming & Retro
    Replies: 92
    Last Post: 20th September 2006, 09:43 AM
  2. Greatest Movie Of All Time?
    By stei in forum Movie Talk
    Replies: 61
    Last Post: 27th September 2002, 09:40 PM
  3. redirect question
    By Psychoschiz in forum Web Hosting & Domain Names
    Replies: 2
    Last Post: 26th September 2002, 04:09 PM
  4. Quick Saturn question
    By doughboy in forum Old Skool Gaming & Retro
    Replies: 1
    Last Post: 16th September 2002, 02:19 AM
  5. Xbox DVD Rom question
    By nims076 in forum Microsoft Consoles
    Replies: 12
    Last Post: 1st September 2002, 04:21 PM

Social Networking Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •