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

Flash read & write

Hello friends I want to define 32bit(4 byte) value as a constant in flash.
How to access it within a programm written in 'C' for 8051 microcontrolller.
Please suggest me any solution.

Parents
  • Respected Sir,

    Thanks a lot for your valuable feedback.

    I intend to set the 4-Byte (32-Bit) "constant" in the Flash Area of Silicon Lab's 8051F231 CPU.
    This "Constant" will be read in the operating software, to compare with the 32-Bit value to be received thru' serial port, with proper lsb to msb order.
    The Source Code is in "C" and the "Constant" is defined as an Unsigned Long Value.

    I am sorry that the User Manual of the C51 has been misplaced.

    I sincerely request you to please send me by e-mail, the English Language PDF File of the same.
    I searched the KIEL website, but the C51 User Manual was not locatable.

    Thanks once again and with best regards,

    - Arshad.

Reply
  • Respected Sir,

    Thanks a lot for your valuable feedback.

    I intend to set the 4-Byte (32-Bit) "constant" in the Flash Area of Silicon Lab's 8051F231 CPU.
    This "Constant" will be read in the operating software, to compare with the 32-Bit value to be received thru' serial port, with proper lsb to msb order.
    The Source Code is in "C" and the "Constant" is defined as an Unsigned Long Value.

    I am sorry that the User Manual of the C51 has been misplaced.

    I sincerely request you to please send me by e-mail, the English Language PDF File of the same.
    I searched the KIEL website, but the C51 User Manual was not locatable.

    Thanks once again and with best regards,

    - Arshad.

Children