Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- I think you mean POF file, this is what is programmed into flash. --- Quote End --- Actually you need to write a RPD file into the flash. This is generated from the SOF file. Unfortunately there is another couple of snags. You need to write the configuration portion of the RPD file into the flash with the bit order reversed, but the byte order remains the same. Ex: Byte is 8'b00110101 -> write as 8b'10101100 Ex: Byts are 0x55201013 -> Bytes write as 0xAA0408C8 NOTE: The program section needs to have unchanged bit order and byte order. Normally this isn't a problem because the SOF files only have configuration information and the program section is written later. --- Quote Start --- end of SOF image on my flash --- Quote End --- See the default boot loader code. It tells you how to decode the beginning of the configuration section of the flash. You can also use the RPD file, but you need to pay attention to bit order. NOTE: If you use compression then the last byte of the configuration section moves with code change.