How to transfer pic codes to other pics ?
-
- proppa neck!
- Posts: 537
- Joined: Mon Sep 02, 2019 11:06 am
How to transfer pic codes to other pics ?
I'm trying to setup the saa1057 PLL on my pcb design, iv got the hex code for the pic from zozo's board which is only for pic16f84, but I have a shitload of pic16f88's that id rather use up than buy new pics. How would I go about it ??
-
- proppa neck!
- Posts: 2957
- Joined: Tue Apr 05, 2016 1:23 am
Re: How to transfer pic codes to other pics ?
Unfortunately, it's not trivial. The memory map for the '88 is very different from the '84 (and the opcodes differ too, as I remember). There are a few conversion programmes, but usually for '84 to '628. I'll have a look and see if I've got something for the '88
"Why is my rig humming?"
"Because it doesn't know the words!"
"Because it doesn't know the words!"

-
- proppa neck!
- Posts: 537
- Joined: Mon Sep 02, 2019 11:06 am
Re: How to transfer pic codes to other pics ?
Yeh even 628a iv got a few of here but thought 16f88 would be the most compatible.
-
- no manz can test innit
- Posts: 108
- Joined: Tue Mar 07, 2017 8:57 pm
Re: How to transfer pic codes to other pics ?
Zozo used the freely available code for Saa1057 that's published on pira.cz web. There is also the source code.
I'd take that source code, paste it in a new project in MPlab (Microchip's PIC development IDE) and compile it for your target microcontroller.
You will need to configure additional "fuses" in your newer device.
I'd take that source code, paste it in a new project in MPlab (Microchip's PIC development IDE) and compile it for your target microcontroller.
You will need to configure additional "fuses" in your newer device.
-
- proppa neck!
- Posts: 537
- Joined: Mon Sep 02, 2019 11:06 am
Re: How to transfer pic codes to other pics ?
Yeh I’m trying to learn how to code it but starting from a complete novice with C, I’m totally lost. I understand things like R & N registers for the saa1057, but I don’t get how to tell the microcontroller that.
-
- tower block dreamin
- Posts: 301
- Joined: Sun Aug 16, 2020 2:44 pm
Re: How to transfer pic codes to other pics ?
If you rebuild the pira.cz code you'll need to get hold of a copy of the old mplab. The new mplabx has totally different assembler syntax so the old code won't build
-
- tower block dreamin
- Posts: 400
- Joined: Sat Feb 18, 2017 5:56 pm
-
- ne guy
- Posts: 7
- Joined: Tue Dec 28, 2021 3:47 pm
Re: How to transfer pic codes to other pics ?
Can you try this hex file, i compiled the source code for the pic 16f88
You do not have the required permissions to view the files attached to this post.
-
- ne guy
- Posts: 1
- Joined: Sat Feb 12, 2022 3:44 pm
Re: How to transfer pic codes to other pics ?
Anyone got the hex for the smile board. For the PIC16F628A
-
- tower block dreamin
- Posts: 275
- Joined: Wed Oct 15, 2014 9:25 pm
Re: How to transfer pic codes to other pics ?
No it's custom made and not public
I made the design years ago and sold it to someone here on the board
I made the design years ago and sold it to someone here on the board
-
- big in da game.. trust
- Posts: 95
- Joined: Tue Jun 30, 2020 9:10 pm
-
- who u callin ne guy bruv
- Posts: 14
- Joined: Tue Oct 24, 2023 7:11 pm
Re: How to transfer pic codes to other pics ?
I second that , although I will only goes as far as a man hug
-
- ne guy
- Posts: 7
- Joined: Tue Dec 28, 2021 3:47 pm
Re: How to transfer pic codes to other pics ?
Can you place a picture of the smile board ?, if it's the same as the ZoZo then you can try this code, i compiled the source code for the 16f628a,
You do not have the required permissions to view the files attached to this post.
-
- ne guy
- Posts: 9
- Joined: Sat Sep 19, 2020 2:53 pm
- Contact:
Re: How to transfer pic codes to other pics ?
You do not have the required permissions to view the files attached to this post.
- OldskoolPirate
- no manz can test innit
- Posts: 209
- Joined: Thu Feb 18, 2016 9:32 pm
Re: How to transfer pic codes to other pics ?
Why do you need the hex for that ? You get it with the kit when you buy on eBay. Only reason you would need that is if you have tried to copy the design. There’s literally no need to reprogram it because you can change the frequency with the buttons on that board.

-
- tower block dreamin
- Posts: 400
- Joined: Sat Feb 18, 2017 5:56 pm
Re: How to transfer pic codes to other pics ?
Probably fried the chip , it’s easier than you may think.
I would quite like to try my own design using this pic, and would also have just up and down button ,maybe another for save but that’s optional
I’m willing to try learn the assembly lang, but even if someone can’t provide an example of one (AI not have kinda started me off , miraculous those things) then if someone can just provide a working hex for 628 , that chip and two buttons are not owned but anyone and this forum is all about sharing learning.
I would quite like to try my own design using this pic, and would also have just up and down button ,maybe another for save but that’s optional
I’m willing to try learn the assembly lang, but even if someone can’t provide an example of one (AI not have kinda started me off , miraculous those things) then if someone can just provide a working hex for 628 , that chip and two buttons are not owned but anyone and this forum is all about sharing learning.
Sony ST 920 QS
-
- proppa neck!
- Posts: 973
- Joined: Fri Aug 26, 2016 7:01 pm
Re: How to transfer pic codes to other pics ?
Oh @pukje62 is here , how are you freind
- yellowbeard
- tower block dreamin
- Posts: 343
- Joined: Wed Jul 08, 2015 5:40 am
Re: How to transfer pic codes to other pics ?
Freddo the Dutch fella had a design for that PIC and PLL back in the day, bad news is it has FOUR buttons, but there is a hex file...
http://home.deds.nl/~radio102/freddos/default.htm
It's on the PIC16F628 page.
http://home.deds.nl/~radio102/freddos/default.htm
It's on the PIC16F628 page.

-
- tower block dreamin
- Posts: 400
- Joined: Sat Feb 18, 2017 5:56 pm
Re: How to transfer pic codes to other pics ?
Thanks will look into that
Do you know if there was ever an asm file ? Then I could edit it and recompile for pins functions
Do you know if there was ever an asm file ? Then I could edit it and recompile for pins functions
Sony ST 920 QS
-
- ne guy
- Posts: 2
- Joined: Fri Oct 21, 2022 4:24 pm