This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: small custom bootloader to start an app stored in flash
- From: Rainer Arndt <arndt at ibehs dot de>
- To: Oleg Uzenkov <o dot uzenkov at unicore dot co dot ua>,Edgar Grimberg <edgar dot grimberg at gmail dot com>
- Cc: eCos Discussion <ecos-discuss at sourceware dot org>
- Date: Thu, 23 Oct 2014 21:24:51 +0200
- Subject: Re: small custom bootloader to start an app stored in flash
- Authentication-results: sourceware.org; auth=none
- References: <544618E5 dot 90101 at unicore dot co dot ua> <CAPrjMDAi=cqTSQ-d-c9FF53W-c6=v0j8rzSLQfuTcBQUY43Zpw at mail dot gmail dot com> <54479031 dot 9080106 at unicore dot co dot ua> <CAPrjMDCiZ0Lkwfgv=dfw8fhjmZXjeLAdgHSiiK9o6RZXLM-G=g at mail dot gmail dot com> <5447C1D0 dot 3070906 at unicore dot co dot ua> <CAPrjMDBeetQ+sEYswv7dF=bcFuqpjpqOhtjfNBC+oMFuXzT_8A at mail dot gmail dot com> <CAPrjMDCdT9ddPowRvQmaKh396tYwt7yWLzKNQB+83Asi0f71jw at mail dot gmail dot com> <544918B9 dot 7000601 at unicore dot co dot ua>
>Please have a look at the terminal output:
>
>JUMPC!â11=â
>HELLO2
>
>Notice that instead of "HELLO1" a garbage (C!â11=â) is printed out.
>Where as the next HELLO2 is ok.
>
>It is either something related to diag_print() that was not initialised
>properly.
>any ideas?
>
>Thank you very much for you help!!!
>
>Oleg
Oleg,
remember the HAL initialisation code is always part of your application.
Depending on your eCos configuration, the serial device and its tx port is initialized by the bootloader and again by your application.
Rainer
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss