Programming NVRAM
Prev | Chapter 5. Procedures | Next

## Programming NVRAM

### int6kf and int6kboot

The INT6300™ and INT6400™ do not require a special SDRAM configuration file and so program int6kboot may be used in place of int6kf which is described here. The only real difference between the two programs is the presence or absence of option -C on the command line.

The int6kf program can program a blank or corrupted NVRAM on the INT6300. The process involves starting the runtime firmware as shown in the previous example then downloading a .nvm file using a `VS_WR_MOD` message, downloading a .pib file using another WR_WR_MOD message then writing both to NVRAM using a `VS_MOD_NVM` message. An example int6kf command line is shown below. It is identical to the one shown above except for the addition of the flash option at the end.

Example 5.22. Flash NVRAM with int6kf

    # int6kf -C abc.cfg -N abc.nvm -P abc.pib -F

The example above starts the firmware then uses it to program the NVRAM. This was done in one step rather than two seperate steps as shown in the examples before it. The only difference is that int6k needs to use the 'force flash' option when using downloaded firmware to write NVRAM. The following example accomplishes the same thing as the previous example but uses int6k to program NVRAM. See the int6k man page for an explanation of the command line options and arguments used here.

The int6kf program cannot program blank or corrupted NVRAM on the INT6000 unless the Softloader is running. Since the Softloader resides in NVRAM, the NVRAM must be either pre-programmed before use or removed and externally re-programmed if it corrupts.

Example 5.23. Flash NVRAM with int6k

    # int6kf -C abc.cfg -N abc.nvm -P abc.pib
    # int6k -N abc.nvm -P abc.pib -FF

Prev | Up | Next
Testing a Device | Home | Pairing UART Devices post PTS