Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Arrow SocKit - Cyclone V SOC 5csxfc6d6f31c8e: Does not match physical device

I am new to FPGA SOC Development. I just bought a sockit from arrow (http://www.rocketboards.org/foswiki/documentation/arrowsockitevaluationboard). I also have a DE2-115 and have programmed Verilog for the DE2-115.

I'm confused with SocKit because everytime a run even the simplest of Verilog programs and after following the Getting Started guide examples, once I load the sof file and start the Programmer I always get a Failed progress. The error is error (209031): device chain in chain description file does not match physical device chain -- expected 1 device(s) but found 2 device(s).

Everytime I work with my SocKit I make sure I removed the DE2-115. The program works with DE2-115 and even successfully compiles with the SocKit Cyclone V IC Configuration and my DE2-115 albeit with different Pin Assignments to match the respective boards.

I was wondering if the switches/jumpers has something to do with this. I understand I may have just missed some configuration or something. I have made sure I removed the LXDE Memory card for booting Linux and there may still be conflicts with running only as FPGA.

In addition I have not taken any class advertised by arrow due to my geographic location (Philippines), I wish Altera/Terasic/Arrow will open seminars for SocKit here in the Philippines.

Can anyone augment my limited understanding?

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    There are 2 devices in a JTAG chain, FPGA and HPS (ARM).

    You should press the Auto Detect button in Programmer, then select FPGA chip and set it's image with Change File... button.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    There are 2 devices in a JTAG chain, FPGA and HPS (ARM).

    You should press the Auto Detect button in Programmer, then select FPGA chip and set it's image with Change File... button.

    --- Quote End ---

    Thank you very much!!! I finally have been able to program it!

    I am sorry if my questions seems pretty basic. But I did follow the tutorials to no avail. If you have read this from some kind of tutorial or guide, it would be a great help to me if you can give me some sources which I can use to help me in my study.

    In addition, I was hoping if there are necessary pin configuration changes. I was able to program the device but it seems that the LEDs are not lighting up as I have expected. My simple program is a counter that should have the 4 LEDs count by blinking from 0 to 15. Yes this is very basic, i apologize if this bother you I'm still new and I'm hoping to get some guidance.

    I have attached my project here for your reference if you need them.

    Update: Thanks! Never mind the message above. It seems the project was messed up and decided to try and make a simple one. See (attached first_counter.zip). The new project worked well and the counter started blinking! Thank you very much for your help!

    I am planning to moving on the next step. I would like to be able to change register values from my Linux on HPS to my FPGA module. Any recommendations going about this?

    Perhaps blinking the FPGA Bound LEDs would be start. I was hoping if this is possible, my intention is to blink the FPGA bound LEDs via a method call from Linux (preferabble a C Program). I was hoping if I could do at least even as simple as blinking an FPGA led from Linux, then I could control any registry location in FPGA (Is this possible?) from HPS.

    There are some thoughts in my mind, but I still can't connect them piece by piece. I feel some sort of connector is involved here from FPGA to HPS. Also, I feel like I need to develop a drivers for Linux to allow my to control stuff on FPGA. Any suggestion on where I may be able to start or any documentation that would kickstart my learning would be great.

    Thanks for your reply!