Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The product code is set by resistors on the motherboard. The product code and type are defined at system startup and are available in the file system:

  • /sys/board/board_code - the code;
  • /sys/board/board_type - type;
  • /sys/board/stamp_down and /sys/board/stamp_up - definition of the connected periphery;

...

To facilitate the work with EEPROM memory, several commands are available. The type of the command is specified in the tag mode. There can be commands read, write, binary, erase. The address is specified in the offset tag, a decimal integer, indicating the byte from which the operation will start. The length of the data is specified in the length tag, if this tag is not specified, then the length will be considered 8. When writing and erasing it is better not to omit this tag. The data for writing goes in the data tag, and represents a string in ASCII or BCD format. When writing a string, the length is determined by the line, when writing binary data, you must explicitly specify the length.

...