This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How can I read out the SFR?

Hi all!

I need to read out the actuall value of the special function register (SFR). How can I do that?
I use the Keil uVision environment with an 251 based controller!

Thanks for your help!

Parents
  • And what gain would it be to have a single SFR value stored in a hex-format file?

    When debugging, it really isn't much use to store temporary register values in a hex file.

    When writing a data logger, you would normally write code that takes values from an ADC or similar and send to a serial port or similar, using whatever protocol that feels relevant.

Reply
  • And what gain would it be to have a single SFR value stored in a hex-format file?

    When debugging, it really isn't much use to store temporary register values in a hex file.

    When writing a data logger, you would normally write code that takes values from an ADC or similar and send to a serial port or similar, using whatever protocol that feels relevant.

Children
No data