Hi guys~ ^^
I had use Mistral board to study OMAP3530.
My system's operating system is VxWorks OS. And it works good.
After then, I designed new test board.
My board was eleminated DSS line, MMC2 line, CAM line, and so on.
But GPMC-CS0,1,2,3,4,5,6,7 and address, data, bus control lines are alive.
And ethernet chip connected at GPMC-CS5.
But, I can not access CS5.
When I was accessed to CS5, my code go into exception.
Because, CS5 configuration was not correctly.
But, that code was worked correctly at Mistral board.
So, I changed my circuit. I connect ethernet chip with CS4. And then, It works good.
My code is like that...
char ch = 5;
OMAP35XX_WORD_WRITE(GPMC_CFG7_CS(ch), 0x00000F2C);
OMAP35XX_WORD_WRITE(GPMC_CFG1_CS(ch), 0x00001000);
OMAP35XX_WORD_WRITE(GPMC_CFG2_CS(ch), 0x001e1e01);
OMAP35XX_WORD_WRITE(GPMC_CFG3_CS(ch), 0x00080300);
OMAP35XX_WORD_WRITE(GPMC_CFG4_CS(ch), 0x1c091c09);
OMAP35XX_WORD_WRITE(GPMC_CFG5_CS(ch), 0x04181f1f);
OMAP35XX_WORD_WRITE(GPMC_CFG6_CS(ch), 0x00000fcf);
OMAP35XX_WORD_WRITE(GPMC_CFG7_CS(ch), 0x00000F6C);
And I access 0x2C000000. But My code go to exception.
I guess, it is not software problem.
GPMC needs some hardware configration?
Best Regards.