这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » samsung snds100 BSP出现“check sum do not m

共1条 1/1 1 跳转至

samsung snds100 BSP出现“check sum do not match”的讨论结果!

菜鸟
2002-07-19 17:42:35     打赏
我以前在坛子里面发过一篇关于samsung snds100 BSP出现“check sum do not match”的问题,但没有得到想要的结果,虽说这种警告提示对设计没有什么实质的影响,但不解决总觉得不舒服,前几天只好到google的新闻组重提此问,总算有了较清晰的线索,特帖以此,希望大家再讨论,并活跃坛子里的气氛. -------------------------------------------------------------- 所有留言及回应 Message 1 in thread 寄件者:seasoblue (seasoblue2000@yahoo.com.cn) 主旨:Check sum Error!------ Who can help me? 新闻群组:comp.os.vxworks View this article only 日期:2002-07-14 23:05:32 PST Hi,all A trouble always troubles me.My debug enviroment includes tornadoII, and Samsung snds100 board which with a arm7tdmi kernel inside. I have finished connecting target board with my tornadoII,but afer I start up my target server,I get warning messages: "TGTSVR (arm@seasoblue): Mon Jul 15 13:41:11 2002 Wind River Systems Target Server: NT/Win95 version Connecting to target agent... succeeded. Attaching C++ interface... succeeded. Attaching coff OMF reader for ARM CPU family... succeeded. Warning: Target checksum: 0xdb3d (computed from 0x1000 to 0x81114). Host checksum: 0xe96a (computed from 0x69c970 to 0x71ca84). Warning: Core file checksums do not match." oh,it tells me:checksums do not match! But my target and host do use the SAME core file(vxwork image) in the SAME directory! Could anybody give me a hint that how to configure my target server to solve this problem? Please give an example in detail ,thanks a lot ! Post a follow-up to this message Message 2 in thread 寄件者:Leonid Rosenboim (MY_FIRST_NAME@CONSULTANT.COM) 主旨:Re: Check sum Error!------ Who can help me? 新闻群组:comp.os.vxworks View this article only 日期:2002-07-15 01:51:54 PST This cold be a BSP bug (I have experience this a long time ago on some i960 BSPs from WRS). What may happen is that a variable (typically assembly, e.g. sysALib.s, romInit.s) is put by mistake into the code segment, and gets modified in run time, so its value in RAM would fiffer from its value in file. This is relatively easily fixed by anyone with BSP experience, and even easier by the person who wrote this particular BSP initially. "seasoblue" wrote in message news:e82d8e83.0207142205.33a063a2@posting.google.com... > Hi,all > A trouble always troubles me.My debug enviroment includes tornadoII, > and Samsung snds100 board which with a arm7tdmi kernel inside. > > I have finished connecting target board with my tornadoII,but afer I > start up my target server,I get warning messages: > > "TGTSVR (arm@seasoblue): Mon Jul 15 13:41:11 2002 > Wind River Systems Target Server: NT/Win95 version > Connecting to target agent... succeeded. > Attaching C++ interface... succeeded. > Attaching coff OMF reader for ARM CPU family... succeeded. > Warning: Target checksum: 0xdb3d (computed from 0x1000 to > 0x81114). > Host checksum: 0xe96a (computed from 0x69c970 to > 0x71ca84). > Warning: Core file checksums do not match." > > oh,it tells me:checksums do not match! But my target and host do use > the SAME core file(vxwork image) in the SAME directory! > Could anybody give me a hint that how to configure my target server > to solve this problem? > Please give an example in detail ,thanks a lot ! Post a follow-up to this message Message 3 in thread 寄件者:Johan Borkhuis (borkhuis@agere.com) 主旨:Re: Check sum Error!------ Who can help me? 新闻群组:comp.os.vxworks View this article only 日期:2002-07-15 04:54:17 PST seasoblue2000@yahoo.com.cn (seasoblue) wrote: > Hi,all > A trouble always troubles me.My debug enviroment includes tornadoII, > and Samsung snds100 board which with a arm7tdmi kernel inside. > > I have finished connecting target board with my tornadoII,but afer I > start up my target server,I get warning messages: > > "TGTSVR (arm@seasoblue): Mon Jul 15 13:41:11 2002 > Wind River Systems Target Server: NT/Win95 version > Connecting to target agent... succeeded. > Attaching C++ interface... succeeded. > Attaching coff OMF reader for ARM CPU family... succeeded. > Warning: Target checksum: 0xdb3d (computed from 0x1000 to > 0x81114). > Host checksum: 0xe96a (computed from 0x69c970 to > 0x71ca84). > Warning: Core file checksums do not match." > > oh,it tells me:checksums do not match! But my target and host do use > the SAME core file(vxwork image) in the SAME directory! > Could anybody give me a hint that how to configure my target server > to solve this problem? > Please give an example in detail ,thanks a lot ! This means that your target server is pointing to a different image than that is loaded on the target. Check thee configuration of the target server and check the boot parameters of your target. Groeten, Johan -- o o o o o o o . . . _____________________________ o _____ || Johan Borkhuis | .][__n_n_|DD[ ====_____ | borkhuis@agere.com | >(________|__|_[_________]_|__________________________| _/oo OOOOO oo` ooo ooo 'o!o!o o!o!o` === VxWorks FAQ: http://www.xs4all.nl/~borkhuis/vxworks/vxworks.html === Post a follow-up to this message Message 4 in thread 寄件者:Jankesh Piparia (cjp054@email.mot.com) 主旨:Re: Check sum Error!------ Who can help me? 新闻群组:comp.os.vxworks View this article only 日期:2002-07-15 10:35:28 PST This could happen if you are using a rommable version of the vxWorks. (vxWorks_rom or vxWorks_romCompress) Are you using this ? -Jankesh seasoblue wrote: > Hi,all > A trouble always troubles me.My debug enviroment includes tornadoII, > and Samsung snds100 board which with a arm7tdmi kernel inside. > > I have finished connecting target board with my tornadoII,but afer I > start up my target server,I get warning messages: > > "TGTSVR (arm@seasoblue): Mon Jul 15 13:41:11 2002 > Wind River Systems Target Server: NT/Win95 version > Connecting to target agent... succeeded. > Attaching C++ interface... succeeded. > Attaching coff OMF reader for ARM CPU family... succeeded. > Warning: Target checksum: 0xdb3d (computed from 0x1000 to > 0x81114). > Host checksum: 0xe96a (computed from 0x69c970 to > 0x71ca84). > Warning: Core file checksums do not match." > > oh,it tells me:checksums do not match! But my target and host do use > the SAME core file(vxwork image) in the SAME directory! > Could anybody give me a hint that how to configure my target server > to solve this problem? > Please give an example in detail ,thanks a lot ! Post a follow-up to this message Message 5 in thread 寄件者:seasoblue (seasoblue2000@yahoo.com.cn) 主旨:Re: Check sum Error!------ Who can help me? 新闻群组:comp.os.vxworks View this article only 日期:2002-07-17 03:01:27 PST Jankesh, I just use "vxworks" image,not "vxworks_rom" or"vxworks_romCompress". Johan, I config the core file in target server:"D:\Tornado\target\config\santai\vxWorks",and symbols:"Global symbols".In config.h file,I config the default line like this :"#define DEFAULT_BOOT_LINE \ "secEnd(0,0)aman:/tornado/target/config/santai/vxWorks h=192.168.0.110 e=192.168.0.221 u=hugh pw=0000 tn=snds100", there is only a tornado install directory in my PC,so the core file in target and host is same. Maybe What Leonid Rosenboim said is right.But would you give me and other newbie a detail explain? Best Regards, seasoblue Post a follow-up to this message Message 6 in thread 寄件者:Leonid Rosenboim (MY_FIRST_NAME@CONSULTANT.COM) 主旨:Re: Check sum Error!------ Who can help me? 新闻群组:comp.os.vxworks View this article only 日期:2002-07-17 10:23:05 PST "seasoblue" wrote in message news:e82d8e83.0207170201.49dd6680@posting.google.com... > Maybe What Leonid Rosenboim said is right.But would you give me and > other newbie a detail explain? > Best Regards, > seasoblue Let me try to explain some more: in "C" when you define a global (or static) variable, it automatically goes to either "data" or "bss" segment, so the "text" segment that contains executable code is not modified in memory after booting. But in Assembly, the source program can place variables in any segment, and this placement is done explicitly, e.g. .data .word 0x0505 /* some initialized data */ .text /* executable code */ Now, if one puts a variable or a table, or anything else that changes at run-time in the "text" segment, the TGTSVR will fail the checksum comparison of the file and memory images of this "text" segment. Other segments are not checked because it is EXECTED they will be changed in memory. I suggest you direct this to the author of your BSP. - Leonid Post a follow-up to this message Message 7 in thread 寄件者:degang (wdg@bjhhl.sina.net) 主旨:Re: Check sum Error!------ Who can help me? 新闻群组:comp.os.vxworks View this article only 日期:2002-07-16 23:59:25 PST i have the same problem; i don't know how either "seasoblue" ??????:e82d8e83.0207142205.33a063a2@posting.google.com... > Hi,all > A trouble always troubles me.My debug enviroment includes tornadoII, > and Samsung snds100 board which with a arm7tdmi kernel inside. > > I have finished connecting target board with my tornadoII,but afer I > start up my target server,I get warning messages: > > "TGTSVR (arm@seasoblue): Mon Jul 15 13:41:11 2002 > Wind River Systems Target Server: NT/Win95 version > Connecting to target agent... succeeded. > Attaching C++ interface... succeeded. > Attaching coff OMF reader for ARM CPU family... succeeded. > Warning: Target checksum: 0xdb3d (computed from 0x1000 to > 0x81114). > Host checksum: 0xe96a (computed from 0x69c970 to > 0x71ca84). > Warning: Core file checksums do not match." > > oh,it tells me:checksums do not match! But my target and host do use > the SAME core file(vxwork image) in the SAME directory! > Could anybody give me a hint that how to configure my target server > to solve this problem? > Please give an example in detail ,thanks a lot ! Post a follow-up to this message Message 8 in thread 寄件者:John Kevin Fabiani (nospam@nospam.net) 主旨:Re: Check sum Error!------ Who can help me? 新闻群组:comp.os.vxworks View this article only 日期:2002-07-17 23:37:03 PST "degang" wrote in message news:ah34kc$1c6u$1@mail.cn99.com... > i have the same problem; i don't know how either > > "seasoblue" > ??????:e82d8e83.0207142205.33a063a2@posting.google.com... > > Hi,all > > A trouble always troubles me.My debug enviroment includes tornadoII, > > and Samsung snds100 board which with a arm7tdmi kernel inside. > > > > I have finished connecting target board with my tornadoII,but afer I > > start up my target server,I get warning messages: > > > > "TGTSVR (arm@seasoblue): Mon Jul 15 13:41:11 2002 > > Wind River Systems Target Server: NT/Win95 version > > Connecting to target agent... succeeded. > > Attaching C++ interface... succeeded. > > Attaching coff OMF reader for ARM CPU family... succeeded. > > Warning: Target checksum: 0xdb3d (computed from 0x1000 to > > 0x81114). > > Host checksum: 0xe96a (computed from 0x69c970 to > > 0x71ca84). > > Warning: Core file checksums do not match." > > > > oh,it tells me:checksums do not match! But my target and host do use > > the SAME core file(vxwork image) in the SAME directory! > > Could anybody give me a hint that how to configure my target server > > to solve this problem? > > Please give an example in detail ,thanks a lot ! > > Pretty sure Leonid hit the nail on the head when he posted: "What may happen is that a variable (typically assembly, e.g. sysALib.s, romInit.s) is put by mistake into the code segment, and gets modified in run time, so its value in RAM would fiffer from its value in file. This is relatively easily fixed by anyone with BSP experience, and even easier by the person who wrote this particular BSP initially." > > Warning: Target checksum: 0xdb3d (computed from 0x1000 to 0x81114). 0x80114 > > Host checksum: 0xe96a (computed from 0x69c970 to > > 0x71ca84). 0x80114. I'd say Leonid is correct. -j Post a follow-up to this message Message 9 in thread 寄件者:David Laight (david@spamm.me.l8s.co.uk) 主旨:Re: Check sum Error!------ Who can help me? 新闻群组:comp.os.vxworks View this article only 日期:2002-07-18 01:44:01 PST > > Pretty sure Leonid hit the nail on the head when he posted: > > "What may happen is that a variable (typically assembly, e.g. sysALib.s, > romInit.s) is put by mistake into the code segment, and gets modified in run > time, so its value in RAM would fiffer from its value in file. Indeed - in my experience the checksum error doesn't matter. Provided, that is, that the target server has the correct vxworks image. (My system had always patched its own code by the time the target server could attach... I then removed the host tools support anyway - I wasn't using it.) If it has the wrong image you don't get very far! (There are no HARD checks for a few items being at the correct addresses, so the target server will just stomp all over the target if you have the wrong file.) David Post a follow-up to this message -----------------------------------------------------------------------------



关键词: samsung     snds100     出现     check         

共1条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]