This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to make nCS3 signal connect to Lan9220 chip work successful?

Other Parts Discussed in Thread: OMAP3530

Hello everyone!

I desinged my own board with omap3530 processor and the os I choose is wnice6.0. In my own board, I use GPMC_nCS3 to connect lan9220. In EVM board, the signal is nCS5. To make my board work successful, I change the BSP code in platform.c as follow:

......

OUTREG16(&pConfig->CONTROL_PADCONF_GPMC_nCS3, (INPUT_DISABLE | PULL_INACTIVE | MUX_MODE_0));

......

 

 

// Configure CS3 for LAN, Base Address 0x15000000

OUTREG32(&pGpmc->GPMC_CONFIG1_3, BSP_GPMC_LAN_CONFIG1);

OUTREG32(&pGpmc->GPMC_CONFIG2_3, BSP_GPMC_LAN_CONFIG2);

OUTREG32(&pGpmc->GPMC_CONFIG3_3, BSP_GPMC_LAN_CONFIG3);

OUTREG32(&pGpmc->GPMC_CONFIG4_3, BSP_GPMC_LAN_CONFIG4);

OUTREG32(&pGpmc->GPMC_CONFIG5_3, BSP_GPMC_LAN_CONFIG5);

OUTREG32(&pGpmc->GPMC_CONFIG6_3, BSP_GPMC_LAN_CONFIG6);

OUTREG32(&pGpmc->GPMC_CONFIG7_3, BSP_GPMC_LAN_CONFIG7);

 

After that, I built the BSP use PB6. Now I can down the  NK to my own board via ethernet. But the NK can not boot successful. The serial output stopped as follow:

Windows CE Kernel for ARM (Thumb Enabled) Built on Nov 24 2008 at 14:58:01

OAL: COU revision 0x4

But if I remain the code of the platform.c as follow:

 

 

 

// Configure CS5 for LAN, Base Address 0x15000000

OUTREG32(&pGpmc->GPMC_CONFIG1_5, BSP_GPMC_LAN_CONFIG1);

OUTREG32(&pGpmc->GPMC_CONFIG2_5, BSP_GPMC_LAN_CONFIG2);

OUTREG32(&pGpmc->GPMC_CONFIG3_5, BSP_GPMC_LAN_CONFIG3);

OUTREG32(&pGpmc->GPMC_CONFIG4_5, BSP_GPMC_LAN_CONFIG4);

OUTREG32(&pGpmc->GPMC_CONFIG5_5, BSP_GPMC_LAN_CONFIG5);

OUTREG32(&pGpmc->GPMC_CONFIG6_5, BSP_GPMC_LAN_CONFIG6);

OUTREG32(&pGpmc->GPMC_CONFIG7_5, BSP_GPMC_LAN_CONFIG7);

 

 

Althougt I can not download NK from ethernet, the NK can boot successful via SD card. And I can see the desktop of WINCE6.0. I suspect it is the software problem. GPMC needs some other configration?

Best Regards.