Forum Discussion

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

PCIe on Stratix IV

Hello,

I am an altera newbie and am currently working on getting the PCIe system running on DE4.The version of quartus I am using is 10.0 and the SOPC builder fails every time I try to build the PCIe system showing a Java null pointer exception without giving any reason.I am following the directions given by the IP Compiler for PCI Express User Guide. Any help in this matter would be very much appreciated.

13 Replies

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

    Weirdest thing with method A is, that soft reset for the fpga is not working. Whenever the system is rebooted, the fpga also is restarted and hence loses its configuration. This does not happen when fpga is configured with a non PCIe system and system is restarted.

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

    --- Quote Start ---

    I keep trying with the method A but to no success. I followed the DE4 Getting started manual, but the tools are giving a problem. Could you please look into it if you have the time and suggest a possible direction. I understand the catch of configuration time vs the BIOS start time, but am willing to try it.

    --- Quote End ---

    I cannot look at it this week. Can you ping me on Monday and I'll check on the DE4-530K that I have. Which board do you have?

    --- Quote Start ---

    The weirdest thing with method A is the fpga undergoes a hard reset when , it is programmed with a PCIe system and PC is rebooted, thus losing its configuration. This does not happen when a non PCIe system is programmed on the fpga.

    --- Quote End ---

    What do you mean by "hard reset"? The board should see PCIe reset asserted, but that should not cause the configuration to clear.

    Have you probed the hardware to check that all the voltages are present through power-on? How about checking whether the configuration source is correct? (I forget how many options this board has, others have the option for MAX II PFL/FPP configuration or AS configuration, depending on jumper or dial settings).

    Cheers,

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

    Thanks for the reply Dave. Your help is greatly appreciated.

    I am using Terasic Altera DE4 Development and education board - the 230K version.The voltages are present through power on.

    By hard reset i mean, the board itself is restarted not just the PCIe system.I have still not been able to figure that out.

    Meanwhile,I was able to generate a flash file from the sof.( Although at the end it gives a memory malformed error, I wanted to test with the flash file it produced)I was also able to successfully flash the CFI Flash following the procedures of the manual. But upon reset, the board is not being configured from the flash or atleast with the desired flash. I have been looking all over the internet to find some configuration settings for the board(some jumper or dial settings) but could not find them. They are not given in the user manual or the kit. I however found similar info for DE4 development board (530K), which has a rotary switch to select between the factory flash pages and user flash pages.Maybe something similar is preset for this board too, still in the pursuit of that.

    The flash procedure is still not without errors and configuration settings are still amiss.Would you have any info in this direction.