Forum Discussion

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

Need help : implement Gigabit Ethernet

Hello,

I'm new on this forum, so I hope that I'll be clear with my question.

I'm currently working on Cyclone III FPGA Development Kit with the EP3C120F780C7N.

For my project I have to etablish a communication between my PC and my board with the Gigabit Ethernet. I have to send to the board datas to configure a camera and then send the pixels to the PC for a display.

My PHY device is Marvell 88E1111 so I try since two weeks to configure it with RGMII interface.

My problem is that I don't know how to use the TripleSpeedEthernet 9.1 either with MegaWizard Plug-In Manager (how to link all the I/O) or with SOPC (where I'm a total beginner).

Can someone help me and explain me how to use these functions or how to begin (maybe a tutorial exists with v9.1sp1) to advance in my project ?

Thanks in advance.

36 Replies

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

    thanks for advice Daixi,

    i build the project without trouble but when i tried to run as "nios II hw", i didn't see some errors but that :

    "

    Using cable "USB-Blaster [USB-0]", device 1, instance 0x00

    Processor is already paused

    Reading System ID at address 0x10022C90: verified

    Initializing CPU cache (if present)

    OK

    Downloading 0C000000 ( 0%)

    Downloading 0C010000 (20%)

    Downloading 0C020000 (40%)

    Downloading 0C030000 (61%)

    Downloading 0C040000 (81%)

    Downloaded 314KB in 5.4s (58.1KB/s)

    Verifying 0C000000 ( 0%)

    Verify failed between address 0xC000000 and 0xC00FFFF

    Leaving target processor paused

    "

    and nothing else happened on my board or on the console

    i have exactly the same with an "hello_world" project, maybe do you know what mistake i have done

    thanks in advance
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Start with the Simple Sockets Server example from the IDE and compile it. The board should get an IP address from DHCP and start a server you can access with Telnet.

    You can then change the code to suit your needs.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thanks for your respond

    i made run the program "cycloneIII_3c120_dev_niosII_standard" on my board but then how can i can communicate between the host (i think my PC) and my peripheral (i think my board)

    1) i tried a "ping" request with the cmd windows but without an IP address, i can't have a response

    2) i absolutly don't know how to use NIOS II IDE with the .c I have, maybe a tutorial on this task can help me but the only one i have is for the utilisation of LED (not very usefull in my case)

    thanks in advance
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    This reference design doesn't apply well to the Cyclone III kit. It uses a SGMII interface, whereas you have RGMII on the kit. It is better to download the reference design from the page I indicated, which will run straight out of the box.