Hi,
I have encountered one issue when I run the network related program on DSPC8681 card. We can
run the the "simple web server" demo shipped with Lightning card on DSPC8681 successfully now.
But it seems that we can only run it once after the system start. If we stop the program and do system
reset and re-run the demo, only 3 DSPs can run correctly unless we do hardware reset of the card. So can
someone help me check how to reset the system so that we can re-run the network demo on DSPC8681
two or more times without power off the whole system?
I use The local reset function shipped with desktop SDK to reset some DSPs, Bu tonly 3 DSPs can be
correctly reset. I have 3 cards here, for the first card, it can reset DSP0,DSP2,DSP3, But
For the second card and the third card, it can reset DSP0,DSP1,DSP2. All the environment and the scripts
are the same to run on the 3 cards. The log is as the following:
For the first time to run, all DSP can run correctly:
[C66xx_0] QMSS successfully initialized
[C66xx_0] CPPI successfully initialized
[C66xx_0] PA successfully initialized
[C66xx_0]
[C66xx_0] TCP/IP Stack Example Client
[C66xx_0] PASS successfully initialized
[C66xx_0] Ethernet subsystem successfully initialized
[C66xx_0] Ethernet eventId : 48 and vectId (Interrupt) : 7
[C66xx_0] Registration of the EMAC Successful, waiting for link up ..
[C66xx_0] Network Added: If-1:192.168.0.111
[C66xx_0] Service Status: Telnet : Enabled : : 000
[C66xx_0] Service Status: HTTP : Enabled : : 000
[C66xx_8] QMSS successfully initialized
[C66xx_8] CPPI successfully initialized
[C66xx_8] PA successfully initialized
[C66xx_8]
[C66xx_8] TCP/IP Stack Example Client
[C66xx_8] PASS successfully initialized
[C66xx_8] Ethernet subsystem successfully initialized
[C66xx_8] Ethernet eventId : 48 and vectId (Interrupt) : 7
[C66xx_8] Registration of the EMAC Successful, waiting for link up ..
[C66xx_8] Network Added: If-1:192.168.0.112
[C66xx_8] Service Status: Telnet : Enabled : : 000
[C66xx_8] Service Status: HTTP : Enabled : : 000
[C66xx_16] QMSS successfully initialized
[C66xx_16] CPPI successfully initialized
[C66xx_16] PA successfully initialized
[C66xx_16]
[C66xx_16] TCP/IP Stack Example Client
[C66xx_16] PASS successfully initialized
[C66xx_16] Ethernet subsystem successfully initialized
[C66xx_16] Ethernet eventId : 48 and vectId (Interrupt) : 7
[C66xx_16] Registration of the EMAC Successful, waiting for link up ..
[C66xx_16] Network Added: If-1:192.168.0.113
[C66xx_16] Service Status: Telnet : Enabled : : 000
[C66xx_16] Service Status: HTTP : Enabled : : 000
[C66xx_24] QMSS successfully initialized
[C66xx_24] CPPI successfully initialized
[C66xx_24] PA successfully initialized
[C66xx_24]
[C66xx_24] TCP/IP Stack Example Client
[C66xx_24] PASS successfully initialized
[C66xx_24] Ethernet subsystem successfully initialized
[C66xx_24] Ethernet eventId : 48 and vectId (Interrupt) : 7
[C66xx_24] Registration of the EMAC Successful, waiting for link up ..
[C66xx_24] Network Added: If-1:192.168.0.114
[C66xx_24] Service Status: Telnet : Enabled : : 000
[C66xx_24] Service Status: HTTP : Enabled : : 000
After I do DSP reset, the first DSPC8681 card always shows below:
[C66xx_0] TCP/IP Stack Example Client
[C66xx_0] PASS successfully initialized
[C66xx_0] Ethernet subsystem successfully initialized
[C66xx_0] Ethernet eventId : 48 and vectId (Interrupt) : 7
[C66xx_0] Registration of the EMAC Successful, waiting for link up ..
[C66xx_0] Network Added: If-1:192.168.0.111
[C66xx_0] Service Status: Telnet : Enabled : : 000
[C66xx_0] Service Status: HTTP : Enabled : : 000
[C66xx_8] QMSS successfully initialized
[C66xx_8] CPPI successfully initialized
[C66xx_8] PA successfully initialized
[C66xx_8]
[C66xx_8] TCP/IP Stack Example Client
[C66xx_8] PASS successfully initialized
[C66xx_8] Ethernet subsystem successfully initialized
[C66xx_8] Ethernet eventId : 48 and vectId (Interrupt) : 7
[C66xx_8] Timeout waiting for reply from PA to Pa_addMac command
[C66xx_8] Add_MACAddress failed
[C66xx_8] Error: Unable to register the EMAC
[C66xx_8] Service Status: Telnet : Enabled : : 000
[C66xx_8] Service Status: HTTP : Enabled : : 000
[C66xx_16] QMSS successfully initialized
[C66xx_16] CPPI successfully initialized
[C66xx_16] PA successfully initialized
[C66xx_16]
[C66xx_16] TCP/IP Stack Example Client
[C66xx_16] PASS successfully initialized
[C66xx_16] Ethernet subsystem successfully initialized
[C66xx_16] Ethernet eventId : 48 and vectId (Interrupt) : 7
[C66xx_16] Registration of the EMAC Successful, waiting for link up ..
[C66xx_16] Network Added: If-1:192.168.0.113
[C66xx_16] Service Status: Telnet : Enabled : : 000
[C66xx_16] Service Status: HTTP : Enabled : : 000
[C66xx_24] QMSS successfully initialized
[C66xx_24] CPPI successfully initialized
[C66xx_24] PA successfully initialized
[C66xx_24]
[C66xx_24] TCP/IP Stack Example Client
[C66xx_24] PASS successfully initialized
[C66xx_24] Ethernet subsystem successfully initialized
[C66xx_24] Ethernet eventId : 48 and vectId (Interrupt) : 7
[C66xx_24] Registration of the EMAC Successful, waiting for link up ..
[C66xx_24] Network Added: If-1:192.168.0.114
[C66xx_24] Service Status: Telnet : Enabled : : 000
[C66xx_24] Service Status: HTTP : Enabled : : 000
And the second card (third card) always show below:
[C66xx_0] TCP/IP Stack Example Client
[C66xx_0] PASS successfully initialized
[C66xx_0] Ethernet subsystem successfully initialized
[C66xx_0] Ethernet eventId : 48 and vectId (Interrupt) : 7
[C66xx_0] Registration of the EMAC Successful, waiting for link up ..
[C66xx_0] Network Added: If-1:192.168.0.111
[C66xx_0] Service Status: Telnet : Enabled : : 000
[C66xx_0] Service Status: HTTP : Enabled : : 000
[C66xx_8] QMSS successfully initialized
[C66xx_8] CPPI successfully initialized
[C66xx_8] PA successfully initialized
[C66xx_8]
[C66xx_8] TCP/IP Stack Example Client
[C66xx_8] PASS successfully initialized
[C66xx_8] Ethernet subsystem successfully initialized
[C66xx_8] Ethernet eventId : 48 and vectId (Interrupt) : 7
[C66xx_8] Registration of the EMAC Successful, waiting for link up ..
[C66xx_8] Network Added: If-1:192.168.0.112
[C66xx_8] Service Status: Telnet : Enabled : : 000
[C66xx_8] Service Status: HTTP : Enabled : : 000
[C66xx_16] QMSS successfully initialized
[C66xx_16] CPPI successfully initialized
[C66xx_16] PA successfully initialized
[C66xx_16]
[C66xx_16] TCP/IP Stack Example Client
[C66xx_16] PASS successfully initialized
[C66xx_16] Ethernet subsystem successfully initialized
[C66xx_16] Ethernet eventId : 48 and vectId (Interrupt) : 7
[C66xx_16] Registration of the EMAC Successful, waiting for link up ..
[C66xx_16] Network Added: If-1:192.168.0.113
[C66xx_16] Service Status: Telnet : Enabled : : 000
[C66xx_16] Service Status: HTTP : Enabled : : 000
[C66xx_24] QMSS successfully initialized
[C66xx_24] CPPI successfully initialized
[C66xx_24] PA successfully initialized
[C66xx_24]
[C66xx_24] TCP/IP Stack Example Client
[C66xx_24] PASS successfully initialized
[C66xx_24] Ethernet subsystem successfully initialized
[C66xx_24] Ethernet eventId : 48 and vectId (Interrupt) : 7
[C66xx_24] Timeout waiting for reply from PA to Pa_addMac command
[C66xx_24] Add_MACAddress failed
[C66xx_24] Error: Unable to register the EMAC
[C66xx_24] Service Status: Telnet : Enabled : : 000
[C66xx_24] Service Status: HTTP : Enabled : : 000
The NDK version is 2_21_01_38. So can some one give me some advice on this issue?
B.R.
Sunzhao