playeboy 发表于 2013-4-15 10:24:03

求带CAN驱动的wince烧写文件

求带CAN驱动的wince烧写文件,谁有能给我发一份。邮箱godofking_lxl@yahoo.com.cn
论坛上有好多人问WINCE下的CAN驱动问题,怎么就是没有现成的烧写文件呢?
希望版主能传一个统这样的烧写文件

playeboy 发表于 2013-4-15 19:37:37

怎么没人啊???????????????:(:(:(:(

飞凌-unix 发表于 2013-4-16 08:57:55

楼主你可以从配件模块资料包中找到can的资料,里面有驱动程序

playeboy 发表于 2013-4-16 19:12:27

用配件模块资料包里的一键烧写后不能正常启动,烧写时串口上报内容如下:
Welcome! This tool just for TE/OK6410
+OALArgsInit()
SocID:0x36410101
Arguments area is initialized
-OALArgsInit()
INFO: (unsigned)C_IsrHandler : 0x8008095C
INFO: (unsigned)ASM_IsrHandler : 0x80084018
INFO: (unsigned)pISR : 0xEA020FFE
HSMMC init
Setting registers for the EPLL (for SDCLK) : SYSCon.
Setting registers for the GPIO.
Setting registers for the EPLL : HSMMCCon.
#### this SD card is made on SPEC 2.0
This SD card is made on SPEC 2.0
This SD card is High Capacity

CardSize: 7741440 sector
ClockConfig() Card Working Frequency = 24MHz
BP_Init
++FMD_Init() ****
FMD_Init() : Read ID = 0x0000ecd7
FMD_Init() : NUM_OF_BLOCKS = 8192
FMD_Init() : PAGES_PER_BLOCK = 128
FMD_Init() : SECTORS_PER_PAGE = 8
--FMD_Init()
FMD_GetInfo() : NUMBLOCKS = 8192(0x2000), SECTORSPERBLOCK = 128(0x80), BYTESPERSECTOR = 4096(0x1000)
FMD_GetInfo() : NUMBLOCKS = 8192(0x2000), SECTORSPERBLOCK = 128(0x80), BYTESPERSECTOR = 4096(0x1000)
wNUM_BLOCKS : 8192(0x2000)
++InitializeDisplay()
--InitializeDisplay()
Press to launch image stored on boot media, or to enter boot monitor.

Initiating image launch in 0 seconds.

Starting auto-download ...
Erasethe block '0..3'
System ready!
Preparing for download...
IsCardInserted
f_mount return = 0x0
FileInfo.fsize = 0x2000
FileInfo.fsize = 0x2000
FileInfo.fsize = 0x2000
g_pDownPt = 0xA300211B

BL_IMAGE_TYPE_MANIFEST


BL_IMAGE_TYPE_UNKNOWN


Download BIN file information:
-----------------------------------------------------
: Base Address=0x0Length=0x2000
-----------------------------------------------------
Stepldr image
ImageStart = 0x0, ImageLength = 0x2000, LaunchAddr = 0x0

Completed file(s):
-------------------------------------------------------------------------------
: Address=0x0Length=0x2000Name="stepldr.nb0" Target=RAM
BP_InitiSighForSlcMlc = 1
++FMD_Init() ****
FMD_Init() : Read ID = 0x0000ecd7
FMD_Init() : NUM_OF_BLOCKS = 8192
FMD_Init() : PAGES_PER_BLOCK = 128
FMD_Init() : SECTORS_PER_PAGE = 8
--FMD_Init()
FMD_GetInfo() : NUMBLOCKS = 8192(0x2000), SECTORSPERBLOCK = 8(0x8), BYTESPERSECTOR = 2048(0x800)
dwImageLength = 0x2000
dwNumBlocks = 0x1
dwBlock(0x0) X g_FlashInfo.wSectorsPerBlock(0x8) = 0x0
dwBytesPerBlock : 16384
INFO: Step loader image stored to Smart Media.Please Reboot.Halting...
IsCardInserted
FileInfo.fsize = 0x1C813
FileInfo.fsize = 0x1C813
g_pDownPt = 0xA301C813

BL_IMAGE_TYPE_BIN


Download BIN file information:
-----------------------------------------------------
: Base Address=0x80030000Length=0x1d86c
-----------------------------------------------------
Eboot image
rom_offset=0x0.
ImageStart = 0x80030000, ImageLength = 0x1D86C, LaunchAddr = 0x800420B8

Completed file(s):
-------------------------------------------------------------------------------
: Address=0x80030000Length=0x1D86CName="" Target=RAM
ROMHDR at Address 80030044h
BP_InitiSighForSlcMlc = 0
++FMD_Init() ****
FMD_Init() : Read ID = 0x0000ecd7
FMD_Init() : NUM_OF_BLOCKS = 8192
FMD_Init() : PAGES_PER_BLOCK = 128
FMD_Init() : SECTORS_PER_PAGE = 8
--FMD_Init()
FMD_GetInfo() : NUMBLOCKS = 8192(0x2000), SECTORSPERBLOCK = 128(0x80), BYTESPERSECTOR = 4096(0x1000)
dwImageLength = 0x1d86c
dwNumBlocks = 0x1
dwBlock(0x2) X g_FlashInfo.wSectorsPerBlock(0x80) = 0x100
dwBytesPerBlock : 524288
TOC {
dwSignature: 0x434F544E
BootCfg {
ConfigFlags: 0x20830
BootDelay: 0x2
ImageIndex: 1
IP: 0.0.0.0
MAC Address: 00:00:00:00:00:00
Port: 0.0.0.0
SubnetMask: 255.255.255.0
}
ID {
dwVersion: 0x20004
dwSignature: 0x45424F54
String: 'eboot.nb0'
dwImageType: 0x2
dwTtlSectors: 0x1E
dwLoadAddress: 0x80030000
dwJumpAddress: 0x800420B8
dwStoreOffset: 0x0
sgList.dwSector: 0x100
sgList.dwLength: 0x1E
}
ID {
dwVersion: 0x1
dwSignature: 0x43465348
String: ''
dwImageType: 0x2
dwTtlSectors: 0x2408
dwLoadAddress: 0x80150000
dwJumpAddress: 0x80157734
dwStoreOffset: 0x0
sgList.dwSector: 0x380
sgList.dwLength: 0x2408
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
INFO: Eboot image stored to Smart Media.Please Reboot.Halting...
Reserving Blocks ...
...reserve complete.
Enter LowLevelFormat .
WriteMBR: MBR block = 0x3.
Done.

BinFS format done.
IsCardInserted
FileInfo.fsize = 0x23679BF
FileInfo.fsize = 0x23679BF
g_pDownPt = 0xA53679BF

BL_IMAGE_TYPE_BIN


Download BIN file information:
-----------------------------------------------------
: Base Address=0x80150000Length=0x2407708
-----------------------------------------------------
RAM image
rom_offset=0x0.
ImageStart = 0x80150000, ImageLength = 0x2407708, LaunchAddr = 0x80157734

Completed file(s):
-------------------------------------------------------------------------------
: Address=0x80150000Length=0x2407708Name="" Target=RAM
ROMHDR at Address 80150044h
+WriteOSImageToBootMedia: g_dwTocEntry =1, ImageStart: 0x80150000, ImageLength: 0x2407708, LaunchAddr:0x80157734
INFO: OEMLaunch: Found chain extenstion: '' @ 0x80150000
Writing single region/multi-region update, dwBINFSPartLength: 37779208
IsValidMBR: block = 0x0.
IsValidMBR: block = 0x1.
IsValidMBR: block = 0x2.
IsValidMBR: MBR sector = 0x180 (valid MBR)
OpenPartition: Partition Exists=0x0 for part 0x21.
CreatePartition: Enter CreatePartition for 0x21.
LastLogSector: Last log sector is: 0xffd7f.
CreatePartition: Start = 0x200, Num = 0x2480.
Log2Phys: Logical 0x200 -> Physical 0x380
WriteMBR: MBR block = 0x3.
BP_SetDataPointer at 0x0
Log2Phys: Logical 0x200 -> Physical 0x380
########################################################################
Write OS to Nand Flash finished!!!
Updated TOC!
IsValidMBR: block = 0x0.
IsValidMBR: block = 0x1.
IsValidMBR: block = 0x2.
IsValidMBR: MBR sector = 0x180 (valid MBR)
OpenPartition: Partition Exists=0x0 for part 0xb.
CreatePartition: Enter CreatePartition for 0xb.
FindFreeSector: FreeSector is: 0x2680 after processing part 0x21.
CreatePartition: Num sectors set to 0xfcd00 to allow for compaction blocks.
CreatePartition: Start = 0x2680, Num = 0xfcd00.
WriteMBR: MBR block = 0x3.
TOC {
dwSignature: 0x434F544E
BootCfg {
ConfigFlags: 0x20830
BootDelay: 0x2
ImageIndex: 1
IP: 0.0.0.0
MAC Address: 00:00:00:00:00:00
Port: 0.0.0.0
SubnetMask: 255.255.255.0
}
ID {
dwVersion: 0x20004
dwSignature: 0x45424F54
String: 'eboot.nb0'
dwImageType: 0x2
dwTtlSectors: 0x1E
dwLoadAddress: 0x80030000
dwJumpAddress: 0x800420B8
dwStoreOffset: 0x0
sgList.dwSector: 0x100
sgList.dwLength: 0x1E
}
ID {
dwVersion: 0x1
dwSignature: 0x43465348
String: ''
dwImageType: 0x2
dwTtlSectors: 0x2408
dwLoadAddress: 0x80150000
dwJumpAddress: 0x80157734
dwStoreOffset: 0x0
sgList.dwSector: 0x380
sgList.dwLength: 0x2408
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
waitforconnect
INFO: using TOC dwJumpAddress: 0x80157734
Success!
SpinForever...
++InitializeDisplay()
--InitializeDisplay()


启动时内容如下:


WinCE 6.0 Steploader for SMDK6410

Launch Eboot...


Microsoft Windows CE Bootloader Common Library Version 1.4 Built Jun 23 2011 11:51:33
Microsoft Windows CE Bootloader for the Samsung SMDK6410 Version 2.4 Built Dec7 2010

+OALArgsInit()
SocID:0x36410101
Arguments area is initialized
-OALArgsInit()
INFO: (unsigned)C_IsrHandler : 0x8003FEB8
INFO: (unsigned)ASM_IsrHandler : 0x800424A0
INFO: (unsigned)pISR : 0xEA010920
BP_Init
++FMD_Init() ****
FMD_Init() : Read ID = 0x0000ecd7
FMD_Init() : Unknown ID = 0x0000ecd7
WARNING: OEMPlatformInit failed to initialize Boot Media.
FMD_GetInfo() : NUMBLOCKS = 0(0x0), SECTORSPERBLOCK = 0(0x0), BYTESPERSECTOR = 0(0x0)
wNUM_BLOCKS : 0(0x0)
TOC_Read
TOC_Read ERROR: no boot media
TOC_Init: dwEntry:1, dwImageType: 0x2, dwImageStart: 0x0, dwImageLength: 0x0, dwLaunchAddr: 0x0
+BootConfigInit
-BootConfigInit
TOC {
dwSignature: 0x434F544E
BootCfg {
ConfigFlags: 0x10020
BootDelay: 0x5
ImageIndex: 1
IP: 0.0.0.0
MAC Address: 00:00:00:00:00:00
Port: 0.0.0.0
SubnetMask: 255.255.255.0
}
ID {
dwVersion: 0x20004
dwSignature: 0x45424F54
String: 'eboot.nb0'
dwImageType: 0x2
dwTtlSectors: 0x400
dwLoadAddress: 0x80030000
dwJumpAddress: 0x80030000
dwStoreOffset: 0x0
sgList.dwSector: 0x40
sgList.dwLength: 0x400
}
ID {
dwVersion: 0x1
dwSignature: 0x43465348
String: ''
dwImageType: 0x2
dwTtlSectors: 0x0
dwLoadAddress: 0x0
dwJumpAddress: 0x0
dwStoreOffset: 0x0
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
++InitializeDisplay()
--InitializeDisplay()
Press to download image stored on boot media, or to enter boot monitor.

Initiating image download in 0 seconds.

Starting auto-download ...
DM9000 ID is 0x90000a46
INFO: Probe: DM9000 is detected.
DM9000: MAC Address: 0:0:0:0:0:0
ERROR: InitEthDevice: Invalid MAC address.
ERROR: OEMPlatformInit: Failed to initialize Ethernet controller.
停止到这儿了,屏幕显示好多彩色条啊
:L:L:L:L:L:L:L:L:L:L

playeboy 发表于 2013-4-21 23:09:38

模块资料包中WINCE的烧写文件有问题,请注意检查,EBOOT.bin造成不能正常启动,也没有带SPI对CAN 的驱动,请版主和技术人员检查1
谁有带CAN驱动的烧写文件发个我一份吧!感激不尽

playeboy 发表于 2013-4-25 12:45:13

怎么没人啊??????:dizzy::dizzy::dizzy::dizzy:

飞凌-unix 发表于 2013-4-25 13:41:21

楼主你是很么板子啊

飞凌-路飞 发表于 2013-4-26 16:55:28

有测试程序,和源码

飞凌-路飞 发表于 2013-4-26 16:55:59

楼主要是要直接m我:):):)

playeboy 发表于 2013-4-26 21:20:42

飞凌-路飞 发表于 2013-4-26 16:55 static/image/common/back.gif
楼主要是要直接m我

能发到我的邮箱里吗?太感谢啦
我的板子是OK6410-A 的256RAM,4GFLASH
我想在用wince下用CAN转接板来通信

playeboy 发表于 2013-4-27 12:23:34

我自己编译的内核烧写也是不能正常启动,也是停到下面的信息描述的位置
DM9000 ID is 0x90000a46
INFO: Probe: DM9000 is detected.
DM9000: MAC Address: 0:0:0:0:0:0
ERROR: InitEthDevice: Invalid MAC address.
ERROR: OEMPlatformInit: Failed to initialize Ethernet controller.
停止到这儿了,屏幕显示好多彩色条啊

请版主帮忙,改怎么办啊?

飞凌-路飞 发表于 2013-5-20 10:26:49

有can的驱动的修改方法,spi驱动程序,还有can的测试程序。发邮箱太大了吧!楼主有qq吗
页: [1]
查看完整版本: 求带CAN驱动的wince烧写文件