3
\$\begingroup\$

I am working on a fingerprint security project, based on what I've read so far, I decided to go for AT89S52 as my microcontroller, but I got stuck when I decided to simulate my circuit on Proteus 7.8.

The software offers me AT89C52, but i didn't see AT89S52. So, I am stuck between using AT89C52 but am scared if is going to affect my work, since I don't know if they are the same.

I thought about using another electronics schematic software, I am willing to change but don't know what else to use besides Proteus and the Keil compiler I'm using now. What to do?

\$\endgroup\$
3
  • \$\begingroup\$ I don't use AVRs, but from what I found here the difference is that the 89C52 isn't in-system reprogrammable (i.e. you need a programmer) and the 89S52 is. \$\endgroup\$
    – Renan
    Commented Aug 30, 2013 at 14:10
  • 2
    \$\begingroup\$ They are not AVRs! \$\endgroup\$ Commented Aug 30, 2013 at 14:53
  • \$\begingroup\$ Indeed, I noticed this but only after it was too late to edit my comment. \$\endgroup\$
    – Renan
    Commented Aug 30, 2013 at 14:58

1 Answer 1

2
\$\begingroup\$

For the purposes of Proteus simulation, the AT89S62 and the AT89C52 are the same.

Presumably you will be simulating run-time functionality, rather than electrical behavior at programming time.

In any case, Proteus cannot simulate the actual in-circuit programming of its microcontroller models, so you're good.

\$\endgroup\$
3
  • \$\begingroup\$ okay i try using at89c52 as recommended here and see if its actually in line with my expectations \$\endgroup\$ Commented Aug 30, 2013 at 15:49
  • \$\begingroup\$ what about my source code does it have any effect taking the source code of at89c52 to at89s52 and vice versa? \$\endgroup\$ Commented Aug 30, 2013 at 15:59
  • \$\begingroup\$ @GreenOnyeji If you refer to the datasheets, you'll see for yourself: The two microcontrollers are code-compatible - but you need to read the datasheet for any microcontroller you use, anyway. \$\endgroup\$ Commented Aug 30, 2013 at 16:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.