Quantcast
Channel: C6000™多核 - 最近的话题
Viewing all articles
Browse latest Browse all 5545

C6670与marvell 88e6122交换芯片,ndk开发包使用相关,急!

$
0
0

ti专家,您好,我们现在正在做C6670marvell 88e6122交换芯片的一个项目,正在调试网口,目前处于阻塞状态,想运行mcsdk里的6670 ndkhellowrold例程,并且设置成静态IP地址,例程运行后,pcping不通我设定的ip地址,协议栈启动之前对sgmiiphy芯片进行了设置,并且已经查看到已经sgmiiphy的状态已经linkup上了。使用k1_stk_v1.1GE例程,进行外部回环测试,没有问题。(我们的板卡跟EVM开发板的系统时钟、SGMII参考时钟不同,对两个例程分别做了相应修改,EVM系统时钟为122.88MSGMII250M,我们的板卡系统时钟为153.6SGMII时钟为156.25

以下是gel文件初始化的过程:

C66xx_0: GEL Output:            SYSCLK2 = 327.6667 MHz, SYSCLK5 = 196.6 MHz.

C66xx_0: GEL Output:            SYSCLK8 = 15.35938 MHz.

C66xx_0: GEL Output: PLL1 Setup... Done.

C66xx_0: GEL Output: Power on all PSC modules and DSP domains...

C66xx_0: GEL Output: Security Accelerator disabled!

C66xx_0: GEL Output: Power on all PSC modules and DSP domains... Done.

C66xx_0: GEL Output: PA PLL (PLL3) Setup ...

C66xx_0: GEL Output: PA PLL Setup... Done.

C66xx_0: GEL Output: DDR3 PLL (PLL2) Setup ...

C66xx_0: GEL Output: DDR3 PLL Setup... Done.

C66xx_0: GEL Output: DDR begin (1333 auto)

C66xx_0: 2: XMC setup complete.

C66xx_0: GEL Output:

DDR3 initialization is complete.

C66xx_0: GEL Output: DDR done

C66xx_0: GEL Output: DDR3 memory test... Started

C66xx_0: GEL Output: DDR3 memory test... Passed

C66xx_0: GEL Output: PLL and DDR Initialization completed(0) ...

C66xx_0: GEL Output: configSGMIISerdes Setup... Begin

C66xx_0: GEL Output:

SGMII SERDES has been configured.

C66xx_0: GEL Output: Set Board and DSP IO/Timers Pins...

C66xx_0: GEL Output: Set Board and DSP IO/Timers Pins... Done.

C66xx_0: GEL Output: Configuring CPSW ...

C66xx_0: GEL Output: Configuring CPSW ...Done

C66xx_0: GEL Output: Global Default Setup... Done.

 

[C66xx_0] ****SerDes has linked up!****

QMSS successfully initialized

CPPI successfully initialized

PA successfully initialized

TCP/IP Stack 'Hello World!' Application

 

TCP/IP Stack 'Hello World!' Application

 

PASS successfully initialized

Ethernet subsystem successfully initialized

Ethernet eventId : 48 and vectId (Interrupt) : 7

Registration of the EMAC Successful, waiting for link up ..

Network Added: If-1:10.21.0.41

 

还有另外一个问题:

TI Network Developer's Kit (NDK) v2.21文档时,说需要重新编译ndk库文件,但通过ccs进行加载时根本找不到工程,ndk目录下有相应的ndk.mak文件,所以无法对库进行重新编译。

 

开发环境 CCS 5.2

NDK 版本 ndk_2_21_01_38

附件中是修改后的工程,请查看


Viewing all articles
Browse latest Browse all 5545

Trending Articles