嵌入式爱好者

查看: 7035|回复: 11

求带CAN驱动的wince烧写文件

[复制链接]

4

主题

65

帖子

91

积分

扫一扫,手机访问本帖
发表于 2013-4-15 10:24:03 | 显示全部楼层 |阅读模式
求带CAN驱动的wince烧写文件,谁有能给我发一份。邮箱godofking_lxl@yahoo.com.cn
论坛上有好多人问WINCE下的CAN驱动问题,怎么就是没有现成的烧写文件呢?
希望版主能传一个统这样的烧写文件
回复

使用道具 举报

4

主题

65

帖子

91

积分

 楼主| 发表于 2013-4-15 19:37:37 | 显示全部楼层
怎么没人啊???????????????:(:(:(:(
该会员没有填写今日想说内容.
点评回复 支持 反对

使用道具 举报

153

主题

3910

帖子

4207

积分

AM5718通行证AM335x通行证i.MX6UL通行证i.MX RT通行证i.MX6Q通行证XX18通行证TCU通行证FCU1401通行证FCU1301通行证FCU11xx通行证

发表于 2013-4-16 08:57:55 | 显示全部楼层
楼主你可以从配件模块资料包中找到can的资料,里面有驱动程序
技术支持电话:0312-3119192
技术支持邮箱:Linux@forlinx.com
点评回复 支持 反对

使用道具 举报

4

主题

65

帖子

91

积分

 楼主| 发表于 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
[HSMMC1] Setting registers for the EPLL (for SDCLK) : SYSCon.
[HSMMC0] Setting registers for the GPIO.
[HSMMC1] 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
[HSMMCLIB:INF] ClockConfig() Card Working Frequency = 24MHz
BP_Init
[FMD] ++FMD_Init() ****
[FMD:INF] FMD_Init() : Read ID = 0x0000ecd7
[FMD] FMD_Init() : NUM_OF_BLOCKS = 8192
[FMD] FMD_Init() : PAGES_PER_BLOCK = 128
[FMD] FMD_Init() : SECTORS_PER_PAGE = 8
[FMD] --FMD_Init()
[FMD] FMD_GetInfo() : NUMBLOCKS = 8192(0x2000), SECTORSPERBLOCK = 128(0x80), BYTESPERSECTOR = 4096(0x1000)
[FMD] FMD_GetInfo() : NUMBLOCKS = 8192(0x2000), SECTORSPERBLOCK = 128(0x80), BYTESPERSECTOR = 4096(0x1000)
wNUM_BLOCKS : 8192(0x2000)
[Eboot] ++InitializeDisplay()
[Eboot] --InitializeDisplay()
Press [ENTER] to launch image stored on boot media, or [SPACE] to enter boot monitor.

Initiating image launch in 0 seconds.

Starting auto-download ...
Erase  the 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:
-----------------------------------------------------
[0]: Base Address=0x0  Length=0x2000
-----------------------------------------------------
Stepldr image
ImageStart = 0x0, ImageLength = 0x2000, LaunchAddr = 0x0

Completed file(s):
-------------------------------------------------------------------------------
[0]: Address=0x0  Length=0x2000  Name="stepldr.nb0" Target=RAM
BP_Init  iSighForSlcMlc = 1
[FMD] ++FMD_Init() ****
[FMD:INF] FMD_Init() : Read ID = 0x0000ecd7
[FMD] FMD_Init() : NUM_OF_BLOCKS = 8192
[FMD] FMD_Init() : PAGES_PER_BLOCK = 128
[FMD] FMD_Init() : SECTORS_PER_PAGE = 8
[FMD] --FMD_Init()
[FMD] 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:
-----------------------------------------------------
[0]: Base Address=0x80030000  Length=0x1d86c
-----------------------------------------------------
Eboot image
rom_offset=0x0.
ImageStart = 0x80030000, ImageLength = 0x1D86C, LaunchAddr = 0x800420B8

Completed file(s):
-------------------------------------------------------------------------------
[0]: Address=0x80030000  Length=0x1D86C  Name="" Target=RAM
ROMHDR at Address 80030044h
BP_Init  iSighForSlcMlc = 0
[FMD] ++FMD_Init() ****
[FMD:INF] FMD_Init() : Read ID = 0x0000ecd7
[FMD] FMD_Init() : NUM_OF_BLOCKS = 8192
[FMD] FMD_Init() : PAGES_PER_BLOCK = 128
[FMD] FMD_Init() : SECTORS_PER_PAGE = 8
[FMD] --FMD_Init()
[FMD] 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[0] {
  dwVersion: 0x20004
  dwSignature: 0x45424F54
  String: 'eboot.nb0'
  dwImageType: 0x2
  dwTtlSectors: 0x1E
  dwLoadAddress: 0x80030000
  dwJumpAddress: 0x800420B8
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x100
  sgList[0].dwLength: 0x1E
}
ID[1] {
  dwVersion: 0x1
  dwSignature: 0x43465348
  String: ''
  dwImageType: 0x2
  dwTtlSectors: 0x2408
  dwLoadAddress: 0x80150000
  dwJumpAddress: 0x80157734
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x380
  sgList[0].dwLength: 0x2408
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
INFO: Eboot image stored to Smart Media.  Please Reboot.  Halting...
Reserving Blocks [0x0 - 0x2] ...
...reserve complete.
Enter LowLevelFormat [0x3, 0x1fff].
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:
-----------------------------------------------------
[0]: Base Address=0x80150000  Length=0x2407708
-----------------------------------------------------
RAM image
rom_offset=0x0.
ImageStart = 0x80150000, ImageLength = 0x2407708, LaunchAddr = 0x80157734

Completed file(s):
-------------------------------------------------------------------------------
[0]: Address=0x80150000  Length=0x2407708  Name="" 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[0] {
  dwVersion: 0x20004
  dwSignature: 0x45424F54
  String: 'eboot.nb0'
  dwImageType: 0x2
  dwTtlSectors: 0x1E
  dwLoadAddress: 0x80030000
  dwJumpAddress: 0x800420B8
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x100
  sgList[0].dwLength: 0x1E
}
ID[1] {
  dwVersion: 0x1
  dwSignature: 0x43465348
  String: ''
  dwImageType: 0x2
  dwTtlSectors: 0x2408
  dwLoadAddress: 0x80150000
  dwJumpAddress: 0x80157734
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x380
  sgList[0].dwLength: 0x2408
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
waitforconnect
INFO: using TOC[1] dwJumpAddress: 0x80157734
Success!
SpinForever...
[Eboot] ++InitializeDisplay()
[Eboot] --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 Dec  7 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] ++FMD_Init() ****
[FMD:INF] FMD_Init() : Read ID = 0x0000ecd7
[FMD:ERR] FMD_Init() : Unknown ID = 0x0000ecd7
WARNING: OEMPlatformInit failed to initialize Boot Media.
[FMD] 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[0] {
  dwVersion: 0x20004
  dwSignature: 0x45424F54
  String: 'eboot.nb0'
  dwImageType: 0x2
  dwTtlSectors: 0x400
  dwLoadAddress: 0x80030000
  dwJumpAddress: 0x80030000
  dwStoreOffset: 0x0
  sgList[0].dwSector: 0x40
  sgList[0].dwLength: 0x400
}
ID[1] {
  dwVersion: 0x1
  dwSignature: 0x43465348
  String: ''
  dwImageType: 0x2
  dwTtlSectors: 0x0
  dwLoadAddress: 0x0
  dwJumpAddress: 0x0
  dwStoreOffset: 0x0
}
chainInfo.dwLoadAddress: 0X00000000
chainInfo.dwFlashAddress: 0X00000000
chainInfo.dwLength: 0X00000000
}
[Eboot] ++InitializeDisplay()
[Eboot] --InitializeDisplay()
Press [ENTER] to download image stored on boot media, or [SPACE] 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
该会员没有填写今日想说内容.
点评回复 支持 反对

使用道具 举报

4

主题

65

帖子

91

积分

 楼主| 发表于 2013-4-21 23:09:38 | 显示全部楼层
模块资料包中WINCE的烧写文件有问题,请注意检查,EBOOT.bin造成不能正常启动,也没有带SPI对CAN 的驱动,请版主和技术人员检查1
谁有带CAN驱动的烧写文件发个我一份吧!感激不尽
该会员没有填写今日想说内容.
点评回复 支持 反对

使用道具 举报

4

主题

65

帖子

91

积分

 楼主| 发表于 2013-4-25 12:45:13 | 显示全部楼层
怎么没人啊??????:dizzy::dizzy::dizzy::dizzy:
该会员没有填写今日想说内容.
点评回复 支持 反对

使用道具 举报

153

主题

3910

帖子

4207

积分

AM5718通行证AM335x通行证i.MX6UL通行证i.MX RT通行证i.MX6Q通行证XX18通行证TCU通行证FCU1401通行证FCU1301通行证FCU11xx通行证

发表于 2013-4-25 13:41:21 | 显示全部楼层
楼主你是很么板子啊
技术支持电话:0312-3119192
技术支持邮箱:Linux@forlinx.com
点评回复 支持 反对

使用道具 举报

110

主题

1358

帖子

1443

积分

A40i/T3/T507/T527通行证i.MX6Q通行证i.MX6UL通行证i.MX8MM通行证i.MX8MP通行证RK3568通行证RK3588通行证RK3399通行证LS1028A通行证G2L通行证LS1012A通行证LS1043A\46A通行证TCU通行证FDU产品通行证FCU1401通行证FCU1301通行证FCU11xx通行证FCU1201通行证FCU2201通行证FCU2301/FCU2302通行证FCU2401通行证5G转接卡通行证FCU3001通行证AM5718通行证Hi3519A通信证AM335x通行证i.MX RT通行证XX18通行证AM62x资料下载FDU070K02\FDU101K02通行证i.MX9352通行证

发表于 2013-4-26 16:55:28 | 显示全部楼层
有测试程序,和源码
该会员没有填写今日想说内容.
点评回复 支持 反对

使用道具 举报

110

主题

1358

帖子

1443

积分

A40i/T3/T507/T527通行证i.MX6Q通行证i.MX6UL通行证i.MX8MM通行证i.MX8MP通行证RK3568通行证RK3588通行证RK3399通行证LS1028A通行证G2L通行证LS1012A通行证LS1043A\46A通行证TCU通行证FDU产品通行证FCU1401通行证FCU1301通行证FCU11xx通行证FCU1201通行证FCU2201通行证FCU2301/FCU2302通行证FCU2401通行证5G转接卡通行证FCU3001通行证AM5718通行证Hi3519A通信证AM335x通行证i.MX RT通行证XX18通行证AM62x资料下载FDU070K02\FDU101K02通行证i.MX9352通行证

发表于 2013-4-26 16:55:59 | 显示全部楼层
楼主要是要直接m我:):):)
该会员没有填写今日想说内容.
点评回复 支持 反对

使用道具 举报

4

主题

65

帖子

91

积分

 楼主| 发表于 2013-4-26 21:20:42 | 显示全部楼层
飞凌-路飞 发表于 2013-4-26 16:55
楼主要是要直接m我

能发到我的邮箱里吗?太感谢啦
我的板子是OK6410-A 的256RAM,4GFLASH
我想在用wince下用CAN转接板来通信
该会员没有填写今日想说内容.
点评回复 支持 反对

使用道具 举报

4

主题

65

帖子

91

积分

 楼主| 发表于 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.
停止到这儿了,屏幕显示好多彩色条啊

请版主帮忙,改怎么办啊?
该会员没有填写今日想说内容.
点评回复 支持 反对

使用道具 举报

110

主题

1358

帖子

1443

积分

A40i/T3/T507/T527通行证i.MX6Q通行证i.MX6UL通行证i.MX8MM通行证i.MX8MP通行证RK3568通行证RK3588通行证RK3399通行证LS1028A通行证G2L通行证LS1012A通行证LS1043A\46A通行证TCU通行证FDU产品通行证FCU1401通行证FCU1301通行证FCU11xx通行证FCU1201通行证FCU2201通行证FCU2301/FCU2302通行证FCU2401通行证5G转接卡通行证FCU3001通行证AM5718通行证Hi3519A通信证AM335x通行证i.MX RT通行证XX18通行证AM62x资料下载FDU070K02\FDU101K02通行证i.MX9352通行证

发表于 2013-5-20 10:26:49 | 显示全部楼层
有can的驱动的修改方法,spi驱动程序,还有can的测试程序。发邮箱太大了吧!楼主有qq吗
该会员没有填写今日想说内容.
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-23 06:47

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表