Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.
19680 Discussions

How to program .rpd file to a flash chip through 3rd party flash programmer

zewen
Employee
232 Views
We're exploring the way to offline program the spi flash for FPG configuration by 3rd party programmer, and we believe the .rpd format image is the correct file to be programmed to the flash as per Customizable Flash Programmer User Guide.  We have generated the .rpd file according to the guide, while the file size is smaller than the flash (MT25QU01GBBB8E12) capacity (41.8M vs 128M). We want to understand if we need to initiate the flash first, which address the load begins at, ends at, and the unprogrammed addresses should be all 0s or all F’s. And do we need todo a bit-reversal for each byte when using the 3rd party programmer?
By the way, I notice there is a tcl script (customizable_programmer.tc) included in the design reference that user can use to load the rpd to flash through system console, but unfortunately, the link to the design reference is not valid anymore.
https://fpgacloud.intel.com/devstore/platform/18.0.0/Standard/customizable-flash-programmer-for-arri...

Thank you,
Zewen
 

 

Case Information

0 Kudos
4 Replies
NurAiman_M_Intel
Employee
208 Views

Hi Zewen,


The link might be broken due to migration. Kindly refer to below link for design example;

https://fpgacloud.intel.com/devstore/platform/18.0.0/Standard/customizable-flash-programmer/


or you can search in the design store as well;

https://fpgacloud.intel.com/devstore/


Regards,

Aiman


zewen
Employee
196 Views

Thank you Aiman!

I downloaded the script(customizable_programmer.tcl) and took a look, it seems that the rpd file is read by avmm master with no offset by default, and unused bits are filled up by all Fs. Does that mean when we use a thrid party programmer, we load the binary at zero offset, and for all the unprogrammed bits we should fill them up with all Fs?

And do we need todo a bit-reversal for each byte (big endian or small endian when we load binary to the spi flash)?

 

Regards,

Zewen

 

 

NurAiman_M_Intel
Employee
177 Views

Hi,


Does that mean when we use a thrid party programmer, we load the binary at zero offset, and for all the unprogrammed bits we should fill them up with all Fs? - Yes


do we need todo a bit-reversal for each byte (big endian or small endian when we load binary to the spi flash)? - Little endian


Regards,

Aiman


NurAiman_M_Intel
Employee
140 Views

We do not receive any response from you to the previous answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you


Reply