Pic16f84a and pic16c54

Status
Not open for further replies.
Both are antiques, but even the long obselete F84 is a better chip than the C54 - it should be fairly easy to port a C54 program to the F84, or even better a modern replacement for the 84.
 
Hi,

Replacing a 16C54 by a 16F84 may not be "so easy" due to the stack and program counter width ... ( ahaaaaaa ...)

Much better use a newer 16F54 ... especially raised for compatibility ...

Alain
 
Last edited:
Hi,

Replacing a 16C54 by a 16F84 may not be "so easy" due to the stack and program counter width ... ( ahaaaaaa ...)

No problem at all, as the 14 bit series are upwards compatible - the other way would be VERY different though.
 
No problem at all, as the 14 bit series are upwards compatible - the other way would be VERY different though.

Hi, Nigel

I have here a nice old DCF project from elektor ( Berliner Uhr ) for you to translate, if you want ...

Dozens of "not too bad" programmers have quitted ... but the original works fine !!!

I join it for the game ...

Alain
 

Attachments

  • BRLNUHR.ASM
    33.6 KB · Views: 174
Really it depends what doesn't work, and it makes life somewhat more difficult with the comments been in German.

So where do problems arise?.
 
Hi, Nigel

Problems arise with the subs addressing ... as the Stack is only 2 level deep, programmer used nice tricks ... and when porting to a wider PC chip ... bits truncature ( I suppose ) used are no more truncated ...
so addressing becomes false ...

from there to fine running, no one found the right way ... to that day ...

Alain
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…