Steps to program the flash on 6211dsk: (1) Edit the file hex.cmd First replace the .out filename with your filename and the output filename with your desired name. Then, in the ROMS field, change the value of the "len" parameter to your code size. This value has to be a multiple of 0x80 (128) and less than the flash size (0x20000). (2) In a dos window, run hex6x hex.cmd to generate the hex data file. (3) Run flash.exe to program the flash.