Use the WRITECODE and READCODE commands. These commands cannot be used in all the chips. Refer to the manual for more info.