PDA

View Full Version : 12F509 vs 12C509



DavidK
- 11th February 2007, 05:02
Someone sent me a hex file for a 12F509, all I have in my parts box is a bunch of 12C509 chips. Will the code still work using the 509's. Years ago I remember an article on how to interpret the Microchip hex code file to determine the chip that the file was compiled for. Anyone know how to do this?

Clive
- 3rd June 2007, 18:31
Can someone help, i would like to start a pll synthesizer project, frequency must range from 88.5-108mhz steep of 50k, a pic 12f629 controller and a mc145170 pll ic. This must be a single frequency. Some time back i remember a website call freddospage.nl had some pll with the pic12f629 but thay ware for saa1057 -tsa5511-tsa6057ic but not the mc145170 can you help me with the controller hexcode.

yours fathfuly
clive

T.Jackson
- 4th June 2007, 02:27
I think the main difference between the C & the F is that the F uses flash memory, making it re-programmable. The C series is program once only. Perhaps I'm wrong, trying to recall some readings from sometime ago.

skimask
- 4th June 2007, 05:10
Can someone help, i would like to start a pll synthesizer project, frequency must range from 88.5-108mhz steep of 50k, a pic 12f629 controller and a mc145170 pll ic. This must be a single frequency. Some time back i remember a website call freddospage.nl had some pll with the pic12f629 but thay ware for saa1057 -tsa5511-tsa6057ic but not the mc145170 can you help me with the controller hexcode.
yours fathfuly
clive

Nice thread hijack...NOT!



I think the main difference between the C & the F is that the F uses flash memory, making it re-programmable. The C series is program once only. Perhaps I'm wrong, trying to recall some readings from sometime ago.

Seems I remember the 12C509 coming in both OTP (non-windowed) and UV-erase (windowed) versions back in the day.

But, no, I would think that code written for a 12C509 won't run on a 12F509 without minor changes.

DavidK
- 5th June 2007, 03:23
They were talking about what certain hex codes meant in a 16C54 and that they were different for the 16C84 (now 16F84). Sorry I am dating myself!! I believe it was the second, maybe third set of hex codes or at least in the first line. The discussions lead to use of a hex code editor that could change individual characters to get the needed results.

I suppose one could compile a simple program and look at the results in the hex code to identify the difference. Not sure it is worth the trouble.