From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22490 invoked by alias); 23 Oct 2014 19:25:19 -0000 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 Received: (qmail 22477 invoked by uid 89); 23 Oct 2014 19:25:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 X-HELO: server15.web4a.de Received: from server15.web4a.de (HELO server15.web4a.de) (62.27.5.115) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 23 Oct 2014 19:25:17 +0000 Received: from localhost (server15.web4a.de [127.0.0.1]) by server15.web4a.de (server15.web4a.de) with ESMTP id 010258F193B1; Thu, 23 Oct 2014 21:25:00 +0200 (CEST) Received: from server15.web4a.de ([62.27.5.115]) by localhost (server15.web4a.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EC6D0AWCu2MY; Thu, 23 Oct 2014 21:24:46 +0200 (CEST) Received: from [192.168.42.15] (brln-4dba312b.pool.mediaWays.net [77.186.49.43]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server15.web4a.de (server15.web4a.de) with ESMTP id 89AD58F193B2; Thu, 23 Oct 2014 21:24:46 +0200 (CEST) User-Agent: K-9 Mail for Android In-Reply-To: <544918B9.7000601@unicore.co.ua> References: <544618E5.90101@unicore.co.ua> <54479031.9080106@unicore.co.ua> <5447C1D0.3070906@unicore.co.ua> <544918B9.7000601@unicore.co.ua> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 From: Rainer Arndt Date: Thu, 23 Oct 2014 19:25:00 -0000 To: Oleg Uzenkov ,Edgar Grimberg CC: eCos Discussion Message-ID: <5FAF7D5C-C625-44E6-BC2E-0BE847665580@ibehs.de> X-IsSubscribed: yes Subject: Re: [ECOS] small custom bootloader to start an app stored in flash X-SW-Source: 2014-10/txt/msg00042.txt.bz2 >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