Forum Discussion
EEren
Occasional Contributor
6 years agoHow to prepare a rpd file
I have a bootloader in CFM0 sector. I feed a rpd file through serial, after uploading the file to the FPGA flash it reports success. But when I switch to CFM1 it fails and goes back to CFM0. I suspe...
GLees
Contributor
6 years agoI see two potential problems;
1) Endian swapping. After configuring four bytes to write a 32 bit word into CFM1, you need to do a 32-bit "endian swap". Just checking the "Big Endian" box when you make the rpd doesn't cut it.
2) You should be feeding "output_file_main_cfm1_auto.rpd" to the Boot loader located in CFM0. After all, you want it to end up in CFM1, right?
I lost a lot of hair trying to make all of this work, but finally got there.