Project

General

Profile

Unable to program FPGA – “MSEL switch is in the wrong position” on MitySOM-5CSX dev kit

Added by Atef DORAI 1 day ago

I’m bringing up our new MitySOM-5CSX evaluation board and ran into an issue while trying to load the reference bitstream that ships with the kit.

1- I copied dev_5cs.rbf to the board via SCP.

2- From the Linux prompt on the board I ran :

root@mitysom-c5:~# ./FPGA-writeConfig -f dev_5cs.rbf

3- The tool returns:
ERROR: The MSEL Switch is in the wrong position!
It is not possible to write the FPGA configuration
Following MSEL selections are required
MSEL=00100: PP16 with no AES and no Data compression
MSEL=00101: PP16 with AES and no Data compression

4-On the carrier’s DIP-switch block S100, the five MSEL switches are currently set as depicted on attachment.

Could you advise what might still be preventing FPGA-writeConfig from accepting the bitstream?
Is there another jumper, strap, or software setting I should double-check?

Thanks in advance for your help.


Replies (1)

RE: Unable to program FPGA – “MSEL switch is in the wrong position” on MitySOM-5CSX dev kit - Added by Seth Graber about 8 hours ago

Hello,

We were able to recreate your issue with the app you were using (https://github.com/robseb/rstoolsCY5). After compiling the app and running it on the board as you did, we were able to move past your issue by setting the MSEL switch as seen in the image below (the board must be rebooted or power cycled to update the configuration); however, this caused Linux to hang indefinitely as we have drivers interacting with the FPGA as it's trying to reconfigure. We recommend configuring the FPGA during U-Boot which is how the SD that ships with the devkit works. If you have any specific reason why you'd like to reconfigure while in the user space please let us know and we can take a closer look and see if we can get this working for you.

Thanks, Seth

    (1-1/1)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)