在安装了BSP之后,在vs2005上成功的编译出了FirstBoot.nb0, Eboot.nb0, nk.bin。
使用SAM-BA软件下载到板子上之后,系统启动不起来。高手看看是什么问题?
这是调试信息:
USB:OhcdPdd_Init
++InitializeOHCI
--InitializeOHCI
Master Clock is 49920000 Hz
PLLA Clock is 199680000 Hz
InitializeSSC - no settings match to obtain calibrated bit rate. Please review your PLL settings
Master Clock is 49920000 Hz
Handle Event:0x21f0003, sysintr=0x16Master Clock is 49920000 Hz
---------------------------------------
--- Configuring Chip Select 3 ---
---------------------------------------
--- Desired timings ---
---------------------------------------
dwNWE_SETUP 0
dwNCS_WR_SETUP 0
dwNRD_SETUP 0
dwNCS_RD_SETUP 0
dwNWE_PULSE 28
dwNCS_WR_PULSE 42
dwNRD_PULSE 28
dwNCS_RD_PULSE 42
dwNRD_CYCLE 56
dwNWE_CYCLE 56
dwClockPeriod_ns 20
---------------------------------------
--- Real timings ---
---------------------------------------
dwNWE_SETUP 0
dwNCS_WR_SETUP 0
dwNRD_SETUP 0
dwNCS_RD_SETUP 0
dwNWE_PULSE 40
dwNCS_WR_PULSE 60
dwNRD_PULSE 40
dwNCS_RD_PULSE 60
dwNRD_CYCLE 60
dwNWE_CYCLE 60
Master Clock is 49920000 Hz
Master Clock is 49920000 Hz
Display mode #0, 240x320x16bpp @ 0hz
Frame buffer is Uncached
Master Clock is 49920000 Hz
TOUCH:ThrdPrio = 100, ThrdHighPrio = 100
停在这里了,像是触摸屏出问题了。......
先不要勾选触摸屏驱动试试,我做9261有段时间了,欢迎外包啊
http://hi.eeworld.net/link.php?url=http://blog.eeworld.net%2Fyearafteryear
SamBa 下载应该用nk.nb0而不是nk.bin,看你的启动信息,似乎是SPI驱动启动有问题。
补充一下,其实第一次应该编一个只有显示驱动和shell的镜像,能起来的话再往上面加其它组件和驱动,不要嫌麻烦,这样做是最最保险的,可以少走很多弯路。