3.4.24 Serial Option

The -mserial=options allow a hexadecimal code to be stored at a particular address in program memory. A typical task for this option might be to position a serial number in program memory.

The byte-width of data to store is determined by the byte-width of the hexcode parameter in the option. For example, to store a one-byte value, 0, at program memory address 1000h, use -mserial=00@1000. To store the same value as a four byte quantity use -mserial=00000000@1000.

This option is functionally identical to Hexmate's -serial option. For more detailed information and advanced controls that can be used with this option (refer to 7.2.3.22 Serial Hexmate Option).