|
本帖最后由 areslion 于 2013-6-29 09:25 编辑
ARM开发板:TQ2440 使用WinCE6.0系统DSP开发板:DM642
使用TQ2440的系统总线和DSP的HPI连接
/*
* 使用S3C2440通过HPI-16总线接口连接DSP进行数据传输。
* 硬件连接如下:
* ARM S3c2440 DSP DM642
* PIN PIN
* DATA[0-15] <-----------------------------> HD[0-15]
* ADDR[4] ------------------------------> HR/W
* ADDR[3] ------------------------------> HCNTL1
* ADDR[2] ------------------------------> HCNTL0
* ADDR[1] ------------------------------> HHWIL
* nOE ------------------------------> HDS1
* nWE ------------------------------> HDS2
* nCS3 ------------------------------> HCS
* nWAIT <------------------------------ HRDY
* EINT1 <------------------------------ HINT
*
************************************************************************
DSP先上电,然后ARM上电,串口信息如下:
##### Eboot for TQ2440/SKY2440 #####
##### www.embedsky.net #####
Microsoft Windows CE Bootloader for TQ2440/SKY2440 Version 2.4 Built Jun 14 2013
Press [ENTER] to launch image stored on boot media, or [SPACE] to enter boot monitor.
Initiating image launch in 0 seconds.
Launching image from boot media ...
OEMPlatformInit: IMAGE_TYPE_RAMIMAGE
+=OEMVerifyMemory+ dwStartAddr:0x80200000 dwLength:0x4
RAM image 0xa 0x80200003
+=OEMVerifyMemory+ dwStartAddr:0x80201000 dwLength:0x4
RAM image 0xa 0x80201003
ReadData: failed to read sector (0x2350).
ERROR: ReadOSImageFromBootMedia: Failed to read kernel region from partition.
OEMPlatformInit ERROR: Failed to load kernel region into RAM.
DSP下电,只有ARM上电,串口打印信息如下:
##### Eboot for TQ2440/SKY2440 #####
##### www.embedsky.net #####
Microsoft Windows CE Bootloader for TQ2440/SKY2440 Version 2.4 Built Jun 14 2013
Press [ENTER] to launch image stored on boot media, or [SPACE] to enter boot monitor.
Initiating image launch in 0 seconds.
Launching image from boot media ...
OEMPlatformInit: IMAGE_TYPE_RAMIMAGE
+=OEMVerifyMemory+ dwStartAddr:0x80200000 dwLength:0x4
RAM image 0xa 0x80200003
+=OEMVerifyMemory+ dwStartAddr:0x80201000 dwLength:0x4
RAM image 0xa 0x80201003
ReadData: failed to read sector (0x2443).
ERROR: ReadOSImageFromBootMedia: Failed to read kernel region from partition.
OEMPlatformInit ERROR: Failed to load kernel region into RAM.
上述报错的信息来自于
..\WINCE600\PUBLIC\COMMON\OAK\DRIVERS\ETHDBG\BOOTPART\bootpart.cpp
中的BP_ReadData(HANDLE hPartition, LPBYTE pbBuffer, DWORD dwLength)
// Read the sector - if this fails ECC correction, we fail the whole read operation.
// Note - only single sector reads supported at the moment.
if (!FMD_ReadSector(dwSectorAddr, pbBuffer, NULL, 1))
{
RETAILMSG (1, (TEXT("ReadData: failed to read sector (0x%x).\r\n"), dwSectorAddr));
return(FALSE);
}
拔出DSP和ARM的连接ARM上电
WinCE6.0能正常启动
在TQ2440上烧Lunix系统
DSP上电,然后ARM上电,Lunix系统能正常启动
请问在WinCE6.0下
DSP和ARM连接的时候,为什么WinCE6.0不能正常的启动?
|
|