Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12600 Discussions

No data transmission between board and pc

Altera_Forum
Honored Contributor II
951 Views

Hi all, 

I'm working on a DE2 Board and i'd like to send data from the board to my pc via ethernet. 

 

To reach my target i've built a very easy system on SOPC builder with: 

 

- nios2\s 

- onchip_mem (20k) 

- jtag uart (to display some messages) 

- sysid 

- dm9000a (taken from DE2_NET demo) 

 

Then i've written some simple code to transmit data from the board to my pc. 

 

Apparently there aren't errors, 

but when i run my code, it stops @: 

 

while(!(ior(NSR)&0x0C)) 

 

in the transmitPacket function of the "dm9000a.c" file 

 

i've tryed with a cross cable and also with a switch, but it won't work in bot cases... 

 

in my main() code i've called the init function, and then,inside while (1) , the transmitpacket function with the right parameters... 

 

The leds at the bottom of my board's ethernet port, never light up... is an hw problem? or i forget something that i can't see? 

 

Anyone can help?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
253 Views

Did you solve this?

0 Kudos
Reply