From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31480 invoked by alias); 20 Jun 2012 06:25:10 -0000 Received: (qmail 31452 invoked by uid 22791); 20 Jun 2012 06:25:08 -0000 X-SWARE-Spam-Status: No, hits=2.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KHOP_THREADED,MIME_CHARSET_FARAWAY,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_BJ,TW_JC,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from bay0-omc1-s4.bay0.hotmail.com (HELO bay0-omc1-s4.bay0.hotmail.com) (65.54.190.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Jun 2012 06:24:54 +0000 Received: from BAY163-W25 ([65.54.190.59]) by bay0-omc1-s4.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 19 Jun 2012 23:24:53 -0700 Message-ID: Content-Type: multipart/mixed; boundary="_f31ba4a4-93d0-4c1a-85e5-49c7a2fe0bc3_" From: tangwei To: Date: Wed, 20 Jun 2012 06:25:00 -0000 In-Reply-To: References: MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] kinetis kwikstik redboot trouble X-SW-Source: 2012-06/txt/msg00016.txt.bz2 --_f31ba4a4-93d0-4c1a-85e5-49c7a2fe0bc3_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit Content-length: 3855 please see the attached,thanks ---------------------------------------- > From: tziang@hotmail.com > To: ecos-discuss@ecos.sourceware.org > Date: Wed, 20 Jun 2012 14:19:15 +0800 > Subject: [ECOS] kinetis kwikstik redboot trouble > > > Dear all,¨¢ ¨¢¨¢Have troubles with Kinetis kwikstik when use redboot RAM startup .¨¢ ¨¢¨¢I am a freshman to eCos,below is the steps about my troubles: > 1. use the last CVS-eCos build the redboot from the template with no changes,and get the redboot.elf;2. use arm-eabi-objcopy to get the redboot.bin;3. use the J-link commander to download the redboot.bin in kwikstik' flash from address 0x00;4. reset kwikstik,the redboot can startup successful.¨¢now I want to try the RAM startup for redboot1. same as above's step 1, I only change the template's start-up option from ROM startup to SRAM startup,get the redboot.elf;2. use arm-eabi-objcopy to get the redboot.bin;3. use minicom,after the kwikstik start successful from flash, and give the "RedBoot >" as below:¨¢ ¨¢¨¢¨¢ ¨¢ RedBoot(tm) bootstrap and debug environment [ROM] ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢¨¢ ¨¢ Non-certified release, version UNKNOWN - built 10:12:01, Jun 14 2012 ¨¢ ¨¢ ¨¢ ¨¢ ¨¢¨¢¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢¨¢ ¨¢ Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 ¨¢ ¨¢ ¨¢¨¢¨¢ ¨¢ Free Software Foundation, Inc. ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢¨¢¨¢ ¨¢ RedBoot is free software, covered by the eCos license, derived from the ¨¢ ¨¢ ¨¢ ¨¢¨¢ ¨¢ GNU General Public License. You are welcome to change it and/or distribute ¨¢ ¨¢¨¢¨¢ ¨¢ copies of it under certain conditions. Under the license terms, RedBoot's ¨¢ ¨¢ ¨¢¨¢ ¨¢ source code and full license terms must have been made available to you. ¨¢ ¨¢ ¨¢¨¢¨¢ ¨¢ Redboot comes with ABSOLUTELY NO WARRANTY.¨¢ ¨¢¨¢¨¢ ¨¢ Platform: Freescale KwikStik (Cortex-M4) ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢¨¢¨¢ ¨¢ RAM: 0x1fff8000-0x20007000 [0x1fffb6a8-0x20007000 available] ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢¨¢¨¢ ¨¢ RedBoot>¨¢ > 4. in the minicom console, input command RedBoot > load -v -m ymodem,and then send the file redboot.bin from setp 2,¨¢ the trouble becomming , it can't send the redboot.bin correctly,¨¢ > the minicom send file's diaglog is below > +-----------[ymodem upload - Press CTRL-C to quit]------------+ ¨¢ ¨¢ ¨¢¨¢|Sending: redboot.bin ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ | ¨¢ ¨¢ ¨¢¨¢|Ymodem sectors/kbytes sent: ¨¢ 0/ 0kRetry 0: NAK on sector ¨¢ ¨¢| ¨¢ ¨¢ ¨¢¨¢|Ymodem sectors/kbytes sent: ¨¢ 2/ 0kRetry 0: Cancelled ¨¢ ¨¢ ¨¢ ¨¢| ¨¢ ¨¢ ¨¢¨¢| ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ | ¨¢ ¨¢ ¨¢¨¢|Transfer incomplete ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ | ¨¢ ¨¢ ¨¢¨¢| ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ | ¨¢ ¨¢¨¢| READY: press any key to continue... ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ |+-------------------------------------------------------------+ ¨¢¨¢ > after press any key,the console gives below: > RedBoot> load -v -m ymodem ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢¨¢CUnrecognized image type: 0x20008000 ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢¨¢xyzModem - CRC mode, 3(SOH)/0(STX)/0(CAN) packets, 3 retries ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢ ¨¢¨¢RedBoot>¨¢ > That's all, can anybody please help me? Are there any steps I did above were wrong? ThanksOr could anyone give me the right steps to startup redboot from RAM? > > -- > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss > --_f31ba4a4-93d0-4c1a-85e5-49c7a2fe0bc3_ Content-Type: text/plain Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="troubles.txt" Content-length: 4262 RGVhciBhbGwsDQogICAgDQpIYXZlIHRyb3VibGVzIHdpdGggS2luZXRpcyBr d2lrc3RpayB3aGVuIHVzZSByZWRib290IFJBTSBzdGFydHVwIC4NCiAgICAN CkkgYW0gYSBmcmVzaG1hbiB0byBlQ29zLGJlbG93IGlzIHRoZSBzdGVwcyBh Ym91dCBteSB0cm91YmxlczoNCg0KMS4gdXNlIHRoZSBsYXN0IENWUy1lQ29z IGJ1aWxkIHRoZSByZWRib290IGZyb20gdGhlIHRlbXBsYXRlIHdpdGggbm8g Y2hhbmdlcyxhbmQgZ2V0IHRoZSByZWRib290LmVsZjsNCjIuIHVzZSBhcm0t ZWFiaS1vYmpjb3B5IHRvIGdldCB0aGUgcmVkYm9vdC5iaW47DQozLiB1c2Ug dGhlIEotbGluayBjb21tYW5kZXIgdG8gZG93bmxvYWQgdGhlIHJlZGJvb3Qu YmluIGluIGt3aWtzdGlrJyBmbGFzaCBmcm9tIGFkZHJlc3MgMHgwMDsNCjQu IHJlc2V0IGt3aWtzdGlrLHRoZSByZWRib290IGNhbiBzdGFydHVwIHN1Y2Nl c3NmdWwuDQogDQpub3cgSSB3YW50IHRvIHRyeSB0aGUgUkFNIHN0YXJ0dXAg Zm9yIHJlZGJvb3QNCjEuIHNhbWUgYXMgYWJvdmUncyBzdGVwIDEsIEkgb25s eSBjaGFuZ2UgdGhlIHRlbXBsYXRlJ3Mgc3RhcnQtdXAgb3B0aW9uIGZyb20g Uk9NIHN0YXJ0dXAgdG8gU1JBTSBzdGFydHVwLGdldCB0aGUgcmVkYm9vdC5l bGY7DQoyLiB1c2UgYXJtLWVhYmktb2JqY29weSB0byBnZXQgdGhlIHJlZGJv b3QuYmluOw0KMy4gdXNlIG1pbmljb20sYWZ0ZXIgdGhlIGt3aWtzdGlrIHN0 YXJ0IHN1Y2Nlc3NmdWwgZnJvbSBmbGFzaCwgYW5kIGdpdmUgdGhlICJSZWRC b290ID4iIGFzIGJlbG93Og0KICAgIA0KICAgIFJlZEJvb3QodG0pIGJvb3Rz dHJhcCBhbmQgZGVidWcgZW52aXJvbm1lbnQgW1JPTV0gICAgICAgICAgICAg ICAgICAgICAgICAgICAgICANCiAgICBOb24tY2VydGlmaWVkIHJlbGVhc2Us IHZlcnNpb24gVU5LTk9XTiAtIGJ1aWx0IDEwOjEyOjAxLCBKdW4gMTQgMjAx MiAgICAgICAgICAgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgDQogICAgQ29weXJpZ2h0IChDKSAyMDAwLCAyMDAxLCAyMDAyLCAyMDAz LCAyMDA0LCAyMDA1LCAyMDA2LCAyMDA3LCAyMDA4LCAyMDA5ICAgICAgIA0K ICAgIEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbiwgSW5jLiAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCiAgICBS ZWRCb290IGlzIGZyZWUgc29mdHdhcmUsIGNvdmVyZWQgYnkgdGhlIGVDb3Mg bGljZW5zZSwgZGVyaXZlZCBmcm9tIHRoZSAgICAgICAgDQogICAgR05VIEdl bmVyYWwgUHVibGljIExpY2Vuc2UuIFlvdSBhcmUgd2VsY29tZSB0byBjaGFu Z2UgaXQgYW5kL29yIGRpc3RyaWJ1dGUgICAgIA0KICAgIGNvcGllcyBvZiBp dCB1bmRlciBjZXJ0YWluIGNvbmRpdGlvbnMuIFVuZGVyIHRoZSBsaWNlbnNl IHRlcm1zLCB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XRyeSAwOiBDYW5jZWxsZWQg ICAgICAgIHwgICAgICAgDQp8ICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8 ICAgICAgIA0KfFRyYW5zZmVyIGluY29tcGxldGUgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgICAgICANCnwg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgfCAgICAgDQp8IFJFQURZOiBwcmVzcyBhbnkga2V5 IHRvIGNvbnRpbnVlLi4uICAgICAgICAgICAgICAgICAgICAgICAgIHwNCist LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tKyAgIA0KDQphZnRlciBwcmVzcyBhbnkga2V5LHRo ZSBjb25zb2xlIGdpdmVzIGJlbG93Og0KDQpSZWRCb290PiBsb2FkIC12IC1t IHltb2RlbSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgDQpDVW5yZWNvZ25pemVkIGltYWdlIHR5cGU6IDB4 MjAwMDgwMDAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgDQp4eXpNb2RlbSAtIENSQyBtb2RlLCAzKFNPSCkvMChTVFgpLzAo Q0FOKSBwYWNrZXRzLCAzIHJldHJpZXMgICAgICAgICAgICAgICAgICAgDQpS ZWRCb290PiANCg0KVGhhdCdzIGFsbCwgY2FuIGFueWJvZHkgcGxlYXNlIGhl bHAgbWU/IEFyZSB0aGVyZSBhbnkgc3RlcHMgSSBkaWQgYWJvdmUgd2VyZSB3 cm9uZz8gVGhhbmtzDQpPciBjb3VsZCBhbnlvbmUgZ2l2ZSBtZSB0aGUgcmln aHQgc3RlcHMgdG8gc3RhcnR1cCByZWRib290IGZyb20gUkFNPw== --_f31ba4a4-93d0-4c1a-85e5-49c7a2fe0bc3_ Content-Type: text/plain; charset=us-ascii Content-length: 148 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss --_f31ba4a4-93d0-4c1a-85e5-49c7a2fe0bc3_--