public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: tangwei <tziang@hotmail.com>
To: <ilijak@siva.com.mk>
Cc: <ecos-discuss@ecos.sourceware.org>
Subject: RE: [ECOS] kinetis kwikstik's ecos trouble
Date: Mon, 02 Jul 2012 05:52:00 -0000	[thread overview]
Message-ID: <BAY163-W53B7BA9A2AE60241411DD2C0EA0@phx.gbl> (raw)
In-Reply-To: <4FEED299.6000001@siva.com.mk>


Dear ilijak
for your advise:
> 1. With Redboot you should load the elf file rather bin
If I use the redboot ROM startup for kwikstik, after redboot startup can I download the example app,such as hello.elf into the kwikstik's RAM,
and then use the redboot's go command to execute the app? 
If above can work,can you give me the correct command,thanks a lot.



----------------------------------------
> Date: Sat, 30 Jun 2012 12:19:05 +0200
> From: ilijak@siva.com.mk
> To: tziang@hotmail.com
> CC: ecos-discuss@ecos.sourceware.org
> Subject: Re: [ECOS] kinetis kwikstik's ecos trouble
>
> On 28.06.2012 05:22, tangwei wrote:
> > Thanks, I have used the Makefile provided with examples,now they can run successfully.
> > but when I want to try a example,I must use J-LINK to download the binfile into kwikstik's flash.
> > Is there any easy methods to do this by the redboot,such as use the redboot's load command,
> > first load the file into RAM,then use the redboot's go command to execute the example app,
> > if the app work successfully,then use J-LINK to download into flash.
> > I have try this way,setp1. download redboot ROM startup for Kwikstik,and get the below info when redboot startup
> > Platform: Freescale KwikStik (Cortex-M4) RAM: 0x1fff8000-0x20007000 [0x1fffb6a8-0x20007000 available]
> > step2. download the example app twothreads.bin,use
> > RedBoot> load -v -m ymodem CCUnrecognized image type: 0x20008000 xyzModem - CRC mode, 4(SOH)/0(STX)/0(CAN) packets, 4 retries
> > then tryRedBoot> load -r -m ymodem -b 0x1fffb6a8 CRaw file loaded 0x1fffb6a8-0x20000ae7, assumed entry at 0x1fffb6a8 xyzModem - CRC mode, 172(SOH)/0(STX)/0(CAN) packets, 4 retries RedBoot> go -c 0x1fffb6a8 $T050f:a8b6ff1f;0d:e86f0020;#5c
> > both seems fail
>
> There are 2 issues:
>
> 1. With Redboot you should load the elf file rather bin.
>
> 2. I assume you are using SRAM startup type for twothreads and it's not
> intended for loading with Redboot. You should instead use J-link with
> some GDB server. OpenOCD is known to work.
>
> I hope this helps
>
> Ilija
>
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
 		 	   		  

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2012-07-02  5:52 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-20  6:19 [ECOS] kinetis kwikstik redboot trouble tangwei
2012-06-20  6:25 ` tangwei
2012-06-20 11:18 ` Ilija Kocho
2012-06-21  1:00   ` tangwei
2012-06-21  6:36     ` Ilija Kocho
2012-06-26  6:39       ` [ECOS] kinetis kwikstik's ecos trouble tangwei
2012-06-26  8:26         ` Ilija Kocho
2012-06-26  9:07           ` tangwei
2012-06-26 10:27         ` Ilija Kocho
2012-06-28  3:22           ` tangwei
2012-06-30 10:19             ` Ilija Kocho
2012-07-02  5:52               ` tangwei [this message]
2012-07-03  7:10                 ` Ilija Kocho
2012-07-06  1:01                   ` [ECOS] eCos for FujitSu's MB9B506(cortex-M3) tangwei
     [not found]                   ` <BAY163-W35405946B43D33AF82284DC0B80@phx.gbl>
2012-08-21  3:56                     ` [ECOS] RE: Troubles when develop app with Kwikstik tangwei
2012-08-27  6:53                     ` [ECOS] " Ilija Kocho
2012-09-07  3:29                       ` tangwei
2012-09-07  8:48                         ` Ilija Kocho
2012-06-28  3:23           ` [ECOS] kinetis kwikstik's ecos trouble tangwei

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY163-W53B7BA9A2AE60241411DD2C0EA0@phx.gbl \
    --to=tziang@hotmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=ilijak@siva.com.mk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).