From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27232 invoked by alias); 20 Jun 2012 06:19:29 -0000 Received: (qmail 27222 invoked by uid 22791); 20 Jun 2012 06:19:28 -0000 X-SWARE-Spam-Status: No, hits=3.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,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-s24.bay0.hotmail.com (HELO bay0-omc1-s24.bay0.hotmail.com) (65.54.190.35) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Jun 2012 06:19:15 +0000 Received: from BAY163-W48 ([65.54.190.60]) by bay0-omc1-s24.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 19 Jun 2012 23:19:15 -0700 Message-ID: From: tangwei To: Date: Wed, 20 Jun 2012 06:19:00 -0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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: [ECOS] kinetis kwikstik redboot trouble X-SW-Source: 2012-06/txt/msg00015.txt.bz2 Dear all,=A0 =A0=A0Have troubles with Kinetis kwikstik when use redboot RAM= startup .=A0 =A0=A0I am a freshman to eCos,below is the steps about my tro= ubles: 1. use the last CVS-eCos build the redboot from the template with no change= s,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 fr= om address 0x00;4. reset kwikstik,the redboot can startup successful.=A0now= 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 mini= com,after the kwikstik start successful from flash, and give the "RedBoot >= " as below:=A0 =A0=A0=A0 =A0 RedBoot(tm) bootstrap and debug environment [R= OM] =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 =A0 Non-= certified release, version UNKNOWN - built 10:12:01, Jun 14 2012 =A0 =A0 = =A0 =A0 =A0=A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0=A0 =A0 Copyright (C) 2000, 2001, 2002, 2003, 2004,= 2005, 2006, 2007, 2008, 2009 =A0 =A0 =A0=A0=A0 =A0 Free Software Foundatio= n, Inc. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0 =A0 RedBoot is free software, covered by= the eCos license, derived from the =A0 =A0 =A0 =A0=A0 =A0 GNU General Publ= ic License. You are welcome to change it and/or distribute =A0 =A0=A0=A0 = =A0 copies of it under certain conditions. Under the license terms, RedBoot= 's =A0 =A0 =A0=A0 =A0 source code and full license terms must have been mad= e available to you. =A0 =A0 =A0=A0=A0 =A0 Redboot comes with ABSOLUTELY NO = WARRANTY.=A0 =A0=A0=A0 =A0 Platform: Freescale KwikStik (Cortex-M4) =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0 = =A0 RAM: 0x1fff8000-0x20007000 [0x1fffb6a8-0x20007000 available] =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0 =A0 RedBoot>=A0 4. in the minicom console, input command RedBoot > load -v -m ymodem,and th= en send the file redboot.bin from setp 2,=A0 the trouble becomming , it can= 't send the redboot.bin correctly,=A0 the minicom send file's diaglog is below +-----------[ymodem upload - Press CTRL-C to quit]------------+ =A0 =A0 =A0= =A0|Sending: redboot.bin =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0=A0|Ymodem sectors/kbytes sent= : =A0 0/ 0kRetry 0: NAK on sector =A0 =A0| =A0 =A0 =A0=A0|Ymodem sectors/kb= ytes sent: =A0 2/ 0kRetry 0: Cancelled =A0 =A0 =A0 =A0| =A0 =A0 =A0=A0| =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 = =A0=A0|Transfer incomplete =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0=A0| =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | =A0 =A0=A0| READY: press any key to = continue... =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |+-------------= ------------------------------------------------+ =A0=A0 after press any key,the console gives below: RedBoot> load -v -m ymodem =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0CUnrecognized ima= ge type: 0x20008000 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0xyzModem - CRC mode, 3(SOH)/0(STX)/0(CAN) pa= ckets, 3 retries =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0RedBoot>=A0 That's all, can anybody please help me? Are there any steps I did above wer= e wrong? ThanksOr could anyone give me the right steps to startup redboot f= rom RAM?=20=09=09=20=09=20=20=20=09=09=20=20 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss