Both hardware and software have to be adjusted for 32bit SDRAM access in SH7203 rsk+.
1.Hardware:SW4-10 set to OFF position, or you may refer to the attached user manual, page 13, table 6-16.
2.Software:Enable configure 'USE_32BIT_SDRAM_INTERFACE'
-In 'bus_init.h', #define USE_32BIT_SDRAM_INTERFACE
-In 'init.c', add include 'bus_init.h' or add define for 'USE_32BIT_SDRAM_INTERFACE'
-In 'bus_init.c' around line 255, please change 'BSC.UN2_BSC.SDRAM.REG_SC3WCR.LONG' to 0x00002892UL.
-You may need to comment out 'qvga_initialise()' because it will access the SPI interface which multiplex with data bus[16:31].
Hence, you may not able to use the LCD on SH7203 rsk+ if you use 32-bit SDRAM access.
阅读(1469) | 评论(0) | 转发(0) |