PDA

View Full Version : solution change code 16f628 to 12f629 data in hex



auge31
- 20th September 2008, 07:27
Hello all
I am looking easy and clear solution how to migrate hex code from 16F628 to 12f629. I use disassember Nigel Goodwin WinPicProg for .asm source. Important for my pcb to 8 pin smd pic.

pin in use 16f628:

4 -- RST
5 -- GND
6 -- I/O
13 -- I/O
14 -- VCC
16 -- CLK

Anybody can help me ?
Can I paste my disassebled .asm here ?

skimask
- 20th September 2008, 07:44
Hello all
I am looking easy and clear solution how to migrate hex code from 16F628 to 12f629. I use disassember Nigel Goodwin WinPicProg for .asm source. Important for my pcb to 8 pin smd pic.
...............................
Anybody can help me ?
Can I paste my disassebled .asm here ?

You can paste it here...doubt if anybody will do anything about it...
You may as well paste individual pixels from a picture here in separate posts and see if anybody will reassemble it into a different picture.
Besides - 16F628 has a lot more options than a 12F629, more code space, more ram...

Why not just figure out what the 16F628 actually did for you, learn a bit about how to program a PIC, and create your own program to mimic the 16F628 to burn into a 12F629.

auge31
- 20th September 2008, 08:14
hex code ist free in intrnet for 16f84 and 16f628 18 pin. I tryed found autor contact and no succes
plesae help me look for .asm how to modyfity code for 8 pin 12f629
I am electronic man - hardware repair tv radio etc. and I know a little about PIC writte code assembler
sorry for my bad english

here is .asm disassembled from 16f628.hex

; Generated by WinPicProg 1.91, (c) Nigel Goodwin 2002.

LIST P=16F628, F=INHX8M
include "P16F628.inc"
__CONFIG 0x3D2B



END

Archangel
- 20th September 2008, 09:36
As I see it, you have several options,
1. Likely the easiest and cheapest, use the correct # PIC chip, for the hex files you have.Very little cost or Brain Damage.
2. Learn assembler and edit the code you have, likely the hardest and most time consuming.
3. Write your own PBP program with help from the forum ( that's what we do here ).
4. PAY someone to write you a program, not me.
<br>
It would be really tough to make a F84 or 628 code to run on a 12F series unless it is a simple program, the 12F has at very best 5 or six ports whereas the f84/628 has potential for sixteen, if you use INT_OSC and no MCLRE.

Acetronics2
- 20th September 2008, 10:28
Hi,

Have a link to the original project ??? that would be THE simplest way ...

Alain

auge31
- 20th September 2008, 11:23
Hello

link REMOVED!
thx

Melanie
- 20th September 2008, 12:28
I'm sorry, you want to break copyright, hack other peoples code, Games, Digital Encription, Sat Channels etc, do it ELSEWHERE!